Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Movers.Validation.SpeedControlled_y_linear.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: translateModel(Buildings.Fluid.Movers.Validation.SpeedControlled_y_linear,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Movers.Validation.SpeedControlled_y_linear") translateModel(Buildings.Fluid.Movers.Validation.SpeedControlled_y_linear,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Movers.Validation.SpeedControlled_y_linear") [: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.562/1.562, allocations: 289.8 MB / 297.1 MB, free: 6.641 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.001179/0.001179, allocations: 181.3 kB / 366.3 MB, free: 1.988 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.689/1.689, allocations: 205.1 MB / 0.6256 GB, free: 7.445 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.0009779/0.000978, allocations: 100.2 kB / 0.7396 GB, free: 39.87 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 7.254e-06/7.264e-06, allocations: 0 / 0.859 GB, free: 13.58 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8673/0.8673, allocations: 116.3 MB / 0.9725 GB, free: 76.32 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.093/1.961, allocations: 439.2 MB / 1.401 GB, free: 117.9 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002509/1.961, allocations: 87.52 kB / 1.402 GB, free: 117.8 MB / 0.8542 GB Notification: Performance of FrontEnd: time 2.693/4.654, allocations: 0.7646 GB / 2.166 GB, free: 146 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0002246/4.654, allocations: 60.86 kB / 2.166 GB, free: 146 MB / 0.948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 262 * Number of variables: 262 Notification: Performance of Generate backend data structure: time 0.005117/4.659, allocations: 1.982 MB / 2.168 GB, free: 144.9 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.729e-05/4.659, allocations: 6.219 kB / 2.168 GB, free: 144.9 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003484/4.663, allocations: 0.5979 MB / 2.169 GB, free: 144.8 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03389/4.697, allocations: 14.13 MB / 2.183 GB, free: 140.3 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001006/4.697, allocations: 33.66 kB / 2.183 GB, free: 140.3 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003459/4.697, allocations: 72.34 kB / 2.183 GB, free: 140.3 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002047/4.699, allocations: 0.8701 MB / 2.183 GB, free: 140 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002014/4.701, allocations: 1.07 MB / 2.185 GB, free: 139.5 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.005e-05/4.701, allocations: 2.562 kB / 2.185 GB, free: 139.5 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001069/4.701, allocations: 6.312 kB / 2.185 GB, free: 139.5 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.386e-05/4.701, allocations: 24.53 kB / 2.185 GB, free: 139.5 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009412/4.711, allocations: 5.707 MB / 2.19 GB, free: 135.6 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001088/4.712, allocations: 0.7087 MB / 2.191 GB, free: 135.3 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004702/4.712, allocations: 363.5 kB / 2.191 GB, free: 135.2 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.004206/4.717, allocations: 2.728 MB / 2.194 GB, free: 133.1 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.851e-05/4.717, allocations: 37.56 kB / 2.194 GB, free: 133 MB / 0.948 GB Notification: Performance of pre-optimization done (n=59): time 2.705e-06/4.717, allocations: 3.469 kB / 2.194 GB, free: 133 MB / 0.948 GB Notification: Performance of matching and sorting (n=59): time 0.00303/4.72, allocations: 1.01 MB / 2.195 GB, free: 132.7 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.092e-05/4.72, allocations: 57.34 kB / 2.195 GB, free: 132.6 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001812/4.722, allocations: 1.202 MB / 2.196 GB, free: 132 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001058/4.722, allocations: 25.7 kB / 2.196 GB, free: 132 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003254/4.722, allocations: 0.5471 MB / 2.197 GB, free: 131.5 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002097/4.722, allocations: 196 kB / 2.197 GB, free: 131.4 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.887e-05/4.722, allocations: 0 / 2.197 GB, free: 131.4 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 9.957e-05/4.722, allocations: 347 kB / 2.197 GB, free: 131 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004992/4.723, allocations: 318.1 kB / 2.197 GB, free: 130.9 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000662/4.724, allocations: 0.7401 MB / 2.198 GB, free: 130.2 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001782/4.725, allocations: 0.5303 MB / 2.199 GB, free: 129.9 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.157e-06/4.725, allocations: 9.188 kB / 2.199 GB, free: 129.9 MB / 0.948 GB Notification: Performance of matching and sorting (n=116) (initialization): time 0.003847/4.729, allocations: 1.36 MB / 2.2 GB, free: 129.3 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0009914/4.73, allocations: 4.317 MB / 2.204 GB, free: 124.6 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.242e-05/4.73, allocations: 11.28 kB / 2.204 GB, free: 124.6 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006328/4.731, allocations: 208.3 kB / 2.204 GB, free: 124.5 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009183/4.732, allocations: 216.7 kB / 2.205 GB, free: 124.5 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001363/4.733, allocations: 1.89 MB / 2.207 GB, free: 122.7 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001816/4.735, allocations: 145.9 kB / 2.207 GB, free: 122.7 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001738/4.735, allocations: 74.3 kB / 2.207 GB, free: 122.6 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.185e-05/4.735, allocations: 3.156 kB / 2.207 GB, free: 122.6 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003372/4.739, allocations: 1.106 MB / 2.208 GB, free: 122.1 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.296e-05/4.739, allocations: 15.12 kB / 2.208 GB, free: 122.1 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005757/4.739, allocations: 207.2 kB / 2.208 GB, free: 122 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007106/4.74, allocations: 204.1 kB / 2.208 GB, free: 122 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00436/4.744, allocations: 3.721 MB / 2.212 GB, free: 118.8 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001581/4.746, allocations: 114.4 kB / 2.212 GB, free: 118.7 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000141/4.746, allocations: 70.41 kB / 2.212 GB, free: 118.7 MB / 0.948 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: pumFixDp.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: 48 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (102): * Single equations (assignments): 97 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {1 4,1 5,1 3} Notification: Performance of prepare postOptimizeDAE: time 0.0004023/4.747, allocations: 140 kB / 2.212 GB, free: 118.6 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002749/4.747, allocations: 163.7 kB / 2.212 GB, free: 118.5 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003159/4.75, allocations: 1.31 MB / 2.214 GB, free: 117.8 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.448e-05/4.75, allocations: 12.75 kB / 2.214 GB, free: 117.8 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.356e-06/4.75, allocations: 0 / 2.214 GB, free: 117.8 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.215e-05/4.75, allocations: 3.984 kB / 2.214 GB, free: 117.8 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004747/4.755, allocations: 2.304 MB / 2.216 GB, free: 116.3 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.174e-06/4.755, allocations: 6.469 kB / 2.216 GB, free: 116.3 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000541/4.755, allocations: 113.9 kB / 2.216 GB, free: 116.3 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004501/4.756, allocations: 166 kB / 2.216 GB, free: 116.2 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.142e-05/4.756, allocations: 16.55 kB / 2.216 GB, free: 116.2 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001038/4.757, allocations: 1.832 MB / 2.218 GB, free: 114.5 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.976e-06/4.757, allocations: 0 / 2.218 GB, free: 114.5 MB / 0.948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002694/4.76, allocations: 1.277 MB / 2.219 GB, free: 113.7 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007077/4.76, allocations: 331.9 kB / 2.22 GB, free: 113.4 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002045/4.761, allocations: 5.812 kB / 2.22 GB, free: 113.4 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008171/4.761, allocations: 72.83 kB / 2.22 GB, free: 113.4 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.145e-05/4.762, allocations: 47.75 kB / 2.22 GB, free: 113.4 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.198e-05/4.762, allocations: 36.47 kB / 2.22 GB, free: 113.4 MB / 0.948 GB Notification: Performance of sort global known variables: time 0.001368/4.763, allocations: 0.906 MB / 2.221 GB, free: 112.9 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.003601/4.767, allocations: 1.019 MB / 2.222 GB, free: 112.6 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (63): * Single equations (assignments): 52 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 8 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {1 4,1 3,1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.00236/4.769, allocations: 1.365 MB / 2.223 GB, free: 112.1 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.002851/4.772, allocations: 1.54 MB / 2.224 GB, free: 111.4 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 6.292e-06/4.772, allocations: 2.156 kB / 2.224 GB, free: 111.4 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0006894/4.773, allocations: 413.5 kB / 2.225 GB, free: 111.2 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003137/4.776, allocations: 0.6535 MB / 2.225 GB, free: 111 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004766/4.781, allocations: 2.161 MB / 2.228 GB, free: 109.9 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001572/4.782, allocations: 1.57 MB / 2.229 GB, free: 108.8 MB / 0.948 GB Notification: Performance of SimCode: time 1.042e-06/4.782, allocations: 0 / 2.229 GB, free: 108.8 MB / 0.948 GB Notification: Performance of Templates: time 0.06537/4.848, allocations: 41.91 MB / 2.27 GB, free: 68.33 MB / 0.948 GB make -j1 -f Buildings_8_Buildings.Fluid.Movers.Validation.SpeedControlled_y_linear.makefile (rm -f Buildings_8_Buildings.Fluid.Movers.Validation.SpeedControlled_y_linear.pipe ; mkfifo Buildings_8_Buildings.Fluid.Movers.Validation.SpeedControlled_y_linear.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Movers.Validation.SpeedControlled_y_linear.pipe >> ../files/Buildings_8_Buildings.Fluid.Movers.Validation.SpeedControlled_y_linear.sim & ./Buildings_8_Buildings.Fluid.Movers.Validation.SpeedControlled_y_linear -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Movers.Validation.SpeedControlled_y_linear.pipe 2>&1)