Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Actuators.Motors.Examples.IdealMotor.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Fluid.Actuators.Motors.Examples.IdealMotor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.Actuators.Motors.Examples.IdealMotor") translateModel(Buildings.Fluid.Actuators.Motors.Examples.IdealMotor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.Actuators.Motors.Examples.IdealMotor") [: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(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.341/2.341, allocations: 284.9 MB / 292.2 MB, free: 10.72 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001649/0.001648, allocations: 181.2 kB / 360.4 MB, free: 7.52 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.796/1.796, allocations: 205.1 MB / 0.6188 GB, free: 13.28 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001835/0.001835, allocations: 96.48 kB / 0.7318 GB, free: 45.08 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 9.057e-06/9.217e-06, allocations: 0 / 0.8502 GB, free: 3.98 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5739/0.574, allocations: 115.2 MB / 0.9628 GB, free: 78.56 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2179/0.7919, allocations: 140.2 MB / 1.1 GB, free: 0.5898 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003221/0.7923, allocations: 85.02 kB / 1.1 GB, free: 0.5078 MB / 0.698 GB Notification: Performance of FrontEnd: time 0.04028/0.8326, allocations: 5.483 MB / 1.105 GB, free: 11.1 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 2.939e-05/0.8327, allocations: 4 kB / 1.105 GB, free: 11.09 MB / 0.7136 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 34 * Number of variables: 34 Notification: Performance of Generate backend data structure: time 0.001839/0.8345, allocations: 0.5634 MB / 1.106 GB, free: 10.48 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 6.9e-05/0.8346, allocations: 12.03 kB / 1.106 GB, free: 10.47 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001868/0.8348, allocations: 23.72 kB / 1.106 GB, free: 10.45 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001145/0.836, allocations: 294.3 kB / 1.106 GB, free: 10.12 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.708e-05/0.8361, allocations: 8 kB / 1.106 GB, free: 10.11 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.055e-05/0.8362, allocations: 11.98 kB / 1.106 GB, free: 10.1 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006482/0.8368, allocations: 128.2 kB / 1.106 GB, free: 9.973 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008083/0.8377, allocations: 215.2 kB / 1.106 GB, free: 9.738 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.257e-05/0.8377, allocations: 3.906 kB / 1.106 GB, free: 9.734 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.167e-05/0.8378, allocations: 9 kB / 1.106 GB, free: 9.727 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.068e-05/0.8378, allocations: 0 / 1.106 GB, free: 9.727 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002416/0.8402, allocations: 0.6982 MB / 1.107 GB, free: 8.98 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005789/0.8409, allocations: 150.7 kB / 1.107 GB, free: 8.824 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003747/0.8413, allocations: 105.5 kB / 1.107 GB, free: 8.719 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 4.944e-05/0.8414, allocations: 4.031 kB / 1.107 GB, free: 8.715 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005074/0.8419, allocations: 173 kB / 1.107 GB, free: 8.527 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=15): time 4.709e-06/0.8419, allocations: 0 / 1.107 GB, free: 8.527 MB / 0.7136 GB Notification: Performance of matching and sorting (n=15): time 0.001027/0.8429, allocations: 229.3 kB / 1.108 GB, free: 8.297 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001257/0.8431, allocations: 138.3 kB / 1.108 GB, free: 8.133 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000539/0.8437, allocations: 229 kB / 1.108 GB, free: 7.906 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 7.123e-05/0.8438, allocations: 29.69 kB / 1.108 GB, free: 7.871 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001576/0.8439, allocations: 124.2 kB / 1.108 GB, free: 7.746 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.000104/0.8441, allocations: 51.33 kB / 1.108 GB, free: 7.695 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.089e-05/0.8441, allocations: 0 / 1.108 GB, free: 7.695 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0002322/0.8444, allocations: 338.8 kB / 1.109 GB, free: 7.355 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003671/0.8447, allocations: 84.16 kB / 1.109 GB, free: 7.27 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004373/0.8452, allocations: 138.6 kB / 1.109 GB, free: 7.117 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004119/0.8456, allocations: 89.06 kB / 1.109 GB, free: 7.031 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.618e-06/0.8457, allocations: 0 / 1.109 GB, free: 7.031 MB / 0.7136 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.001037/0.8467, allocations: 263.5 kB / 1.109 GB, free: 6.77 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 2.551e-05/0.8468, allocations: 12.12 kB / 1.109 GB, free: 6.758 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.979e-06/0.8468, allocations: 0 / 1.109 GB, free: 6.758 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.224e-05/0.8468, allocations: 1.188 kB / 1.109 GB, free: 6.758 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004071/0.8473, allocations: 31.92 kB / 1.109 GB, free: 6.727 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.145e-06/0.8473, allocations: 0 / 1.109 GB, free: 6.727 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004751/0.8478, allocations: 43.81 kB / 1.109 GB, free: 6.684 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.217e-05/0.8479, allocations: 16 kB / 1.109 GB, free: 6.668 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 12 ($whenCondition1,$PRE.mot.uppHys.y,mot.uppHys.y,$PRE.mot.lowHys.y,mot.lowHys.y,ySet.a,ySet.b,ySet.last,$PRE.ySet.nextEvent,ySet.nextEvent,ySet.nextEventScaled,mot.int.local_reset) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (17): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 1 * 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 0.000244/0.8481, allocations: 150.1 kB / 1.109 GB, free: 6.512 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.262e-05/0.8483, allocations: 31.62 kB / 1.109 GB, free: 6.48 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001335/0.8484, allocations: 29.77 kB / 1.109 GB, free: 6.445 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.517e-06/0.8484, allocations: 4 kB / 1.109 GB, free: 6.441 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.143e-06/0.8485, allocations: 0 / 1.109 GB, free: 6.441 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.223e-06/0.8485, allocations: 0 / 1.109 GB, free: 6.441 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005339/0.849, allocations: 267.8 kB / 1.11 GB, free: 6.145 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.376e-06/0.8491, allocations: 0 / 1.11 GB, free: 6.145 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003225/0.8494, allocations: 19.98 kB / 1.11 GB, free: 6.125 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.999e-06/0.8494, allocations: 4 kB / 1.11 GB, free: 6.121 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.605e-05/0.8495, allocations: 4 kB / 1.11 GB, free: 6.117 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.616e-06/0.8495, allocations: 4 kB / 1.11 GB, free: 6.113 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.167e-06/0.8495, allocations: 0 / 1.11 GB, free: 6.113 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001519/0.8511, allocations: 408.6 kB / 1.11 GB, free: 5.695 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001175/0.8512, allocations: 100.8 kB / 1.11 GB, free: 5.578 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000114/0.8513, allocations: 7.906 kB / 1.11 GB, free: 5.57 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004764/0.8518, allocations: 39.97 kB / 1.11 GB, free: 5.531 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001674/0.852, allocations: 23.95 kB / 1.11 GB, free: 5.508 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.355e-05/0.8521, allocations: 12 kB / 1.11 GB, free: 5.496 MB / 0.7136 GB Notification: Performance of sort global known variables: time 0.0003912/0.8525, allocations: 185.2 kB / 1.11 GB, free: 5.312 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0006938/0.8532, allocations: 60.05 kB / 1.11 GB, free: 5.254 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (mot.int.y) * Number of discrete variables: 8 ($whenCondition1,mot.uppHys.y,mot.lowHys.y,ySet.a,ySet.b,ySet.last,ySet.nextEvent,ySet.nextEventScaled) * Number of discrete states: 8 (ySet.nextEvent,ySet.last,ySet.nextEventScaled,ySet.b,ySet.a,$whenCondition1,mot.lowHys.y,mot.uppHys.y) * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 1 * 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.0004134/0.8537, allocations: 137.8 kB / 1.111 GB, free: 5.113 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0005201/0.8542, allocations: 213.7 kB / 1.111 GB, free: 4.898 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/0.8542, allocations: 0 / 1.111 GB, free: 4.898 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0002736/0.8545, allocations: 145.6 kB / 1.111 GB, free: 4.75 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003703/0.8549, allocations: 32.73 kB / 1.111 GB, free: 4.723 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001409/0.8563, allocations: 338.2 kB / 1.111 GB, free: 4.375 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005163/0.8568, allocations: 0.7745 MB / 1.112 GB, free: 3.574 MB / 0.7136 GB Notification: Performance of SimCode: time 9.72e-07/0.8569, allocations: 4 kB / 1.112 GB, free: 3.57 MB / 0.7136 GB Notification: Performance of Templates: time 0.008952/0.8658, allocations: 2.512 MB / 1.115 GB, free: 1.133 MB / 0.7136 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.Actuators.Motors.Examples.IdealMotor.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.Actuators.Motors.Examples.IdealMotor.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Actuators.Motors.Examples.IdealMotor.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Actuators.Motors.Examples.IdealMotor.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Actuators.Motors.Examples.IdealMotor.sim & ./Buildings_8.0.0_Buildings.Fluid.Actuators.Motors.Examples.IdealMotor -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.Actuators.Motors.Examples.IdealMotor.pipe 2>&1)