Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors.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.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors") [: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.1/2.1, allocations: 284.9 MB / 292.2 MB, free: 10.76 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.001574/0.001574, allocations: 189.2 kB / 360.4 MB, free: 7.523 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.587/1.587, allocations: 205.1 MB / 0.6188 GB, free: 12.44 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.001227/0.001227, allocations: 94.81 kB / 0.7318 GB, free: 45.02 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.197e-05/1.2e-05, allocations: 4 kB / 0.8503 GB, free: 3.883 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5265/0.5265, allocations: 115.2 MB / 0.9628 GB, free: 78.16 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2462/0.7728, allocations: 171.6 MB / 1.13 GB, free: 1.137 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003572/0.7732, allocations: 96.77 kB / 1.13 GB, free: 1.047 MB / 0.7292 GB Notification: Performance of FrontEnd: time 0.3833/1.157, allocations: 103.7 MB / 1.232 GB, free: 8.609 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 0.0001434/1.157, allocations: 63.98 kB / 1.232 GB, free: 8.547 MB / 0.8386 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 803 * Number of variables: 803 Notification: Performance of Generate backend data structure: time 0.009371/1.166, allocations: 2.483 MB / 1.234 GB, free: 6.008 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.876e-05/1.166, allocations: 12.02 kB / 1.234 GB, free: 5.996 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009912/1.176, allocations: 0.8941 MB / 1.235 GB, free: 5.098 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005537/1.182, allocations: 1.65 MB / 1.237 GB, free: 3.402 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001394/1.182, allocations: 99.94 kB / 1.237 GB, free: 3.305 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007435/1.183, allocations: 172 kB / 1.237 GB, free: 3.137 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01218/1.195, allocations: 3.741 MB / 1.241 GB, free: 15.39 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01291/1.208, allocations: 4.423 MB / 1.245 GB, free: 10.88 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.042e-05/1.208, allocations: 7.875 kB / 1.245 GB, free: 10.87 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000414/1.208, allocations: 8 kB / 1.245 GB, free: 10.86 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002811/1.209, allocations: 197 kB / 1.245 GB, free: 10.66 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4108/1.619, allocations: 22.74 MB / 1.267 GB, free: 123.8 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002626/1.622, allocations: 1.653 MB / 1.269 GB, free: 123.6 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001851/1.624, allocations: 0.9631 MB / 1.27 GB, free: 123.6 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001905/1.624, allocations: 100 kB / 1.27 GB, free: 123.5 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.371e-05/1.624, allocations: 51.66 kB / 1.27 GB, free: 123.5 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=82): time 3.427e-06/1.624, allocations: 0 / 1.27 GB, free: 123.5 MB / 0.8542 GB Notification: Performance of matching and sorting (n=82): time 0.004261/1.629, allocations: 1.712 MB / 1.272 GB, free: 123.4 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.116e-05/1.629, allocations: 222 kB / 1.272 GB, free: 123.1 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001783/1.63, allocations: 0.9699 MB / 1.273 GB, free: 123 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 0.0001085/1.631, allocations: 25.7 kB / 1.273 GB, free: 122.9 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006295/1.631, allocations: 1.224 MB / 1.274 GB, free: 122.4 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002817/1.631, allocations: 289.9 kB / 1.274 GB, free: 122.2 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001397/1.632, allocations: 0 / 1.274 GB, free: 122.2 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001612/1.632, allocations: 401 kB / 1.275 GB, free: 121.9 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001908/1.634, allocations: 0.9339 MB / 1.276 GB, free: 121.9 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002228/1.636, allocations: 1.554 MB / 1.277 GB, free: 121.2 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004171/1.64, allocations: 1.488 MB / 1.279 GB, free: 121.2 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.262e-05/1.64, allocations: 6.594 kB / 1.279 GB, free: 121.2 MB / 0.8542 GB Notification: Performance of matching and sorting (n=197) (initialization): time 0.006663/1.647, allocations: 2.734 MB / 1.281 GB, free: 121.1 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 0.001386/1.648, allocations: 7.48 MB / 1.289 GB, free: 113.3 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.353e-05/1.648, allocations: 17.16 kB / 1.289 GB, free: 113.3 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.987e-05/1.648, allocations: 31.72 kB / 1.289 GB, free: 113.3 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003527/1.652, allocations: 436.3 kB / 1.289 GB, free: 113.3 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.137e-05/1.652, allocations: 42.7 kB / 1.289 GB, free: 113.3 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002757/1.655, allocations: 265.6 kB / 1.289 GB, free: 113.2 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001942/1.655, allocations: 81.91 kB / 1.289 GB, free: 113.2 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 8.216e-06/1.655, allocations: 3.969 kB / 1.289 GB, free: 113.2 MB / 0.8542 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00606/1.661, allocations: 2.427 MB / 1.292 GB, free: 113.2 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.443e-05/1.661, allocations: 20.09 kB / 1.292 GB, free: 113.2 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.461e-05/1.661, allocations: 28.22 kB / 1.292 GB, free: 113.2 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002861/1.664, allocations: 421.8 kB / 1.292 GB, free: 113.2 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.012e-05/1.664, allocations: 37 kB / 1.292 GB, free: 113.2 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001987/1.666, allocations: 198.8 kB / 1.293 GB, free: 113.1 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001631/1.666, allocations: 78.77 kB / 1.293 GB, free: 113.1 MB / 0.8542 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 86 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (197): * Single equations (assignments): 197 * 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 prepare postOptimizeDAE: time 0.0003967/1.667, allocations: 158.1 kB / 1.293 GB, free: 113 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003887/1.667, allocations: 100.4 kB / 1.293 GB, free: 113 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004328/1.671, allocations: 1.8 MB / 1.295 GB, free: 112.9 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.292e-05/1.671, allocations: 11.41 kB / 1.295 GB, free: 112.9 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.524e-06/1.671, allocations: 0 / 1.295 GB, free: 112.9 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.371e-05/1.671, allocations: 9.25 kB / 1.295 GB, free: 112.9 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008578/1.68, allocations: 4.036 MB / 1.299 GB, free: 112.2 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.026e-06/1.68, allocations: 3.656 kB / 1.299 GB, free: 112.2 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001864/1.682, allocations: 213 kB / 1.299 GB, free: 112.2 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.353e-05/1.682, allocations: 7.219 kB / 1.299 GB, free: 112.2 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.027e-05/1.682, allocations: 7.5 kB / 1.299 GB, free: 112.2 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.455e-06/1.682, allocations: 7.75 kB / 1.299 GB, free: 112.2 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.739e-06/1.682, allocations: 3.906 kB / 1.299 GB, free: 112.2 MB / 0.8542 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003512/1.686, allocations: 2.248 MB / 1.301 GB, free: 111.4 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008214/1.686, allocations: 382.2 kB / 1.301 GB, free: 111.3 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002836/1.687, allocations: 0 / 1.301 GB, free: 111.3 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001751/1.689, allocations: 86.48 kB / 1.301 GB, free: 111.3 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001688/1.689, allocations: 45.3 kB / 1.301 GB, free: 111.3 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.323e-05/1.689, allocations: 24.09 kB / 1.301 GB, free: 111.3 MB / 0.8542 GB Notification: Performance of sort global known variables: time 0.001337/1.69, allocations: 0.7605 MB / 1.302 GB, free: 111.2 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.003961/1.694, allocations: 1.3 MB / 1.303 GB, free: 110.8 MB / 0.8542 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (85): * Single equations (assignments): 85 * 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.0002448/1.694, allocations: 117.2 kB / 1.304 GB, free: 110.7 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.00594/1.7, allocations: 3.155 MB / 1.307 GB, free: 110.7 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 4.098e-06/1.7, allocations: 0 / 1.307 GB, free: 110.7 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.001325/1.702, allocations: 0.7559 MB / 1.307 GB, free: 110.7 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001671/1.703, allocations: 156.2 kB / 1.308 GB, free: 110.7 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009818/1.713, allocations: 3.86 MB / 1.311 GB, free: 109.9 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003995/1.717, allocations: 2.375 MB / 1.314 GB, free: 109.2 MB / 0.8542 GB Notification: Performance of SimCode: time 2.003e-06/1.717, allocations: 1.781 kB / 1.314 GB, free: 109.2 MB / 0.8542 GB Notification: Performance of Templates: time 0.05651/1.774, allocations: 25.28 MB / 1.338 GB, free: 108.1 MB / 0.8542 GB make -j1 -f Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors.makefile (rm -f Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors.pipe ; mkfifo Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors.pipe >> ../files/Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors.sim & ./Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors.pipe 2>&1)