Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface,fileNamePrefix="Buildings_8_Buildings_Fluid_Movers_BaseClasses_Validation_FlowMachineInterface",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface,fileNamePrefix="Buildings_8_Buildings_Fluid_Movers_BaseClasses_Validation_FlowMachineInterface",fmuType="me",version="2.0",platforms={"static"}) [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.555/1.555, allocations: 289.8 MB / 297.1 MB, free: 6.684 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001024/0.001024, allocations: 173.3 kB / 366.3 MB, free: 1.996 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.514/1.514, allocations: 205.1 MB / 0.6256 GB, free: 7.449 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009572/0.0009572, allocations: 92.14 kB / 0.7395 GB, free: 39.89 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2872/0.2882, allocations: 122.4 MB / 0.8591 GB, free: 13.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7004/0.9886, allocations: 116.3 MB / 0.9727 GB, free: 76.16 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1855/1.174, allocations: 150.2 MB / 1.119 GB, free: 228 kB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002168/1.174, allocations: 85.36 kB / 1.119 GB, free: 144 kB / 0.7136 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.03415/1.209, allocations: 11.29 MB / 1.13 GB, free: 4.863 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.525e-05/1.209, allocations: 12 kB / 1.13 GB, free: 4.852 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003357/1.209, allocations: 49.67 kB / 1.13 GB, free: 4.805 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00126/1.21, allocations: 0.6284 MB / 1.131 GB, free: 4.141 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.062e-05/1.21, allocations: 0 / 1.131 GB, free: 4.141 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.881e-05/1.21, allocations: 8 kB / 1.131 GB, free: 4.133 MB / 0.7292 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002128/1.211, allocations: 123.8 kB / 1.131 GB, free: 4.012 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002029/1.211, allocations: 125.5 kB / 1.131 GB, free: 3.883 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.054e-05/1.211, allocations: 0 / 1.131 GB, free: 3.883 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.721e-05/1.211, allocations: 0 / 1.131 GB, free: 3.883 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.632e-06/1.211, allocations: 7.984 kB / 1.131 GB, free: 3.875 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007982/1.212, allocations: 480.8 kB / 1.132 GB, free: 3.367 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00022/1.212, allocations: 134.5 kB / 1.132 GB, free: 3.227 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000102/1.212, allocations: 64.83 kB / 1.132 GB, free: 3.16 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 2.481e-05/1.212, allocations: 0 / 1.132 GB, free: 3.16 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.138e-05/1.212, allocations: 35.31 kB / 1.132 GB, free: 3.117 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=8): time 8.71e-07/1.212, allocations: 0 / 1.132 GB, free: 3.117 MB / 0.7292 GB Notification: Performance of matching and sorting (n=8): time 0.0005241/1.213, allocations: 189.4 kB / 1.132 GB, free: 2.926 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.996e-05/1.213, allocations: 55.39 kB / 1.132 GB, free: 2.859 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002762/1.213, allocations: 267.5 kB / 1.133 GB, free: 2.59 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 2.605e-05/1.213, allocations: 25.7 kB / 1.133 GB, free: 2.559 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 7.527e-05/1.213, allocations: 120.3 kB / 1.133 GB, free: 2.438 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 3.312e-05/1.213, allocations: 27.64 kB / 1.133 GB, free: 2.41 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.36e-05/1.213, allocations: 0.75 kB / 1.133 GB, free: 2.41 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0002107/1.213, allocations: 334.8 kB / 1.133 GB, free: 2.074 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000116/1.213, allocations: 75.88 kB / 1.133 GB, free: 2 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001725/1.214, allocations: 136.5 kB / 1.133 GB, free: 1.836 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002791/1.214, allocations: 93.17 kB / 1.133 GB, free: 1.746 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.707e-06/1.214, allocations: 4 kB / 1.133 GB, free: 1.742 MB / 0.7292 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0005017/1.214, allocations: 250.9 kB / 1.134 GB, free: 1.492 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002528/1.215, allocations: 0.7039 MB / 1.134 GB, free: 0.7344 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.043e-06/1.215, allocations: 0 / 1.134 GB, free: 0.7344 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.519e-05/1.215, allocations: 7.906 kB / 1.134 GB, free: 0.7266 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002628/1.215, allocations: 57.45 kB / 1.134 GB, free: 0.6719 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.353e-06/1.215, allocations: 5.328 kB / 1.134 GB, free: 0.668 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000178/1.215, allocations: 19.84 kB / 1.134 GB, free: 0.6484 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.855e-05/1.215, allocations: 15.98 kB / 1.134 GB, free: 0.6328 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 6.021e-06/1.215, allocations: 4.844 kB / 1.134 GB, free: 0.6289 MB / 0.7292 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003577/1.216, allocations: 159.8 kB / 1.135 GB, free: 484 kB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.438e-06/1.216, allocations: 4 kB / 1.135 GB, free: 480 kB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.695e-06/1.216, allocations: 0 / 1.135 GB, free: 480 kB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002159/1.216, allocations: 55.89 kB / 1.135 GB, free: 424 kB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.556e-06/1.216, allocations: 7.938 kB / 1.135 GB, free: 416 kB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001588/1.216, allocations: 24.02 kB / 1.135 GB, free: 392 kB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.42e-05/1.216, allocations: 12 kB / 1.135 GB, free: 380 kB / 0.7292 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 17 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.326e-05/1.216, allocations: 108.9 kB / 1.135 GB, free: 264 kB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.52e-05/1.216, allocations: 24.19 kB / 1.135 GB, free: 240 kB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003978/1.217, allocations: 171.4 kB / 1.135 GB, free: 64 kB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.365e-06/1.217, allocations: 0 / 1.135 GB, free: 64 kB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.354e-06/1.217, allocations: 5.609 kB / 1.135 GB, free: 60 kB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.868e-06/1.217, allocations: 0 / 1.135 GB, free: 60 kB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002757/1.217, allocations: 250.2 kB / 1.135 GB, free: 15.78 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.11e-07/1.217, allocations: 1.125 kB / 1.135 GB, free: 15.78 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001598/1.217, allocations: 23.98 kB / 1.135 GB, free: 15.75 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.044e-06/1.217, allocations: 0 / 1.135 GB, free: 15.75 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.273e-05/1.217, allocations: 4 kB / 1.135 GB, free: 15.75 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.868e-06/1.217, allocations: 5.625 kB / 1.135 GB, free: 15.75 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/1.217, allocations: 0 / 1.135 GB, free: 15.75 MB / 0.7448 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003224/1.218, allocations: 241.3 kB / 1.135 GB, free: 15.5 MB / 0.7448 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003824/1.218, allocations: 0.6089 MB / 1.136 GB, free: 14.87 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000101/1.218, allocations: 118 kB / 1.136 GB, free: 14.73 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.839e-05/1.218, allocations: 0 / 1.136 GB, free: 14.73 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001701/1.218, allocations: 15.98 kB / 1.136 GB, free: 14.72 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.104e-05/1.218, allocations: 4 kB / 1.136 GB, free: 14.71 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.491e-05/1.218, allocations: 7.984 kB / 1.136 GB, free: 14.71 MB / 0.7448 GB Notification: Performance of sort global known variables: time 0.0001762/1.218, allocations: 207.1 kB / 1.136 GB, free: 14.51 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.001959/1.22, allocations: 219.6 kB / 1.137 GB, free: 14.29 MB / 0.7448 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006723/1.221, allocations: 396.4 kB / 1.137 GB, free: 13.91 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.000449/1.222, allocations: 245.7 kB / 1.137 GB, free: 13.67 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/1.222, allocations: 0 / 1.137 GB, free: 13.67 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 7.742e-05/1.222, allocations: 47.92 kB / 1.137 GB, free: 13.62 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004073/1.222, allocations: 83 kB / 1.137 GB, free: 13.55 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006491/1.223, allocations: 332 kB / 1.138 GB, free: 13.2 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004432/1.223, allocations: 0.8117 MB / 1.138 GB, free: 12.36 MB / 0.7448 GB Notification: Performance of SimCode: time 2.6e-07/1.223, allocations: 0 / 1.138 GB, free: 12.36 MB / 0.7448 GB (rm -f Buildings_8_Buildings.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface.pipe ; mkfifo Buildings_8_Buildings.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface.pipe >> ../files/Buildings_8_Buildings.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_Movers_BaseClasses_Validation_FlowMachineInterface_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_Movers_BaseClasses_Validation_FlowMachineInterface.fmu > Buildings_8_Buildings.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface.pipe 2>&1)