Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors.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.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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_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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.324/1.324, allocations: 289.8 MB / 297.1 MB, free: 6.664 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.0009457/0.0009457, allocations: 181.3 kB / 366.3 MB, free: 1.957 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9975/0.9975, allocations: 205.2 MB / 0.6256 GB, free: 5.891 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.0007828/0.0007828, allocations: 86 kB / 0.7396 GB, free: 39.7 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 5.25e-06/5.35e-06, allocations: 0 / 0.859 GB, free: 13.37 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3797/0.3797, allocations: 116.3 MB / 0.9726 GB, free: 68.64 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1563/0.536, allocations: 172.7 MB / 1.141 GB, free: 7.738 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002156/0.5363, allocations: 104.7 kB / 1.141 GB, free: 7.637 MB / 0.7448 GB Notification: Performance of FrontEnd: time 0.485/1.021, allocations: 103.7 MB / 1.243 GB, free: 191.7 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 7.771e-05/1.021, allocations: 68.06 kB / 1.243 GB, free: 191.7 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.003582/1.025, allocations: 2.486 MB / 1.245 GB, free: 190.9 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.025e-05/1.025, allocations: 10 kB / 1.245 GB, free: 190.9 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004576/1.03, allocations: 0.897 MB / 1.246 GB, free: 190.8 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002236/1.032, allocations: 1.648 MB / 1.248 GB, free: 190.4 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.903e-05/1.032, allocations: 98.84 kB / 1.248 GB, free: 190.4 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003577/1.032, allocations: 171.4 kB / 1.248 GB, free: 190.4 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004325/1.037, allocations: 3.744 MB / 1.252 GB, free: 190.4 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005067/1.042, allocations: 4.414 MB / 1.256 GB, free: 190.1 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.16e-05/1.042, allocations: 5.031 kB / 1.256 GB, free: 190.1 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002714/1.042, allocations: 2.312 kB / 1.256 GB, free: 190.1 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001207/1.042, allocations: 194.2 kB / 1.256 GB, free: 190.1 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01836/1.061, allocations: 22.74 MB / 1.278 GB, free: 176.5 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00129/1.062, allocations: 1.662 MB / 1.28 GB, free: 176.3 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008653/1.063, allocations: 0.9547 MB / 1.281 GB, free: 176.3 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001142/1.063, allocations: 104.4 kB / 1.281 GB, free: 176.2 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.187e-05/1.063, allocations: 47.41 kB / 1.281 GB, free: 176.1 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=82): time 3.346e-06/1.063, allocations: 0 / 1.281 GB, free: 176.1 MB / 0.8386 GB Notification: Performance of matching and sorting (n=82): time 0.002159/1.065, allocations: 1.718 MB / 1.283 GB, free: 176 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.711e-05/1.065, allocations: 218.2 kB / 1.283 GB, free: 175.8 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008606/1.066, allocations: 0.9679 MB / 1.284 GB, free: 175.6 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 6.003e-05/1.066, allocations: 27.2 kB / 1.284 GB, free: 175.6 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003531/1.066, allocations: 1.227 MB / 1.285 GB, free: 174.8 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001587/1.067, allocations: 287.4 kB / 1.285 GB, free: 174.6 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.896e-05/1.067, allocations: 0 / 1.285 GB, free: 174.6 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 9.531e-05/1.067, allocations: 408 kB / 1.286 GB, free: 174.3 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008628/1.068, allocations: 0.9357 MB / 1.287 GB, free: 174.3 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001044/1.069, allocations: 1.546 MB / 1.288 GB, free: 173.6 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002025/1.071, allocations: 1.493 MB / 1.29 GB, free: 173.4 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.243e-06/1.071, allocations: 3.375 kB / 1.29 GB, free: 173.4 MB / 0.8386 GB Notification: Performance of matching and sorting (n=197) (initialization): time 0.003407/1.074, allocations: 2.74 MB / 1.292 GB, free: 172.7 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 0.0008695/1.075, allocations: 7.475 MB / 1.3 GB, free: 164.7 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.799e-05/1.075, allocations: 20.25 kB / 1.3 GB, free: 164.7 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.256e-05/1.075, allocations: 29.94 kB / 1.3 GB, free: 164.7 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00156/1.077, allocations: 439.9 kB / 1.3 GB, free: 164.6 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.143e-05/1.077, allocations: 45.09 kB / 1.3 GB, free: 164.6 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001347/1.078, allocations: 264.5 kB / 1.3 GB, free: 164.5 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000122/1.078, allocations: 80.69 kB / 1.3 GB, free: 164.5 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 7.764e-06/1.078, allocations: 3.969 kB / 1.3 GB, free: 164.5 MB / 0.8386 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003052/1.081, allocations: 2.427 MB / 1.303 GB, free: 163.9 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.593e-05/1.081, allocations: 21.31 kB / 1.303 GB, free: 163.9 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.03e-05/1.081, allocations: 36.75 kB / 1.303 GB, free: 163.9 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001338/1.083, allocations: 415.2 kB / 1.303 GB, free: 163.9 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.818e-05/1.083, allocations: 42 kB / 1.303 GB, free: 163.9 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001011/1.084, allocations: 185.3 kB / 1.303 GB, free: 163.8 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001062/1.084, allocations: 77 kB / 1.303 GB, free: 163.8 MB / 0.8386 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.000216/1.084, allocations: 165.1 kB / 1.304 GB, free: 163.7 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002575/1.084, allocations: 101.9 kB / 1.304 GB, free: 163.6 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002119/1.086, allocations: 1.797 MB / 1.305 GB, free: 163 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.356e-06/1.086, allocations: 9.812 kB / 1.305 GB, free: 163 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.36e-06/1.086, allocations: 0 / 1.305 GB, free: 163 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.017e-06/1.086, allocations: 11.45 kB / 1.305 GB, free: 163 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004746/1.091, allocations: 4.03 MB / 1.309 GB, free: 161.3 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.299e-06/1.091, allocations: 0 / 1.309 GB, free: 161.3 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009129/1.092, allocations: 226.4 kB / 1.31 GB, free: 161.3 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.694e-06/1.092, allocations: 3.812 kB / 1.31 GB, free: 161.3 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.299e-05/1.092, allocations: 3.969 kB / 1.31 GB, free: 161.3 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.729e-06/1.092, allocations: 7.844 kB / 1.31 GB, free: 161.3 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.745e-06/1.092, allocations: 0 / 1.31 GB, free: 161.3 MB / 0.8386 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001723/1.094, allocations: 2.25 MB / 1.312 GB, free: 160.1 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000478/1.094, allocations: 374.8 kB / 1.312 GB, free: 159.9 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001741/1.095, allocations: 7.875 kB / 1.312 GB, free: 159.9 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008706/1.096, allocations: 86.19 kB / 1.312 GB, free: 159.9 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001149/1.096, allocations: 47.12 kB / 1.312 GB, free: 159.8 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.377e-05/1.096, allocations: 23.03 kB / 1.312 GB, free: 159.8 MB / 0.8386 GB Notification: Performance of sort global known variables: time 0.0006508/1.096, allocations: 0.7599 MB / 1.313 GB, free: 159.5 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.002678/1.099, allocations: 1.301 MB / 1.314 GB, free: 159.2 MB / 0.8386 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.0001868/1.099, allocations: 123.7 kB / 1.315 GB, free: 159.1 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.004326/1.104, allocations: 3.151 MB / 1.318 GB, free: 158.2 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/1.104, allocations: 3.609 kB / 1.318 GB, free: 158.2 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0006821/1.104, allocations: 0.754 MB / 1.318 GB, free: 157.9 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009274/1.105, allocations: 157.2 kB / 1.318 GB, free: 157.9 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005513/1.111, allocations: 3.863 MB / 1.322 GB, free: 156.5 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002032/1.113, allocations: 2.376 MB / 1.325 GB, free: 155.5 MB / 0.8386 GB Notification: Performance of SimCode: time 6.01e-07/1.113, allocations: 0 / 1.325 GB, free: 155.5 MB / 0.8386 GB Notification: Performance of Templates: time 0.02982/1.143, allocations: 25.29 MB / 1.349 GB, free: 150.7 MB / 0.8386 GB make -j1 -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors.makefile (rm -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors.sim & ./Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors.pipe 2>&1)