Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Interfaces.Examples.WyeToDelta.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Interfaces.Examples.WyeToDelta,fileNamePrefix="Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Interfaces_Examples_WyeToDelta",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Interfaces.Examples.WyeToDelta,fileNamePrefix="Buildings_9_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 9.1.1-maint.9.1.x/package.mo): time 1.756/1.756, allocations: 387.2 MB / 394.5 MB, free: 13.27 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009407/0.0009407, allocations: 179.7 kB / 487 MB, free: 0.7148 MB / 378.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.157/1.157, allocations: 221.3 MB / 0.7819 GB, free: 6.746 MB / 0.573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008131/0.0008131, allocations: 90.41 kB / 0.9213 GB, free: 43.65 MB / 0.6198 GB Notification: Performance of FrontEnd - loaded program: time 0.222/0.2229, allocations: 148.5 MB / 1.066 GB, free: 7.438 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4936/0.7165, allocations: 142.3 MB / 1.205 GB, free: 72.75 MB / 0.7917 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1582/0.8747, allocations: 167.3 MB / 1.369 GB, free: 11.86 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002258/0.875, allocations: 100.6 kB / 1.369 GB, free: 11.76 MB / 0.8698 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.07977/0.9548, allocations: 38.34 MB / 1.406 GB, free: 5.129 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 3.451e-05/0.9548, allocations: 15.98 kB / 1.406 GB, free: 5.113 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00147/0.9563, allocations: 250.5 kB / 1.406 GB, free: 4.867 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001124/0.9574, allocations: 0.7162 MB / 1.407 GB, free: 4.109 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.842e-05/0.9575, allocations: 40 kB / 1.407 GB, free: 4.07 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001712/0.9576, allocations: 72 kB / 1.407 GB, free: 4 MB / 0.9011 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002184/0.9598, allocations: 1.516 MB / 1.409 GB, free: 2.48 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002518/0.9624, allocations: 1.785 MB / 1.411 GB, free: 0.6562 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.37e-05/0.9624, allocations: 0 / 1.411 GB, free: 0.6562 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001085/0.9625, allocations: 1 kB / 1.411 GB, free: 0.6562 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.215e-05/0.9626, allocations: 58.06 kB / 1.411 GB, free: 0.5977 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007698/0.9703, allocations: 7.868 MB / 1.418 GB, free: 8.035 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001118/0.9704, allocations: 122.3 kB / 1.418 GB, free: 7.879 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.961e-05/0.9705, allocations: 79.58 kB / 1.418 GB, free: 7.789 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000101/0.9706, allocations: 97.03 kB / 1.419 GB, free: 7.676 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.382e-05/0.9707, allocations: 34.56 kB / 1.419 GB, free: 7.633 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=9): time 1.553e-06/0.9707, allocations: 0 / 1.419 GB, free: 7.633 MB / 0.9167 GB Notification: Performance of matching and sorting (n=9): time 0.0005435/0.9712, allocations: 256.8 kB / 1.419 GB, free: 7.375 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.369e-05/0.9713, allocations: 136.6 kB / 1.419 GB, free: 7.211 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008674/0.9722, allocations: 0.8216 MB / 1.42 GB, free: 6.379 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 1.34e-05/0.9722, allocations: 29.64 kB / 1.42 GB, free: 6.344 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.000379/0.9726, allocations: 0.747 MB / 1.421 GB, free: 5.582 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 3.786e-05/0.9726, allocations: 55.53 kB / 1.421 GB, free: 5.527 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.65e-05/0.9727, allocations: 0 / 1.421 GB, free: 5.527 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.0001395/0.9728, allocations: 378.6 kB / 1.421 GB, free: 5.148 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004814/0.9733, allocations: 410.4 kB / 1.421 GB, free: 4.746 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008662/0.9742, allocations: 1.147 MB / 1.422 GB, free: 3.227 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001086/0.9753, allocations: 0.8049 MB / 1.423 GB, free: 2.422 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.876e-06/0.9753, allocations: 8 kB / 1.423 GB, free: 2.414 MB / 0.9167 GB Notification: Performance of matching and sorting (n=147) (initialization): time 0.002021/0.9773, allocations: 1.461 MB / 1.425 GB, free: 0.9492 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.155e-05/0.9773, allocations: 4 kB / 1.425 GB, free: 0.9453 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.753e-05/0.9774, allocations: 28.88 kB / 1.425 GB, free: 0.918 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.557e-05/0.9774, allocations: 40 kB / 1.425 GB, free: 0.8789 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007631/0.9782, allocations: 291.4 kB / 1.425 GB, free: 0.5938 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.951e-05/0.9782, allocations: 47.86 kB / 1.425 GB, free: 0.5469 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007046/0.9789, allocations: 158.2 kB / 1.425 GB, free: 400 kB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.581e-05/0.979, allocations: 72 kB / 1.425 GB, free: 328 kB / 0.9167 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.0001345/0.9792, allocations: 168.2 kB / 1.425 GB, free: 152 kB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001287/0.9793, allocations: 63.33 kB / 1.425 GB, free: 88 kB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002842/0.9796, allocations: 141.8 kB / 1.426 GB, free: 15.93 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.797e-06/0.9796, allocations: 8 kB / 1.426 GB, free: 15.92 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.436e-06/0.9796, allocations: 0 / 1.426 GB, free: 15.92 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.534e-06/0.9796, allocations: 0 / 1.426 GB, free: 15.92 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006203/0.9802, allocations: 0.5017 MB / 1.426 GB, free: 15.38 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.9802, allocations: 0 / 1.426 GB, free: 15.38 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.319e-05/0.9803, allocations: 4 kB / 1.426 GB, free: 15.38 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/0.9803, allocations: 0 / 1.426 GB, free: 15.38 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.921e-06/0.9803, allocations: 4 kB / 1.426 GB, free: 15.38 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.226e-06/0.9803, allocations: 2.812 kB / 1.426 GB, free: 15.38 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.933e-06/0.9803, allocations: 3.938 kB / 1.426 GB, free: 15.37 MB / 0.9323 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002193/0.9805, allocations: 392.8 kB / 1.427 GB, free: 14.96 MB / 0.9323 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003164/0.9809, allocations: 0.759 MB / 1.427 GB, free: 14.16 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001587/0.981, allocations: 156.4 kB / 1.427 GB, free: 13.99 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.836e-05/0.9811, allocations: 0 / 1.427 GB, free: 13.99 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002697/0.9814, allocations: 15.89 kB / 1.427 GB, free: 13.98 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.527e-05/0.9814, allocations: 7.938 kB / 1.427 GB, free: 13.97 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.007e-06/0.9814, allocations: 8 kB / 1.427 GB, free: 13.96 MB / 0.9323 GB Notification: Performance of sort global known variables: time 0.0006508/0.9821, allocations: 0.6201 MB / 1.428 GB, free: 13.34 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.001509/0.9836, allocations: 275 kB / 1.428 GB, free: 13.07 MB / 0.9323 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.0001248/0.9837, allocations: 108.3 kB / 1.428 GB, free: 12.96 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.0007492/0.9845, allocations: 0.6818 MB / 1.429 GB, free: 12.29 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.9845, allocations: 0 / 1.429 GB, free: 12.29 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 2.229e-05/0.9845, allocations: 19.92 kB / 1.429 GB, free: 12.27 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002765/0.9848, allocations: 39.31 kB / 1.429 GB, free: 12.22 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00191/0.9867, allocations: 1.315 MB / 1.43 GB, free: 10.87 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001059/0.9878, allocations: 1.35 MB / 1.432 GB, free: 9.492 MB / 0.9323 GB Notification: Performance of SimCode: time 3e-07/0.9878, allocations: 0 / 1.432 GB, free: 9.492 MB / 0.9323 GB (rm -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Interfaces.Examples.WyeToDelta.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Interfaces.Examples.WyeToDelta.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Interfaces.Examples.WyeToDelta.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Interfaces.Examples.WyeToDelta.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Interfaces.Examples.WyeToDelta_res.mat --tempDir=temp_Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Interfaces_Examples_WyeToDelta_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Interfaces_Examples_WyeToDelta.fmu > Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Interfaces.Examples.WyeToDelta.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Interfaces.Examples.WyeToDelta_res.mat does not exist to compare? outputFormat=mat