Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N,fileNamePrefix="Buildings_8_0_0_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_0_0_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.0.0/package.mo): time 2.123/2.123, allocations: 284.8 MB / 292.1 MB, free: 10.78 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.001537/0.001537, allocations: 173.3 kB / 360.3 MB, free: 7.547 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.653/1.653, allocations: 205.1 MB / 0.6187 GB, free: 13.21 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.001232/0.001232, allocations: 92.75 kB / 0.7317 GB, free: 45.12 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2456/0.2468, allocations: 121.4 MB / 0.8502 GB, free: 3.906 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5646/0.8115, allocations: 115.2 MB / 0.9628 GB, free: 78.64 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2553/1.067, allocations: 170.5 MB / 1.129 GB, free: 2.238 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003611/1.067, allocations: 98.33 kB / 1.129 GB, free: 2.145 MB / 0.7292 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 1.156/2.223, allocations: 205.2 MB / 1.33 GB, free: 152.4 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 5.75e-05/2.223, allocations: 17.16 kB / 1.33 GB, free: 152.4 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01179/2.235, allocations: 1.131 MB / 1.331 GB, free: 152.1 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01382/2.249, allocations: 3.715 MB / 1.335 GB, free: 151.2 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003614/2.249, allocations: 184.7 kB / 1.335 GB, free: 151.2 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002454/2.252, allocations: 334.5 kB / 1.335 GB, free: 151.2 MB / 0.8542 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01898/2.271, allocations: 5.892 MB / 1.341 GB, free: 151.2 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02838/2.299, allocations: 8.039 MB / 1.349 GB, free: 149.8 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002937/2.3, allocations: 23.94 kB / 1.349 GB, free: 149.8 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002195/2.302, allocations: 14.72 kB / 1.349 GB, free: 149.8 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003951/2.302, allocations: 314.2 kB / 1.349 GB, free: 149.8 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0606/2.363, allocations: 40.41 MB / 1.388 GB, free: 118.3 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006785/2.37, allocations: 2.856 MB / 1.391 GB, free: 116.3 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004609/2.374, allocations: 2.111 MB / 1.393 GB, free: 114.9 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000155/2.374, allocations: 25.44 kB / 1.393 GB, free: 114.9 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.3e-05/2.375, allocations: 66.94 kB / 1.393 GB, free: 114.9 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=209): time 6.042e-06/2.375, allocations: 0 / 1.393 GB, free: 114.9 MB / 0.8542 GB Notification: Performance of matching and sorting (n=212): time 0.01786/2.392, allocations: 6.457 MB / 1.4 GB, free: 110 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.195e-05/2.392, allocations: 77.39 kB / 1.4 GB, free: 109.9 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002615/2.395, allocations: 1.321 MB / 1.401 GB, free: 108.9 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 0.0004543/2.396, allocations: 29.7 kB / 1.401 GB, free: 108.9 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009695/2.397, allocations: 2.054 MB / 1.403 GB, free: 107.1 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009007/2.398, allocations: 0.7071 MB / 1.404 GB, free: 106.4 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001992/2.398, allocations: 0 / 1.404 GB, free: 106.4 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.000158/2.398, allocations: 409.8 kB / 1.404 GB, free: 106.1 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002921/2.401, allocations: 1.297 MB / 1.405 GB, free: 105.2 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00379/2.405, allocations: 2.07 MB / 1.407 GB, free: 103.4 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004619/2.409, allocations: 1.674 MB / 1.409 GB, free: 102.3 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.981e-05/2.409, allocations: 4 kB / 1.409 GB, free: 102.3 MB / 0.8542 GB Notification: Performance of matching and sorting (n=327) (initialization): time 0.01222/2.422, allocations: 4.712 MB / 1.414 GB, free: 98 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 2.198e-05/2.422, allocations: 8 kB / 1.414 GB, free: 97.99 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.761e-05/2.422, allocations: 31.27 kB / 1.414 GB, free: 97.96 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006176/2.428, allocations: 1.432 MB / 1.415 GB, free: 96.52 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003195/2.431, allocations: 415.3 kB / 1.416 GB, free: 96.11 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03063/2.462, allocations: 15.54 MB / 1.431 GB, free: 80.14 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003416/2.465, allocations: 63.94 kB / 1.431 GB, free: 80.08 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006691/2.466, allocations: 108 kB / 1.431 GB, free: 79.98 MB / 0.8542 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.0009506/2.467, allocations: 176.2 kB / 1.431 GB, free: 79.8 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001111/2.468, allocations: 264.9 kB / 1.431 GB, free: 79.54 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0182/2.486, allocations: 4.299 MB / 1.435 GB, free: 75.23 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.571e-05/2.486, allocations: 24 kB / 1.435 GB, free: 75.21 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.882e-05/2.486, allocations: 16 kB / 1.435 GB, free: 75.2 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.66e-05/2.486, allocations: 11.95 kB / 1.436 GB, free: 75.18 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02384/2.51, allocations: 8.726 MB / 1.444 GB, free: 66.4 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.848e-05/2.51, allocations: 4 kB / 1.444 GB, free: 66.39 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002112/2.513, allocations: 215.7 kB / 1.444 GB, free: 66.18 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00587/2.518, allocations: 1.415 MB / 1.446 GB, free: 64.76 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002639/2.519, allocations: 4 kB / 1.446 GB, free: 64.75 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03031/2.549, allocations: 15.49 MB / 1.461 GB, free: 48.82 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.428e-06/2.549, allocations: 4 kB / 1.461 GB, free: 48.81 MB / 0.8542 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01153/2.561, allocations: 4.755 MB / 1.465 GB, free: 43.86 MB / 0.8542 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0116/2.572, allocations: 5.168 MB / 1.47 GB, free: 38.49 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002096/2.574, allocations: 0.6033 MB / 1.471 GB, free: 37.87 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000643/2.575, allocations: 15.98 kB / 1.471 GB, free: 37.85 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002253/2.577, allocations: 47.94 kB / 1.471 GB, free: 37.8 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003346/2.578, allocations: 109.7 kB / 1.471 GB, free: 37.7 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002222/2.578, allocations: 60 kB / 1.471 GB, free: 37.64 MB / 0.8542 GB Notification: Performance of sort global known variables: time 0.001849/2.58, allocations: 0.9685 MB / 1.472 GB, free: 36.65 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.00526/2.585, allocations: 1.016 MB / 1.473 GB, free: 35.64 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.0004488/2.586, allocations: 123 kB / 1.473 GB, free: 35.51 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.01136/2.597, allocations: 4.207 MB / 1.477 GB, free: 31.27 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.773e-05/2.597, allocations: 4 kB / 1.477 GB, free: 31.27 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.01107/2.608, allocations: 2.563 MB / 1.48 GB, free: 28.67 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005527/2.614, allocations: 0.6658 MB / 1.481 GB, free: 28.01 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02342/2.637, allocations: 7.547 MB / 1.488 GB, free: 20.34 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.009449/2.647, allocations: 3.857 MB / 1.492 GB, free: 16.45 MB / 0.8542 GB Notification: Performance of SimCode: time 2.104e-06/2.647, allocations: 0 / 1.492 GB, free: 16.45 MB / 0.8542 GB (rm -f Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe ; mkfifo Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe >> ../files/Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R_N_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R_N.fmu > Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe 2>&1)