Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R_N",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R_N",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 10.0.0-master/package.mo): time 1.756/1.756, allocations: 390.4 MB / 397.7 MB, free: 10.61 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.001166/0.001166, allocations: 181.2 kB / 490.8 MB, free: 11.15 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.109/1.109, allocations: 221.4 MB / 0.7863 GB, free: 13.53 MB / 0.5886 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008981/0.000898, allocations: 94.92 kB / 0.9264 GB, free: 4.496 MB / 0.6667 GB Notification: Performance of FrontEnd - loaded program: time 0.2303/0.2312, allocations: 149.1 MB / 1.072 GB, free: 15.43 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.503/0.7342, allocations: 143 MB / 1.212 GB, free: 155.8 MB / 0.8855 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1574/0.8916, allocations: 183.1 MB / 1.39 GB, free: 8.367 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002269/0.8919, allocations: 96.58 kB / 1.391 GB, free: 8.273 MB / 0.8855 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1524 * Number of variables: 1524 Notification: Performance of Generate backend data structure: time 0.7839/1.676, allocations: 217.6 MB / 1.603 GB, free: 193.7 MB / 1.026 GB Notification: Performance of prepare preOptimizeDAE: time 3.019e-05/1.676, allocations: 10.44 kB / 1.603 GB, free: 193.7 MB / 1.026 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005253/1.681, allocations: 1.133 MB / 1.604 GB, free: 193.4 MB / 1.026 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005775/1.687, allocations: 3.717 MB / 1.608 GB, free: 192.7 MB / 1.026 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001269/1.687, allocations: 187.5 kB / 1.608 GB, free: 192.7 MB / 1.026 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006409/1.688, allocations: 325.8 kB / 1.608 GB, free: 192.7 MB / 1.026 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.008318/1.696, allocations: 5.892 MB / 1.614 GB, free: 192.6 MB / 1.026 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01052/1.707, allocations: 8.056 MB / 1.622 GB, free: 190.3 MB / 1.026 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001069/1.707, allocations: 15.81 kB / 1.622 GB, free: 190.3 MB / 1.026 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004858/1.707, allocations: 19.31 kB / 1.622 GB, free: 190.3 MB / 1.026 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001791/1.707, allocations: 310.6 kB / 1.622 GB, free: 190.2 MB / 1.026 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02821/1.736, allocations: 40.4 MB / 1.662 GB, free: 157.2 MB / 1.026 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003025/1.739, allocations: 2.862 MB / 1.665 GB, free: 156.2 MB / 1.026 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002142/1.741, allocations: 2.115 MB / 1.667 GB, free: 155.5 MB / 1.026 GB Notification: Performance of preOpt evalFunc (simulation): time 9.987e-05/1.741, allocations: 26.66 kB / 1.667 GB, free: 155.5 MB / 1.026 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.686e-05/1.741, allocations: 62.91 kB / 1.667 GB, free: 155.4 MB / 1.026 GB Notification: Performance of pre-optimization done (n=209): time 3.967e-06/1.741, allocations: 0 / 1.667 GB, free: 155.4 MB / 1.026 GB Notification: Performance of matching and sorting (n=212): time 0.008922/1.75, allocations: 6.457 MB / 1.673 GB, free: 152.7 MB / 1.026 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.811e-05/1.75, allocations: 74.31 kB / 1.673 GB, free: 152.6 MB / 1.026 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001475/1.751, allocations: 1.329 MB / 1.674 GB, free: 152 MB / 1.026 GB Notification: Performance of collectPreVariables (initialization): time 0.0001135/1.752, allocations: 32.48 kB / 1.674 GB, free: 152 MB / 1.026 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006479/1.752, allocations: 2.052 MB / 1.676 GB, free: 150.5 MB / 1.026 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004169/1.753, allocations: 0.7025 MB / 1.677 GB, free: 149.9 MB / 1.026 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001112/1.753, allocations: 2.688 kB / 1.677 GB, free: 149.9 MB / 1.026 GB Notification: Performance of setup shared object (initialization): time 0.0001172/1.753, allocations: 404.5 kB / 1.677 GB, free: 149.6 MB / 1.026 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001421/1.754, allocations: 1.3 MB / 1.679 GB, free: 149.1 MB / 1.026 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001678/1.756, allocations: 2.07 MB / 1.681 GB, free: 147.6 MB / 1.026 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001726/1.758, allocations: 1.672 MB / 1.682 GB, free: 147 MB / 1.026 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.897e-06/1.758, allocations: 9.375 kB / 1.682 GB, free: 147 MB / 1.026 GB Notification: Performance of matching and sorting (n=327) (initialization): time 0.006243/1.764, allocations: 4.716 MB / 1.687 GB, free: 145.3 MB / 1.026 GB Notification: Performance of prepare postOptimizeDAE: time 1.489e-05/1.764, allocations: 5.688 kB / 1.687 GB, free: 145.3 MB / 1.026 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.544e-05/1.764, allocations: 25.09 kB / 1.687 GB, free: 145.3 MB / 1.026 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002973/1.767, allocations: 1.434 MB / 1.688 GB, free: 144.9 MB / 1.026 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001417/1.768, allocations: 423.6 kB / 1.689 GB, free: 144.9 MB / 1.026 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01579/1.784, allocations: 15.52 MB / 1.704 GB, free: 135.9 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001768/1.786, allocations: 67.61 kB / 1.704 GB, free: 135.9 MB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001904/1.786, allocations: 109.9 kB / 1.704 GB, free: 135.9 MB / 1.026 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 113 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (219): * Single equations (assignments): 215 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(6,66.7%) 32,(6,66.7%) 24,(4,100.0%) 18,(4,100.0%) 18} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003275/1.787, allocations: 171.5 kB / 1.704 GB, free: 135.7 MB / 1.026 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003021/1.787, allocations: 265.9 kB / 1.705 GB, free: 135.6 MB / 1.026 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00597/1.793, allocations: 4.311 MB / 1.709 GB, free: 134 MB / 1.026 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.963e-05/1.793, allocations: 26.78 kB / 1.709 GB, free: 134 MB / 1.026 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.003e-05/1.793, allocations: 17.09 kB / 1.709 GB, free: 134 MB / 1.026 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.672e-05/1.793, allocations: 9.891 kB / 1.709 GB, free: 134 MB / 1.026 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01153/1.804, allocations: 8.727 MB / 1.717 GB, free: 127 MB / 1.026 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.867e-06/1.805, allocations: 12.09 kB / 1.717 GB, free: 127 MB / 1.026 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009581/1.805, allocations: 216.6 kB / 1.718 GB, free: 126.8 MB / 1.026 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00285/1.808, allocations: 1.396 MB / 1.719 GB, free: 125.7 MB / 1.026 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001363/1.808, allocations: 8 kB / 1.719 GB, free: 125.7 MB / 1.026 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01504/1.824, allocations: 15.49 MB / 1.734 GB, free: 111.5 MB / 1.026 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.015e-06/1.824, allocations: 11.94 kB / 1.734 GB, free: 111.5 MB / 1.026 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.005655/1.829, allocations: 4.737 MB / 1.739 GB, free: 107.1 MB / 1.026 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.005304/1.835, allocations: 5.174 MB / 1.744 GB, free: 102.3 MB / 1.026 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001024/1.836, allocations: 0.5967 MB / 1.744 GB, free: 101.8 MB / 1.026 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003631/1.836, allocations: 7.906 kB / 1.744 GB, free: 101.8 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001069/1.837, allocations: 51.97 kB / 1.744 GB, free: 101.7 MB / 1.026 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001931/1.837, allocations: 111.1 kB / 1.745 GB, free: 101.7 MB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001453/1.837, allocations: 60 kB / 1.745 GB, free: 101.6 MB / 1.026 GB Notification: Performance of sort global known variables: time 0.001041/1.838, allocations: 0.9737 MB / 1.746 GB, free: 100.7 MB / 1.026 GB Notification: Performance of remove unused functions: time 0.00333/1.842, allocations: 1.012 MB / 1.747 GB, free: 99.69 MB / 1.026 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 (107): * Single equations (assignments): 103 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(4,100.0%) 18,(6,66.7%) 24,(6,66.7%) 32,(4,100.0%) 18} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002408/1.842, allocations: 130.9 kB / 1.747 GB, free: 99.55 MB / 1.026 GB Notification: Performance of simCode: created initialization part: time 0.004993/1.847, allocations: 4.204 MB / 1.751 GB, free: 95.74 MB / 1.026 GB Notification: Performance of simCode: created event and clocks part: time 4.318e-06/1.847, allocations: 8 kB / 1.751 GB, free: 95.73 MB / 1.026 GB Notification: Performance of simCode: created simulation system equations: time 0.003303/1.85, allocations: 2.568 MB / 1.753 GB, free: 93.42 MB / 1.026 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002532/1.853, allocations: 0.6577 MB / 1.754 GB, free: 92.88 MB / 1.026 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01195/1.865, allocations: 7.546 MB / 1.761 GB, free: 86.04 MB / 1.026 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003521/1.868, allocations: 3.853 MB / 1.765 GB, free: 83.03 MB / 1.026 GB Notification: Performance of SimCode: time 8.42e-07/1.868, allocations: 0 / 1.765 GB, free: 83.03 MB / 1.026 GB (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N_res.mat --tempDir=temp_Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R_N_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R_N.fmu > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N_res.mat does not exist to compare? outputFormat=mat