Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.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.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_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_maint.8.0.x_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.0.1-maint.8.0.x/package.mo): time 1.308/1.308, allocations: 285.5 MB / 292.8 MB, free: 10.45 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.0009503/0.0009503, allocations: 177.3 kB / 361.1 MB, free: 7.105 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.983/0.983, allocations: 205.1 MB / 0.6195 GB, free: 10.28 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.0007746/0.0007746, allocations: 87.94 kB / 0.7326 GB, free: 44.24 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 6.863e-06/6.943e-06, allocations: 4 kB / 0.8511 GB, free: 2.953 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3885/0.3885, allocations: 115.3 MB / 0.9637 GB, free: 77.79 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1549/0.5435, allocations: 171.7 MB / 1.131 GB, free: 204 kB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002354/0.5437, allocations: 97.09 kB / 1.131 GB, free: 108 kB / 0.7292 GB Notification: Performance of FrontEnd: time 0.2333/0.777, allocations: 103.7 MB / 1.233 GB, free: 7.684 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 8.773e-05/0.7771, allocations: 63.98 kB / 1.233 GB, free: 7.621 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.005107/0.7823, allocations: 2.483 MB / 1.235 GB, free: 5.082 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.304e-05/0.7823, allocations: 8.031 kB / 1.235 GB, free: 5.074 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005208/0.7875, allocations: 0.898 MB / 1.236 GB, free: 4.172 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002981/0.7905, allocations: 1.65 MB / 1.238 GB, free: 2.477 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.53e-05/0.7906, allocations: 99.98 kB / 1.238 GB, free: 2.379 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004721/0.7911, allocations: 172 kB / 1.238 GB, free: 2.211 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.005612/0.7967, allocations: 3.745 MB / 1.242 GB, free: 14.46 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006292/0.803, allocations: 4.419 MB / 1.246 GB, free: 9.949 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.183e-05/0.8031, allocations: 0 / 1.246 GB, free: 9.949 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002771/0.8033, allocations: 4 kB / 1.246 GB, free: 9.945 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001695/0.8035, allocations: 200.9 kB / 1.246 GB, free: 9.746 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2234/1.027, allocations: 22.74 MB / 1.268 GB, free: 276.8 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001276/1.028, allocations: 1.658 MB / 1.27 GB, free: 276.7 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00089/1.029, allocations: 0.9582 MB / 1.271 GB, free: 276.6 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001143/1.029, allocations: 102.8 kB / 1.271 GB, free: 276.5 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.766e-05/1.029, allocations: 51.81 kB / 1.271 GB, free: 276.5 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=82): time 2.745e-06/1.029, allocations: 0 / 1.271 GB, free: 276.5 MB / 0.8542 GB Notification: Performance of matching and sorting (n=82): time 0.002172/1.031, allocations: 1.712 MB / 1.273 GB, free: 276.4 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.621e-05/1.032, allocations: 217.3 kB / 1.273 GB, free: 276.1 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000849/1.032, allocations: 0.9677 MB / 1.274 GB, free: 276 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 5.871e-05/1.032, allocations: 27.2 kB / 1.274 GB, free: 276 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003398/1.033, allocations: 1.226 MB / 1.275 GB, free: 275.4 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001479/1.033, allocations: 286.7 kB / 1.275 GB, free: 275.3 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.77e-05/1.033, allocations: 6.406 kB / 1.275 GB, free: 275.3 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 9.415e-05/1.033, allocations: 409.8 kB / 1.276 GB, free: 274.9 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008871/1.034, allocations: 0.9353 MB / 1.277 GB, free: 274.9 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001051/1.035, allocations: 1.547 MB / 1.278 GB, free: 274.2 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002071/1.037, allocations: 1.494 MB / 1.28 GB, free: 274.2 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.542e-06/1.037, allocations: 3.625 kB / 1.28 GB, free: 274.2 MB / 0.8542 GB Notification: Performance of matching and sorting (n=197) (initialization): time 0.00351/1.041, allocations: 2.739 MB / 1.282 GB, free: 274.1 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 0.0008635/1.042, allocations: 7.476 MB / 1.29 GB, free: 266.3 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.681e-05/1.042, allocations: 18.44 kB / 1.29 GB, free: 266.3 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.11e-05/1.042, allocations: 32.72 kB / 1.29 GB, free: 266.3 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001573/1.043, allocations: 439.9 kB / 1.29 GB, free: 266.3 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.984e-05/1.043, allocations: 36.91 kB / 1.29 GB, free: 266.3 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001349/1.045, allocations: 262.8 kB / 1.29 GB, free: 266.2 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001171/1.045, allocations: 77.62 kB / 1.291 GB, free: 266.2 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 5.14e-06/1.045, allocations: 3.656 kB / 1.291 GB, free: 266.2 MB / 0.8542 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00312/1.048, allocations: 2.433 MB / 1.293 GB, free: 266.2 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.489e-05/1.048, allocations: 21.06 kB / 1.293 GB, free: 266.2 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.998e-05/1.048, allocations: 29.78 kB / 1.293 GB, free: 266.2 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001365/1.049, allocations: 419.4 kB / 1.293 GB, free: 266.2 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.737e-05/1.049, allocations: 41.42 kB / 1.293 GB, free: 266.2 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001002/1.05, allocations: 182.7 kB / 1.294 GB, free: 266.2 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001051/1.05, allocations: 78.83 kB / 1.294 GB, free: 266.2 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.0001889/1.051, allocations: 163.8 kB / 1.294 GB, free: 266 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000245/1.051, allocations: 104.2 kB / 1.294 GB, free: 266 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002161/1.053, allocations: 1.794 MB / 1.296 GB, free: 265.9 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.128e-06/1.053, allocations: 11.09 kB / 1.296 GB, free: 265.9 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.48e-06/1.053, allocations: 3.969 kB / 1.296 GB, free: 265.9 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.305e-06/1.053, allocations: 3.891 kB / 1.296 GB, free: 265.9 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004609/1.058, allocations: 4.029 MB / 1.3 GB, free: 265.3 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.907e-06/1.058, allocations: 3.781 kB / 1.3 GB, free: 265.3 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009305/1.059, allocations: 213.9 kB / 1.3 GB, free: 265.3 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.083e-06/1.059, allocations: 12.95 kB / 1.3 GB, free: 265.3 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.392e-05/1.059, allocations: 7.562 kB / 1.3 GB, free: 265.3 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.08e-06/1.059, allocations: 11.28 kB / 1.3 GB, free: 265.3 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.394e-06/1.059, allocations: 0 / 1.3 GB, free: 265.3 MB / 0.8542 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001753/1.06, allocations: 2.252 MB / 1.302 GB, free: 264.5 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004741/1.061, allocations: 374.1 kB / 1.302 GB, free: 264.3 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001764/1.061, allocations: 6.25 kB / 1.302 GB, free: 264.3 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009105/1.062, allocations: 84.88 kB / 1.302 GB, free: 264.3 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001109/1.062, allocations: 47.23 kB / 1.303 GB, free: 264.3 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.386e-05/1.062, allocations: 24.84 kB / 1.303 GB, free: 264.3 MB / 0.8542 GB Notification: Performance of sort global known variables: time 0.0006463/1.063, allocations: 0.7593 MB / 1.303 GB, free: 264.2 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.002296/1.065, allocations: 1.303 MB / 1.305 GB, free: 263.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.0001526/1.065, allocations: 126.6 kB / 1.305 GB, free: 263.8 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.002774/1.068, allocations: 3.153 MB / 1.308 GB, free: 263.7 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/1.068, allocations: 2.719 kB / 1.308 GB, free: 263.7 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.000655/1.069, allocations: 0.7478 MB / 1.308 GB, free: 263.7 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008843/1.07, allocations: 154.2 kB / 1.309 GB, free: 263.7 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004991/1.075, allocations: 3.864 MB / 1.312 GB, free: 262.9 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002071/1.077, allocations: 2.371 MB / 1.315 GB, free: 262.2 MB / 0.8542 GB Notification: Performance of SimCode: time 2.81e-07/1.077, allocations: 0 / 1.315 GB, free: 262.2 MB / 0.8542 GB Notification: Performance of Templates: time 0.03143/1.108, allocations: 25.27 MB / 1.339 GB, free: 261.2 MB / 0.8542 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors.makefile (rm -f Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors.sim & ./Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors.pipe 2>&1)