Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.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_L,fileNamePrefix="Buildings_latest_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_latest_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 10.0.0-master/package.mo): time 1.804/1.804, allocations: 390.4 MB / 397.7 MB, free: 11.23 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.0009175/0.0009173, allocations: 178.6 kB / 490.8 MB, free: 1.914 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.132/1.132, allocations: 221.4 MB / 0.7863 GB, free: 13.64 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008071/0.0008071, allocations: 94.42 kB / 0.9264 GB, free: 14.17 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 0.4248/0.4256, allocations: 149.1 MB / 1.072 GB, free: 182.5 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1871/0.6127, allocations: 143 MB / 1.212 GB, free: 39.98 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.542/1.155, allocations: 182.4 MB / 1.39 GB, free: 14.89 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002277/1.155, allocations: 89.09 kB / 1.39 GB, free: 14.88 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.4007/1.556, allocations: 194.1 MB / 1.579 GB, free: 14.06 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 3.587e-05/1.556, allocations: 12 kB / 1.58 GB, free: 14.05 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005531/1.561, allocations: 0.9308 MB / 1.58 GB, free: 13.11 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00601/1.567, allocations: 2.995 MB / 1.583 GB, free: 10.05 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001457/1.568, allocations: 152 kB / 1.583 GB, free: 9.906 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009137/1.568, allocations: 279.9 kB / 1.584 GB, free: 9.633 MB / 0.9948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.009217/1.578, allocations: 4.689 MB / 1.588 GB, free: 4.938 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009828/1.588, allocations: 6.707 MB / 1.595 GB, free: 13.78 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001146/1.588, allocations: 27.72 kB / 1.595 GB, free: 13.75 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000404/1.588, allocations: 16 kB / 1.595 GB, free: 13.73 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002388/1.588, allocations: 292.9 kB / 1.595 GB, free: 13.45 MB / 1.01 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02768/1.616, allocations: 34.21 MB / 1.629 GB, free: 8.039 MB / 1.042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001611/1.618, allocations: 1.483 MB / 1.63 GB, free: 6.543 MB / 1.042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001408/1.619, allocations: 1.316 MB / 1.631 GB, free: 5.219 MB / 1.042 GB Notification: Performance of preOpt evalFunc (simulation): time 6.855e-05/1.619, allocations: 17.31 kB / 1.631 GB, free: 5.203 MB / 1.042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.752e-05/1.619, allocations: 43.88 kB / 1.631 GB, free: 5.148 MB / 1.042 GB Notification: Performance of pre-optimization done (n=133): time 3.326e-06/1.619, allocations: 0 / 1.631 GB, free: 5.148 MB / 1.042 GB Notification: Performance of matching and sorting (n=136): time 0.007309/1.627, allocations: 4.583 MB / 1.636 GB, free: 0.5156 MB / 1.042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.02e-05/1.627, allocations: 64.72 kB / 1.636 GB, free: 452 kB / 1.042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001161/1.628, allocations: 1.07 MB / 1.637 GB, free: 15.37 MB / 1.057 GB Notification: Performance of collectPreVariables (initialization): time 7.308e-05/1.628, allocations: 29.7 kB / 1.637 GB, free: 15.34 MB / 1.057 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007544/1.629, allocations: 1.749 MB / 1.639 GB, free: 13.56 MB / 1.057 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003122/1.629, allocations: 469.1 kB / 1.639 GB, free: 13.1 MB / 1.057 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.402e-05/1.629, allocations: 0 / 1.639 GB, free: 13.1 MB / 1.057 GB Notification: Performance of setup shared object (initialization): time 0.000125/1.629, allocations: 381.9 kB / 1.64 GB, free: 12.72 MB / 1.057 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001099/1.63, allocations: 0.8981 MB / 1.64 GB, free: 11.82 MB / 1.057 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001431/1.632, allocations: 1.543 MB / 1.642 GB, free: 9.98 MB / 1.057 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00138/1.633, allocations: 1.181 MB / 1.643 GB, free: 8.801 MB / 1.057 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.554e-06/1.633, allocations: 8 kB / 1.643 GB, free: 8.793 MB / 1.057 GB Notification: Performance of matching and sorting (n=236) (initialization): time 0.005317/1.638, allocations: 3.357 MB / 1.646 GB, free: 5.387 MB / 1.057 GB Notification: Performance of prepare postOptimizeDAE: time 1.262e-05/1.638, allocations: 4 kB / 1.646 GB, free: 5.383 MB / 1.057 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.02e-05/1.638, allocations: 20 kB / 1.646 GB, free: 5.363 MB / 1.057 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00277/1.641, allocations: 0.9589 MB / 1.647 GB, free: 4.367 MB / 1.057 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001101/1.642, allocations: 331.5 kB / 1.648 GB, free: 4.043 MB / 1.057 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01708/1.659, allocations: 19.76 MB / 1.667 GB, free: 14.89 MB / 1.089 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001446/1.661, allocations: 43.95 kB / 1.667 GB, free: 14.85 MB / 1.089 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001438/1.661, allocations: 80.08 kB / 1.667 GB, free: 14.77 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.0002926/1.661, allocations: 179.3 kB / 1.667 GB, free: 14.59 MB / 1.089 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002294/1.662, allocations: 193.8 kB / 1.667 GB, free: 14.4 MB / 1.089 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005038/1.667, allocations: 2.976 MB / 1.67 GB, free: 11.37 MB / 1.089 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.202e-05/1.667, allocations: 15.91 kB / 1.67 GB, free: 11.36 MB / 1.089 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.169e-05/1.667, allocations: 16 kB / 1.67 GB, free: 11.34 MB / 1.089 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.176e-05/1.667, allocations: 3.984 kB / 1.67 GB, free: 11.34 MB / 1.089 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009928/1.677, allocations: 6.203 MB / 1.676 GB, free: 4.984 MB / 1.089 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.444e-06/1.677, allocations: 4 kB / 1.676 GB, free: 4.98 MB / 1.089 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006816/1.677, allocations: 155.8 kB / 1.677 GB, free: 4.828 MB / 1.089 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002776/1.68, allocations: 0.9317 MB / 1.677 GB, free: 3.859 MB / 1.089 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.437e-05/1.68, allocations: 11.91 kB / 1.677 GB, free: 3.848 MB / 1.089 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01688/1.697, allocations: 19.74 MB / 1.697 GB, free: 14.73 MB / 1.12 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.023e-05/1.697, allocations: 15.97 kB / 1.697 GB, free: 14.71 MB / 1.12 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00511/1.702, allocations: 3.385 MB / 1.7 GB, free: 11.11 MB / 1.12 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.004983/1.707, allocations: 3.833 MB / 1.704 GB, free: 7.047 MB / 1.12 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007702/1.708, allocations: 450.7 kB / 1.704 GB, free: 6.586 MB / 1.12 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002486/1.708, allocations: 11.89 kB / 1.704 GB, free: 6.574 MB / 1.12 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007407/1.709, allocations: 31.95 kB / 1.704 GB, free: 6.543 MB / 1.12 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001459/1.709, allocations: 68.81 kB / 1.704 GB, free: 6.473 MB / 1.12 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.783e-05/1.709, allocations: 47.94 kB / 1.704 GB, free: 6.426 MB / 1.12 GB Notification: Performance of sort global known variables: time 0.0009811/1.71, allocations: 0.7849 MB / 1.705 GB, free: 5.648 MB / 1.12 GB Notification: Performance of remove unused functions: time 0.003065/1.713, allocations: 0.7305 MB / 1.706 GB, free: 4.918 MB / 1.12 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.0002096/1.714, allocations: 131 kB / 1.706 GB, free: 4.781 MB / 1.12 GB Notification: Performance of simCode: created initialization part: time 0.004965/1.719, allocations: 3.782 MB / 1.71 GB, free: 0.8828 MB / 1.12 GB Notification: Performance of simCode: created event and clocks part: time 3.406e-06/1.719, allocations: 0 / 1.71 GB, free: 0.8828 MB / 1.12 GB Notification: Performance of simCode: created simulation system equations: time 0.003468/1.722, allocations: 2.602 MB / 1.712 GB, free: 14.15 MB / 1.135 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002282/1.724, allocations: 0.567 MB / 1.713 GB, free: 13.59 MB / 1.135 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009773/1.734, allocations: 5.67 MB / 1.718 GB, free: 7.805 MB / 1.135 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003295/1.737, allocations: 3.258 MB / 1.722 GB, free: 4.512 MB / 1.135 GB Notification: Performance of SimCode: time 5.11e-07/1.737, allocations: 0 / 1.722 GB, free: 4.512 MB / 1.135 GB (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_res.mat --tempDir=temp_Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L.fmu > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_res.mat does not exist to compare? outputFormat=mat