Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Interfaces.Examples.WyeToDelta.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: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Interfaces.Examples.WyeToDelta,fileNamePrefix="Buildings_8_Buildings_Electrical_AC_ThreePhasesUnbalanced_Interfaces_Examples_WyeToDelta",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Interfaces.Examples.WyeToDelta,fileNamePrefix="Buildings_8_Buildings_Electrical_AC_ThreePhasesUnbalanced_Interfaces_Examples_WyeToDelta",fmuType="me",version="2.0",platforms={"static"}) [: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.352/1.352, allocations: 289.8 MB / 297.1 MB, free: 6.645 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.000961/0.0009612, allocations: 180.1 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 1.042/1.042, allocations: 205.1 MB / 0.6256 GB, free: 7.434 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.0007933/0.000793, allocations: 89.5 kB / 0.7395 GB, free: 39.83 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.1881/0.1889, allocations: 122.4 MB / 0.8591 GB, free: 13.45 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4282/0.6172, allocations: 116.3 MB / 0.9727 GB, free: 76.2 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1502/0.7674, allocations: 156.8 MB / 1.126 GB, free: 9.617 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002442/0.7677, allocations: 93.53 kB / 1.126 GB, free: 9.527 MB / 0.7292 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 324 * Number of variables: 324 Notification: Performance of Generate backend data structure: time 0.07419/0.8419, allocations: 36.08 MB / 1.161 GB, free: 5.195 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 3.205e-05/0.842, allocations: 8 kB / 1.161 GB, free: 5.188 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001422/0.8434, allocations: 248 kB / 1.161 GB, free: 4.945 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00103/0.8444, allocations: 0.7201 MB / 1.162 GB, free: 4.184 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.369e-05/0.8445, allocations: 40 kB / 1.162 GB, free: 4.145 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001687/0.8447, allocations: 72 kB / 1.162 GB, free: 4.074 MB / 0.7605 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002106/0.8468, allocations: 1.52 MB / 1.164 GB, free: 2.551 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002459/0.8492, allocations: 1.777 MB / 1.165 GB, free: 0.7344 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.323e-05/0.8493, allocations: 0 / 1.165 GB, free: 0.7344 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001081/0.8494, allocations: 0 / 1.165 GB, free: 0.7344 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.079e-05/0.8494, allocations: 63.81 kB / 1.165 GB, free: 0.6719 MB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007511/0.857, allocations: 7.874 MB / 1.173 GB, free: 8.113 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001154/0.8571, allocations: 126.5 kB / 1.173 GB, free: 7.953 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.623e-05/0.8572, allocations: 67.47 kB / 1.173 GB, free: 7.875 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001071/0.8573, allocations: 101 kB / 1.173 GB, free: 7.758 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.886e-05/0.8573, allocations: 35.44 kB / 1.173 GB, free: 7.715 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=9): time 1.453e-06/0.8573, allocations: 0.8438 kB / 1.173 GB, free: 7.715 MB / 0.7761 GB Notification: Performance of matching and sorting (n=9): time 0.0005387/0.8579, allocations: 256.8 kB / 1.174 GB, free: 7.457 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.905e-05/0.8579, allocations: 132.6 kB / 1.174 GB, free: 7.297 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008323/0.8588, allocations: 0.8294 MB / 1.175 GB, free: 6.457 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.499e-05/0.8588, allocations: 25.7 kB / 1.175 GB, free: 6.426 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003706/0.8592, allocations: 0.7431 MB / 1.175 GB, free: 5.668 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 3.476e-05/0.8592, allocations: 51.53 kB / 1.175 GB, free: 5.617 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.552e-05/0.8593, allocations: 0 / 1.175 GB, free: 5.617 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001367/0.8594, allocations: 378.7 kB / 1.176 GB, free: 5.238 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004579/0.8599, allocations: 415.2 kB / 1.176 GB, free: 4.836 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008175/0.8607, allocations: 1.147 MB / 1.177 GB, free: 3.316 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001039/0.8617, allocations: 0.807 MB / 1.178 GB, free: 2.512 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.244e-06/0.8618, allocations: 4 kB / 1.178 GB, free: 2.508 MB / 0.7761 GB Notification: Performance of matching and sorting (n=147) (initialization): time 0.001973/0.8637, allocations: 1.46 MB / 1.18 GB, free: 1.043 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.356e-05/0.8638, allocations: 8.938 kB / 1.18 GB, free: 1.035 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.192e-05/0.8638, allocations: 24 kB / 1.18 GB, free: 1.012 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.016e-05/0.8638, allocations: 40 kB / 1.18 GB, free: 0.9727 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007435/0.8646, allocations: 287.4 kB / 1.18 GB, free: 0.6914 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.05e-05/0.8646, allocations: 49.23 kB / 1.18 GB, free: 0.6445 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007248/0.8654, allocations: 162.2 kB / 1.18 GB, free: 496 kB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.473e-05/0.8654, allocations: 68 kB / 1.18 GB, free: 428 kB / 0.7761 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 121 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (147): * Single equations (assignments): 147 * 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.0001234/0.8656, allocations: 172.5 kB / 1.18 GB, free: 248 kB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001242/0.8657, allocations: 59.34 kB / 1.18 GB, free: 188 kB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002661/0.866, allocations: 139.7 kB / 1.18 GB, free: 24 kB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.275e-06/0.866, allocations: 9.312 kB / 1.18 GB, free: 16 kB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.977e-06/0.866, allocations: 1 kB / 1.18 GB, free: 16 kB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.705e-06/0.866, allocations: 0 / 1.18 GB, free: 16 kB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006204/0.8666, allocations: 0.5017 MB / 1.181 GB, free: 15.48 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.31e-07/0.8666, allocations: 0 / 1.181 GB, free: 15.48 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.43e-05/0.8667, allocations: 8 kB / 1.181 GB, free: 15.47 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.497e-06/0.8667, allocations: 4 kB / 1.181 GB, free: 15.46 MB / 0.7917 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.643e-06/0.8667, allocations: 0.8125 kB / 1.181 GB, free: 15.46 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.8667, allocations: 0 / 1.181 GB, free: 15.46 MB / 0.7917 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.188e-06/0.8667, allocations: 5.5 kB / 1.181 GB, free: 15.46 MB / 0.7917 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002027/0.8669, allocations: 388.8 kB / 1.181 GB, free: 15.05 MB / 0.7917 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002991/0.8672, allocations: 0.7552 MB / 1.182 GB, free: 14.26 MB / 0.7917 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001494/0.8674, allocations: 156.4 kB / 1.182 GB, free: 14.09 MB / 0.7917 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.125e-05/0.8675, allocations: 5.188 kB / 1.182 GB, free: 14.09 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002838/0.8678, allocations: 13.58 kB / 1.182 GB, free: 14.07 MB / 0.7917 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.356e-05/0.8678, allocations: 0 / 1.182 GB, free: 14.07 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.909e-06/0.8678, allocations: 8 kB / 1.182 GB, free: 14.07 MB / 0.7917 GB Notification: Performance of sort global known variables: time 0.0006031/0.8684, allocations: 0.624 MB / 1.183 GB, free: 13.44 MB / 0.7917 GB Notification: Performance of remove unused functions: time 0.001706/0.8701, allocations: 282.9 kB / 1.183 GB, free: 13.16 MB / 0.7917 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * 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.0001173/0.8702, allocations: 107.3 kB / 1.183 GB, free: 13.05 MB / 0.7917 GB Notification: Performance of simCode: created initialization part: time 0.0007498/0.871, allocations: 0.6852 MB / 1.184 GB, free: 12.37 MB / 0.7917 GB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.871, allocations: 0 / 1.184 GB, free: 12.37 MB / 0.7917 GB Notification: Performance of simCode: created simulation system equations: time 2.383e-05/0.871, allocations: 20.55 kB / 1.184 GB, free: 12.35 MB / 0.7917 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003256/0.8714, allocations: 45.19 kB / 1.184 GB, free: 12.31 MB / 0.7917 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001939/0.8733, allocations: 1.307 MB / 1.185 GB, free: 10.96 MB / 0.7917 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001017/0.8743, allocations: 1.358 MB / 1.187 GB, free: 9.57 MB / 0.7917 GB Notification: Performance of SimCode: time 3.01e-07/0.8743, allocations: 4 kB / 1.187 GB, free: 9.566 MB / 0.7917 GB (rm -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Interfaces.Examples.WyeToDelta.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Interfaces.Examples.WyeToDelta.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Interfaces.Examples.WyeToDelta.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Interfaces.Examples.WyeToDelta.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Electrical_AC_ThreePhasesUnbalanced_Interfaces_Examples_WyeToDelta_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Electrical_AC_ThreePhasesUnbalanced_Interfaces_Examples_WyeToDelta.fmu > Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Interfaces.Examples.WyeToDelta.pipe 2>&1)