Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.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.Lines.Examples.ACLine_R_N,fileNamePrefix="Buildings_8_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_8_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 8.1.4-maint.8.1.x/package.mo): time 1.368/1.368, allocations: 289.8 MB / 297.1 MB, free: 6.68 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.0009372/0.0009372, allocations: 177.2 kB / 366.3 MB, free: 2.004 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.116/1.116, allocations: 205.2 MB / 0.6256 GB, free: 5.828 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.000818/0.0008182, allocations: 99.14 kB / 0.7396 GB, free: 39.68 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2077/0.2085, allocations: 122.4 MB / 0.8591 GB, free: 13.29 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4723/0.6808, allocations: 116.3 MB / 0.9727 GB, free: 68.75 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1712/0.8521, allocations: 171.7 MB / 1.14 GB, free: 8.816 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002292/0.8523, allocations: 89.12 kB / 1.14 GB, free: 8.73 MB / 0.7448 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.7865/1.639, allocations: 205.2 MB / 1.341 GB, free: 133.9 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.223e-05/1.639, allocations: 8 kB / 1.341 GB, free: 133.9 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007114/1.646, allocations: 1.136 MB / 1.342 GB, free: 132.8 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007927/1.654, allocations: 3.716 MB / 1.346 GB, free: 130 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001788/1.654, allocations: 188 kB / 1.346 GB, free: 129.8 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00195/1.656, allocations: 331.5 kB / 1.346 GB, free: 129.5 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01054/1.667, allocations: 5.888 MB / 1.352 GB, free: 125.8 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01224/1.679, allocations: 8.043 MB / 1.36 GB, free: 119.6 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000115/1.679, allocations: 19.81 kB / 1.36 GB, free: 119.6 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000516/1.68, allocations: 16 kB / 1.36 GB, free: 119.6 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001887/1.68, allocations: 312.2 kB / 1.36 GB, free: 119.3 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03142/1.711, allocations: 40.4 MB / 1.399 GB, free: 80.84 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003162/1.714, allocations: 2.864 MB / 1.402 GB, free: 77.98 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002045/1.717, allocations: 2.121 MB / 1.404 GB, free: 75.87 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 9.667e-05/1.717, allocations: 22 kB / 1.404 GB, free: 75.84 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.813e-05/1.717, allocations: 64.55 kB / 1.404 GB, free: 75.77 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=209): time 3.947e-06/1.717, allocations: 0 / 1.404 GB, free: 75.77 MB / 0.8386 GB Notification: Performance of matching and sorting (n=212): time 0.008522/1.725, allocations: 6.457 MB / 1.411 GB, free: 69.32 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.698e-05/1.725, allocations: 77.41 kB / 1.411 GB, free: 69.23 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001467/1.727, allocations: 1.329 MB / 1.412 GB, free: 67.88 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 0.0001237/1.727, allocations: 25.7 kB / 1.412 GB, free: 67.85 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005947/1.727, allocations: 2.055 MB / 1.414 GB, free: 65.76 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003824/1.728, allocations: 0.7005 MB / 1.415 GB, free: 65.05 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001192/1.728, allocations: 0 / 1.415 GB, free: 65.05 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001025/1.728, allocations: 411.2 kB / 1.415 GB, free: 64.64 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001361/1.729, allocations: 1.294 MB / 1.416 GB, free: 63.35 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001611/1.731, allocations: 2.073 MB / 1.418 GB, free: 60.92 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001657/1.733, allocations: 1.676 MB / 1.42 GB, free: 59.25 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.646e-06/1.733, allocations: 8 kB / 1.42 GB, free: 59.24 MB / 0.8386 GB Notification: Performance of matching and sorting (n=327) (initialization): time 0.005938/1.739, allocations: 4.715 MB / 1.425 GB, free: 54.53 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.52e-05/1.739, allocations: 4.938 kB / 1.425 GB, free: 54.52 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.17e-05/1.739, allocations: 28.84 kB / 1.425 GB, free: 54.5 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002762/1.742, allocations: 1.437 MB / 1.426 GB, free: 53.05 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001359/1.743, allocations: 419.3 kB / 1.427 GB, free: 52.64 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0147/1.758, allocations: 15.53 MB / 1.442 GB, free: 36.65 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001927/1.76, allocations: 63.94 kB / 1.442 GB, free: 36.59 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000183/1.76, allocations: 112 kB / 1.442 GB, free: 36.48 MB / 0.8386 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.0003463/1.76, allocations: 170.8 kB / 1.442 GB, free: 36.31 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002936/1.76, allocations: 268.9 kB / 1.442 GB, free: 36.04 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005546/1.766, allocations: 4.31 MB / 1.446 GB, free: 31.73 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.295e-05/1.766, allocations: 20 kB / 1.446 GB, free: 31.71 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.266e-05/1.766, allocations: 16 kB / 1.447 GB, free: 31.7 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.576e-05/1.766, allocations: 11.95 kB / 1.447 GB, free: 31.68 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01153/1.778, allocations: 8.723 MB / 1.455 GB, free: 22.9 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.586e-06/1.778, allocations: 4 kB / 1.455 GB, free: 22.89 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009571/1.779, allocations: 211.7 kB / 1.455 GB, free: 22.69 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00282/1.781, allocations: 1.401 MB / 1.457 GB, free: 21.28 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001222/1.782, allocations: 8 kB / 1.457 GB, free: 21.27 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01474/1.796, allocations: 15.5 MB / 1.472 GB, free: 5.316 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.973e-06/1.796, allocations: 4 kB / 1.472 GB, free: 5.312 MB / 0.8386 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.005848/1.802, allocations: 4.758 MB / 1.476 GB, free: 372 kB / 0.8386 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.006582/1.809, allocations: 5.168 MB / 1.481 GB, free: 10.98 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001293/1.81, allocations: 0.6033 MB / 1.482 GB, free: 10.36 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003873/1.81, allocations: 8 kB / 1.482 GB, free: 10.35 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001088/1.812, allocations: 47.88 kB / 1.482 GB, free: 10.3 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002234/1.812, allocations: 121.7 kB / 1.482 GB, free: 10.19 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001494/1.812, allocations: 60 kB / 1.482 GB, free: 10.13 MB / 0.8542 GB Notification: Performance of sort global known variables: time 0.001384/1.813, allocations: 0.9723 MB / 1.483 GB, free: 9.141 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.003696/1.817, allocations: 1.004 MB / 1.484 GB, free: 8.137 MB / 0.8542 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.0002726/1.817, allocations: 135 kB / 1.484 GB, free: 7.996 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.006133/1.823, allocations: 4.206 MB / 1.488 GB, free: 3.75 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 6.782e-06/1.824, allocations: 0 / 1.488 GB, free: 3.75 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.00404/1.828, allocations: 2.56 MB / 1.491 GB, free: 1.16 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002925/1.83, allocations: 0.6712 MB / 1.492 GB, free: 0.4922 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01475/1.845, allocations: 7.546 MB / 1.499 GB, free: 8.816 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004639/1.85, allocations: 3.853 MB / 1.503 GB, free: 4.922 MB / 0.8698 GB Notification: Performance of SimCode: time 1.082e-06/1.85, allocations: 3.938 kB / 1.503 GB, free: 4.918 MB / 0.8698 GB (rm -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R_N_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R_N.fmu > Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe 2>&1)