Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves,fileNamePrefix="Buildings_9_Buildings_Fluid_Movers_Examples_SpeedControlled_y_pumpCurves",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves,fileNamePrefix="Buildings_9_Buildings_Fluid_Movers_Examples_SpeedControlled_y_pumpCurves",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 9.1.1-maint.9.1.x/package.mo): time 1.994/1.994, allocations: 387.2 MB / 394.5 MB, free: 13.67 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001166/0.001167, allocations: 193.2 kB / 487 MB, free: 5.312 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.409/1.409, allocations: 221.3 MB / 0.7819 GB, free: 1.398 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009464/0.0009463, allocations: 95.31 kB / 0.9213 GB, free: 2.656 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.5871/0.5881, allocations: 148.4 MB / 1.066 GB, free: 168.1 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2857/0.8738, allocations: 142.3 MB / 1.205 GB, free: 26.11 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.043/1.917, allocations: 440.6 MB / 1.636 GB, free: 15.22 MB / 1.073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000249/1.917, allocations: 89.89 kB / 1.636 GB, free: 15.18 MB / 1.073 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 529 * Number of variables: 529 Notification: Performance of Generate backend data structure: time 5.628/7.544, allocations: 1.465 GB / 3.101 GB, free: 139.3 MB / 1.198 GB Notification: Performance of prepare preOptimizeDAE: time 4.648e-05/7.545, allocations: 14.97 kB / 3.101 GB, free: 139.3 MB / 1.198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01043/7.555, allocations: 1.599 MB / 3.102 GB, free: 139 MB / 1.198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0729/7.628, allocations: 29.2 MB / 3.131 GB, free: 137.4 MB / 1.198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000188/7.628, allocations: 73.16 kB / 3.131 GB, free: 137.4 MB / 1.198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009484/7.629, allocations: 148.4 kB / 3.131 GB, free: 137.4 MB / 1.198 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004012/7.633, allocations: 1.964 MB / 3.133 GB, free: 137.4 MB / 1.198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003871/7.637, allocations: 2.322 MB / 3.135 GB, free: 137 MB / 1.198 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.08e-05/7.637, allocations: 8.812 kB / 3.135 GB, free: 137 MB / 1.198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002261/7.637, allocations: 4.312 kB / 3.135 GB, free: 137 MB / 1.198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.491e-05/7.637, allocations: 50.84 kB / 3.135 GB, free: 137 MB / 1.198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02016/7.658, allocations: 12.28 MB / 3.147 GB, free: 131 MB / 1.198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002545/7.66, allocations: 1.997 MB / 3.149 GB, free: 131 MB / 1.198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001048/7.661, allocations: 0.8566 MB / 3.15 GB, free: 131 MB / 1.198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00761/7.669, allocations: 4.067 MB / 3.154 GB, free: 129.1 MB / 1.198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.187e-05/7.669, allocations: 45.66 kB / 3.154 GB, free: 129 MB / 1.198 GB Notification: Performance of pre-optimization done (n=119): time 3.767e-06/7.669, allocations: 3.469 kB / 3.154 GB, free: 129 MB / 1.198 GB Notification: Performance of matching and sorting (n=119): time 0.007969/7.677, allocations: 2.844 MB / 3.157 GB, free: 128.7 MB / 1.198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.937e-05/7.677, allocations: 65.94 kB / 3.157 GB, free: 128.7 MB / 1.198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004998/7.682, allocations: 2.632 MB / 3.16 GB, free: 128.4 MB / 1.198 GB Notification: Performance of collectPreVariables (initialization): time 0.0006177/7.683, allocations: 29.17 kB / 3.16 GB, free: 128.3 MB / 1.198 GB Notification: Performance of collectInitialEqns (initialization): time 0.000682/7.683, allocations: 1.033 MB / 3.161 GB, free: 127.8 MB / 1.198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006141/7.684, allocations: 397.4 kB / 3.161 GB, free: 127.6 MB / 1.198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001286/7.684, allocations: 0 / 3.161 GB, free: 127.6 MB / 1.198 GB Notification: Performance of setup shared object (initialization): time 0.0001356/7.684, allocations: 381 kB / 3.161 GB, free: 127.3 MB / 1.198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001264/7.686, allocations: 0.8694 MB / 3.162 GB, free: 127.3 MB / 1.198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001558/7.687, allocations: 1.647 MB / 3.164 GB, free: 126.3 MB / 1.198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003623/7.691, allocations: 1.288 MB / 3.165 GB, free: 126.3 MB / 1.198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.19e-05/7.691, allocations: 6.5 kB / 3.165 GB, free: 126.3 MB / 1.198 GB Notification: Performance of matching and sorting (n=247) (initialization): time 0.007992/7.699, allocations: 3.421 MB / 3.168 GB, free: 126 MB / 1.198 GB Notification: Performance of prepare postOptimizeDAE: time 0.001555/7.7, allocations: 8.069 MB / 3.176 GB, free: 117.6 MB / 1.198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.97e-05/7.7, allocations: 21.47 kB / 3.176 GB, free: 117.6 MB / 1.198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001941/7.702, allocations: 0.8678 MB / 3.177 GB, free: 117.6 MB / 1.198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002127/7.704, allocations: 434.6 kB / 3.178 GB, free: 117.6 MB / 1.198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004579/7.709, allocations: 5.95 MB / 3.183 GB, free: 113.4 MB / 1.198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00435/7.713, allocations: 347.2 kB / 3.184 GB, free: 113.3 MB / 1.198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000487/7.714, allocations: 183 kB / 3.184 GB, free: 113.3 MB / 1.198 GB Notification: Performance of prepare postOptimizeDAE: time 1.601e-05/7.714, allocations: 3.719 kB / 3.184 GB, free: 113.3 MB / 1.198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007505/7.721, allocations: 2.869 MB / 3.187 GB, free: 113.2 MB / 1.198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.383e-05/7.722, allocations: 16.56 kB / 3.187 GB, free: 113.2 MB / 1.198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002705/7.724, allocations: 1.027 MB / 3.188 GB, free: 113.1 MB / 1.198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001714/7.726, allocations: 409 kB / 3.188 GB, free: 113.1 MB / 1.198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01738/7.743, allocations: 13.88 MB / 3.202 GB, free: 105.4 MB / 1.198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004284/7.748, allocations: 295.7 kB / 3.202 GB, free: 105.4 MB / 1.198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005649/7.748, allocations: 155.9 kB / 3.202 GB, free: 105.4 MB / 1.198 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: pum3.vol.heaFloSen.Q_flow:VARIABLE(unit = "W" protected = true ) "Heat flow from port_a to port_b as output signal" type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: pum2.vol.heaFloSen.Q_flow:VARIABLE(unit = "W" protected = true ) "Heat flow from port_a to port_b as output signal" type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: pum1.vol.heaFloSen.Q_flow:VARIABLE(unit = "W" protected = true ) "Heat flow from port_a to port_b as output signal" type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: pum.vol.heaFloSen.Q_flow:VARIABLE(unit = "W" protected = true ) "Heat flow from port_a to port_b as output signal" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 81 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (191): * Single equations (assignments): 179 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 8 {1 4,1 5,1 4,1 5,1 4,1 5,1 4,1 5} Notification: Performance of prepare postOptimizeDAE: time 0.000879/7.749, allocations: 169.7 kB / 3.202 GB, free: 105.3 MB / 1.198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008591/7.75, allocations: 347.9 kB / 3.203 GB, free: 105.1 MB / 1.198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007625/7.758, allocations: 3.018 MB / 3.206 GB, free: 104.9 MB / 1.198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.323e-05/7.758, allocations: 19.62 kB / 3.206 GB, free: 104.9 MB / 1.198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-06/7.758, allocations: 3.438 kB / 3.206 GB, free: 104.9 MB / 1.198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.669e-05/7.758, allocations: 11.22 kB / 3.206 GB, free: 104.9 MB / 1.198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01163/7.769, allocations: 4.953 MB / 3.21 GB, free: 104.3 MB / 1.198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.556e-06/7.769, allocations: 2.812 kB / 3.21 GB, free: 104.3 MB / 1.198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00138/7.771, allocations: 266.2 kB / 3.211 GB, free: 104.3 MB / 1.198 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001228/7.772, allocations: 0.5598 MB / 3.211 GB, free: 104.3 MB / 1.198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000126/7.772, allocations: 26.73 kB / 3.211 GB, free: 104.3 MB / 1.198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003333/7.776, allocations: 5.201 MB / 3.216 GB, free: 100.1 MB / 1.198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.971e-06/7.776, allocations: 0 / 3.216 GB, free: 100.1 MB / 1.198 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.006372/7.782, allocations: 2.723 MB / 3.219 GB, free: 99.46 MB / 1.198 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.006831/7.789, allocations: 3.3 MB / 3.222 GB, free: 98.46 MB / 1.198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002105/7.791, allocations: 0.6226 MB / 3.223 GB, free: 98.16 MB / 1.198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006135/7.792, allocations: 3.906 kB / 3.223 GB, free: 98.16 MB / 1.198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002363/7.794, allocations: 223.5 kB / 3.223 GB, free: 98.15 MB / 1.198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001728/7.794, allocations: 89.47 kB / 3.223 GB, free: 98.14 MB / 1.198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000181/7.794, allocations: 86.39 kB / 3.223 GB, free: 98.14 MB / 1.198 GB Notification: Performance of sort global known variables: time 0.003125/7.797, allocations: 1.971 MB / 3.225 GB, free: 97.96 MB / 1.198 GB Notification: Performance of remove unused functions: time 0.01151/7.809, allocations: 2.514 MB / 3.228 GB, free: 97.67 MB / 1.198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (109): * Single equations (assignments): 91 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 10 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 8 {1 4,1 4,1 4,1 4,1 6,1 6,1 6,1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.004015/7.813, allocations: 2.311 MB / 3.23 GB, free: 97.04 MB / 1.198 GB Notification: Performance of simCode: created initialization part: time 0.007437/7.821, allocations: 3.98 MB / 3.234 GB, free: 96.57 MB / 1.198 GB Notification: Performance of simCode: created event and clocks part: time 8.376e-06/7.821, allocations: 0 / 3.234 GB, free: 96.57 MB / 1.198 GB Notification: Performance of simCode: created simulation system equations: time 0.001604/7.822, allocations: 0.8824 MB / 3.235 GB, free: 96.56 MB / 1.198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008009/7.83, allocations: 1.525 MB / 3.236 GB, free: 96.54 MB / 1.198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0113/7.842, allocations: 4.775 MB / 3.241 GB, free: 95.34 MB / 1.198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002728/7.844, allocations: 2.632 MB / 3.243 GB, free: 94.57 MB / 1.198 GB Notification: Performance of SimCode: time 1.012e-06/7.844, allocations: 0 / 3.243 GB, free: 94.57 MB / 1.198 GB (rm -f Buildings_9_Buildings.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves.pipe ; mkfifo Buildings_9_Buildings.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves.pipe >> ../files/Buildings_9_Buildings.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_Movers_Examples_SpeedControlled_y_pumpCurves_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_Movers_Examples_SpeedControlled_y_pumpCurves.fmu > Buildings_9_Buildings.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves.pipe 2>&1)