Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.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.Lines.Examples.ACLine_L,fileNamePrefix="Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L,fileNamePrefix="Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L",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.794/1.794, allocations: 387.2 MB / 394.5 MB, free: 13.61 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009978/0.0009978, allocations: 185.2 kB / 487 MB, free: 5.379 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.121/1.121, allocations: 221.3 MB / 0.7819 GB, free: 1.395 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008724/0.0008723, allocations: 94.12 kB / 0.9213 GB, free: 2.637 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.4171/0.418, allocations: 148.5 MB / 1.066 GB, free: 168.2 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1749/0.5929, allocations: 142.3 MB / 1.205 GB, free: 26.14 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.5187/1.112, allocations: 181.7 MB / 1.383 GB, free: 11.18 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002287/1.112, allocations: 93.25 kB / 1.383 GB, free: 11.12 MB / 0.823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1256 * Number of variables: 1256 Notification: Performance of Generate backend data structure: time 0.4179/1.53, allocations: 194.1 MB / 1.572 GB, free: 6.418 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 3.994e-05/1.53, allocations: 11.94 kB / 1.572 GB, free: 6.406 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005403/1.535, allocations: 0.9347 MB / 1.573 GB, free: 5.465 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005724/1.541, allocations: 2.995 MB / 1.576 GB, free: 2.41 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001293/1.541, allocations: 148 kB / 1.576 GB, free: 2.266 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006345/1.542, allocations: 279.8 kB / 1.577 GB, free: 1.992 MB / 0.9948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.007705/1.549, allocations: 4.693 MB / 1.581 GB, free: 13.29 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009572/1.559, allocations: 6.699 MB / 1.588 GB, free: 6.145 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001132/1.559, allocations: 31.7 kB / 1.588 GB, free: 6.113 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003971/1.56, allocations: 12 kB / 1.588 GB, free: 6.102 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000258/1.56, allocations: 292.9 kB / 1.588 GB, free: 5.812 MB / 1.01 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03078/1.591, allocations: 34.21 MB / 1.621 GB, free: 420 kB / 1.042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001687/1.592, allocations: 1.491 MB / 1.623 GB, free: 14.91 MB / 1.057 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001471/1.594, allocations: 1.312 MB / 1.624 GB, free: 13.59 MB / 1.057 GB Notification: Performance of preOpt evalFunc (simulation): time 7.224e-05/1.594, allocations: 17.3 kB / 1.624 GB, free: 13.57 MB / 1.057 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.57e-05/1.594, allocations: 47.81 kB / 1.624 GB, free: 13.52 MB / 1.057 GB Notification: Performance of pre-optimization done (n=133): time 3.276e-06/1.594, allocations: 0 / 1.624 GB, free: 13.52 MB / 1.057 GB Notification: Performance of matching and sorting (n=136): time 0.007513/1.601, allocations: 4.575 MB / 1.629 GB, free: 8.891 MB / 1.057 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.414e-05/1.602, allocations: 68.72 kB / 1.629 GB, free: 8.812 MB / 1.057 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00126/1.603, allocations: 1.066 MB / 1.63 GB, free: 7.746 MB / 1.057 GB Notification: Performance of collectPreVariables (initialization): time 7.443e-05/1.603, allocations: 25.7 kB / 1.63 GB, free: 7.715 MB / 1.057 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008944/1.604, allocations: 1.761 MB / 1.632 GB, free: 5.93 MB / 1.057 GB Notification: Performance of collectInitialBindings (initialization): time 0.000339/1.604, allocations: 461.2 kB / 1.632 GB, free: 5.473 MB / 1.057 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.643e-05/1.604, allocations: 0 / 1.632 GB, free: 5.473 MB / 1.057 GB Notification: Performance of setup shared object (initialization): time 0.0001486/1.604, allocations: 381.9 kB / 1.632 GB, free: 5.094 MB / 1.057 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001157/1.606, allocations: 0.8981 MB / 1.633 GB, free: 4.195 MB / 1.057 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001552/1.607, allocations: 1.547 MB / 1.635 GB, free: 2.348 MB / 1.057 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001431/1.609, allocations: 1.181 MB / 1.636 GB, free: 1.172 MB / 1.057 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.923e-06/1.609, allocations: 4 kB / 1.636 GB, free: 1.168 MB / 1.057 GB Notification: Performance of matching and sorting (n=236) (initialization): time 0.00548/1.614, allocations: 3.352 MB / 1.639 GB, free: 13.76 MB / 1.073 GB Notification: Performance of prepare postOptimizeDAE: time 1.322e-05/1.614, allocations: 4.938 kB / 1.639 GB, free: 13.76 MB / 1.073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.329e-05/1.614, allocations: 24 kB / 1.639 GB, free: 13.73 MB / 1.073 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002828/1.617, allocations: 0.9584 MB / 1.64 GB, free: 12.74 MB / 1.073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001185/1.618, allocations: 331.5 kB / 1.64 GB, free: 12.41 MB / 1.073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01737/1.635, allocations: 19.75 MB / 1.66 GB, free: 7.27 MB / 1.089 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001404/1.637, allocations: 51.95 kB / 1.66 GB, free: 7.219 MB / 1.089 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001402/1.637, allocations: 87.94 kB / 1.66 GB, free: 7.133 MB / 1.089 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 98 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (182): * Single equations (assignments): 170 * 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: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 12 {(4,68.8%) 4,(4,68.8%) 4,(4,68.8%) 4,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002846/1.637, allocations: 175.2 kB / 1.66 GB, free: 6.957 MB / 1.089 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002319/1.638, allocations: 189.8 kB / 1.66 GB, free: 6.77 MB / 1.089 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005018/1.643, allocations: 2.98 MB / 1.663 GB, free: 3.734 MB / 1.089 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.154e-05/1.643, allocations: 16 kB / 1.663 GB, free: 3.719 MB / 1.089 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.071e-05/1.643, allocations: 11.83 kB / 1.663 GB, free: 3.711 MB / 1.089 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.176e-05/1.643, allocations: 7.969 kB / 1.663 GB, free: 3.703 MB / 1.089 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009726/1.652, allocations: 6.203 MB / 1.669 GB, free: 13.35 MB / 1.104 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.704e-06/1.652, allocations: 4 kB / 1.669 GB, free: 13.35 MB / 1.104 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006852/1.653, allocations: 160.3 kB / 1.669 GB, free: 13.19 MB / 1.104 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002718/1.656, allocations: 0.9272 MB / 1.67 GB, free: 12.23 MB / 1.104 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.564e-05/1.656, allocations: 7.906 kB / 1.67 GB, free: 12.22 MB / 1.104 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01738/1.673, allocations: 19.75 MB / 1.69 GB, free: 7.094 MB / 1.12 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.948e-06/1.673, allocations: 15.83 kB / 1.69 GB, free: 7.078 MB / 1.12 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.005087/1.678, allocations: 3.389 MB / 1.693 GB, free: 3.473 MB / 1.12 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.005101/1.684, allocations: 3.829 MB / 1.697 GB, free: 15.41 MB / 1.135 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008221/1.684, allocations: 454.6 kB / 1.697 GB, free: 14.95 MB / 1.135 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002618/1.685, allocations: 8 kB / 1.697 GB, free: 14.94 MB / 1.135 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000742/1.685, allocations: 27.95 kB / 1.697 GB, free: 14.91 MB / 1.135 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001485/1.686, allocations: 76.8 kB / 1.697 GB, free: 14.84 MB / 1.135 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.172e-05/1.686, allocations: 40 kB / 1.697 GB, free: 14.8 MB / 1.135 GB Notification: Performance of sort global known variables: time 0.0009799/1.687, allocations: 0.7849 MB / 1.698 GB, free: 14.02 MB / 1.135 GB Notification: Performance of remove unused functions: time 0.002963/1.69, allocations: 0.7381 MB / 1.699 GB, free: 13.29 MB / 1.135 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * 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): 73 * 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: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 12 {(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 4,(4,68.8%) 4,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 4,(4,68.8%) 4,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 4,(4,68.8%) 4} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002188/1.69, allocations: 125.2 kB / 1.699 GB, free: 13.16 MB / 1.135 GB Notification: Performance of simCode: created initialization part: time 0.004996/1.695, allocations: 3.797 MB / 1.703 GB, free: 9.242 MB / 1.135 GB Notification: Performance of simCode: created event and clocks part: time 2.945e-06/1.695, allocations: 0 / 1.703 GB, free: 9.242 MB / 1.135 GB Notification: Performance of simCode: created simulation system equations: time 0.003514/1.698, allocations: 2.594 MB / 1.705 GB, free: 6.527 MB / 1.135 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002517/1.701, allocations: 0.5721 MB / 1.706 GB, free: 5.961 MB / 1.135 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01033/1.711, allocations: 5.667 MB / 1.711 GB, free: 180 kB / 1.135 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003349/1.715, allocations: 3.25 MB / 1.714 GB, free: 12.89 MB / 1.151 GB Notification: Performance of SimCode: time 5.11e-07/1.715, allocations: 0 / 1.714 GB, free: 12.89 MB / 1.151 GB (rm -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_res.mat --tempDir=temp_Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L.fmu > Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_res.mat does not exist to compare? outputFormat=mat