Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_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_RL_N,fileNamePrefix="Buildings_8_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL_N",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N,fileNamePrefix="Buildings_8_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL_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.383/1.383, allocations: 289.8 MB / 297.1 MB, free: 6.699 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.0009759/0.0009759, allocations: 173.3 kB / 366.3 MB, free: 1.969 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.119/1.119, allocations: 205.2 MB / 0.6256 GB, free: 5.809 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.0008822/0.0008821, allocations: 92.36 kB / 0.7395 GB, free: 39.66 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.204/0.2049, allocations: 122.4 MB / 0.8591 GB, free: 13.26 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4798/0.6847, allocations: 116.3 MB / 0.9727 GB, free: 68.66 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.19/0.8748, allocations: 196.5 MB / 1.165 GB, free: 15.9 MB / 0.7761 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002135/0.875, allocations: 105 kB / 1.165 GB, free: 15.8 MB / 0.7761 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 798 * Number of variables: 798 Notification: Performance of Generate backend data structure: time 0.5722/1.447, allocations: 115.1 MB / 1.277 GB, free: 192.6 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 3.155e-05/1.447, allocations: 7.781 kB / 1.277 GB, free: 192.6 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003506/1.451, allocations: 0.6497 MB / 1.278 GB, free: 192.4 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003418/1.454, allocations: 2.071 MB / 1.28 GB, free: 191.3 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.631e-05/1.454, allocations: 98.31 kB / 1.28 GB, free: 191.3 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003553/1.455, allocations: 168.7 kB / 1.28 GB, free: 191.3 MB / 0.823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004433/1.459, allocations: 3.088 MB / 1.283 GB, free: 190.1 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00538/1.464, allocations: 4.223 MB / 1.287 GB, free: 188 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.571e-05/1.465, allocations: 13.31 kB / 1.287 GB, free: 188 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002602/1.465, allocations: 6.312 kB / 1.287 GB, free: 188 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001205/1.465, allocations: 180.5 kB / 1.287 GB, free: 187.9 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01558/1.481, allocations: 21.05 MB / 1.308 GB, free: 168.6 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00117/1.482, allocations: 1.18 MB / 1.309 GB, free: 168 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001144/1.483, allocations: 1.03 MB / 1.31 GB, free: 167.6 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 6.501e-05/1.483, allocations: 16.83 kB / 1.31 GB, free: 167.6 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.292e-05/1.483, allocations: 43.16 kB / 1.31 GB, free: 167.5 MB / 0.823 GB Notification: Performance of pre-optimization done (n=107): time 4.118e-06/1.483, allocations: 0 / 1.31 GB, free: 167.5 MB / 0.823 GB Notification: Performance of matching and sorting (n=138): time 0.007914/1.491, allocations: 4.798 MB / 1.315 GB, free: 163.4 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.316e-05/1.491, allocations: 64.72 kB / 1.315 GB, free: 163.3 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000835/1.492, allocations: 0.8306 MB / 1.316 GB, free: 162.5 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 7.138e-05/1.492, allocations: 29.7 kB / 1.316 GB, free: 162.4 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002942/1.492, allocations: 1.135 MB / 1.317 GB, free: 161.3 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002217/1.492, allocations: 465 kB / 1.317 GB, free: 160.8 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.605e-05/1.493, allocations: 0 / 1.317 GB, free: 160.8 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 6.927e-05/1.493, allocations: 369.9 kB / 1.318 GB, free: 160.4 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008575/1.493, allocations: 0.8638 MB / 1.318 GB, free: 159.6 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009874/1.494, allocations: 1.32 MB / 1.32 GB, free: 158.1 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001043/1.495, allocations: 1.111 MB / 1.321 GB, free: 156.9 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.669e-06/1.495, allocations: 4 kB / 1.321 GB, free: 156.9 MB / 0.823 GB Notification: Performance of matching and sorting (n=205) (initialization): time 0.004486/1.5, allocations: 3.262 MB / 1.324 GB, free: 153.7 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.377e-05/1.5, allocations: 4 kB / 1.324 GB, free: 153.7 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.529e-05/1.5, allocations: 16.84 kB / 1.324 GB, free: 153.7 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002729/1.503, allocations: 1.11 MB / 1.325 GB, free: 152.6 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008494/1.504, allocations: 251.6 kB / 1.325 GB, free: 152.3 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01146/1.515, allocations: 11.32 MB / 1.336 GB, free: 140.6 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001161/1.516, allocations: 40.52 kB / 1.336 GB, free: 140.6 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001149/1.516, allocations: 64 kB / 1.336 GB, free: 140.5 MB / 0.823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 65 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (134): * Single equations (assignments): 131 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(5,84.0%) 17,(5,84.0%) 17,(5,88.0%) 25} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002406/1.517, allocations: 148.5 kB / 1.337 GB, free: 140.4 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001774/1.517, allocations: 150.2 kB / 1.337 GB, free: 140.2 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00442/1.521, allocations: 3.045 MB / 1.34 GB, free: 137.2 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.506e-06/1.521, allocations: 12 kB / 1.34 GB, free: 137.2 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.067e-06/1.521, allocations: 16.47 kB / 1.34 GB, free: 137.2 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.055e-05/1.521, allocations: 11.97 kB / 1.34 GB, free: 137.2 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007449/1.529, allocations: 5.61 MB / 1.345 GB, free: 131.5 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.251e-06/1.529, allocations: 4 kB / 1.345 GB, free: 131.5 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005594/1.529, allocations: 131.8 kB / 1.345 GB, free: 131.3 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002428/1.532, allocations: 1.029 MB / 1.346 GB, free: 130.3 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.661e-05/1.532, allocations: 7.938 kB / 1.346 GB, free: 130.3 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01115/1.543, allocations: 11.01 MB / 1.357 GB, free: 119 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.247e-06/1.543, allocations: 7.906 kB / 1.357 GB, free: 118.9 MB / 0.823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.004437/1.548, allocations: 3.267 MB / 1.36 GB, free: 115.5 MB / 0.823 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.004074/1.552, allocations: 3.676 MB / 1.364 GB, free: 111.7 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006661/1.552, allocations: 403.6 kB / 1.364 GB, free: 111.3 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000217/1.553, allocations: 11.98 kB / 1.364 GB, free: 111.3 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007096/1.553, allocations: 35.95 kB / 1.364 GB, free: 111.3 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000138/1.553, allocations: 80.75 kB / 1.364 GB, free: 111.2 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.616e-05/1.553, allocations: 36 kB / 1.364 GB, free: 111.1 MB / 0.823 GB Notification: Performance of sort global known variables: time 0.0006509/1.554, allocations: 0.6282 MB / 1.365 GB, free: 110.5 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.002382/1.557, allocations: 0.5703 MB / 1.366 GB, free: 109.9 MB / 0.823 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 (70): * Single equations (assignments): 67 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(5,84.0%) 17,(5,88.0%) 25,(5,84.0%) 17} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002102/1.557, allocations: 119 kB / 1.366 GB, free: 109.8 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.003699/1.56, allocations: 2.81 MB / 1.369 GB, free: 107 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 3.647e-06/1.56, allocations: 1.25 kB / 1.369 GB, free: 107 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.00231/1.563, allocations: 1.699 MB / 1.37 GB, free: 105.2 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001576/1.564, allocations: 384.7 kB / 1.371 GB, free: 104.9 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007219/1.572, allocations: 4.34 MB / 1.375 GB, free: 100.4 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001933/1.574, allocations: 2.421 MB / 1.377 GB, free: 97.96 MB / 0.823 GB Notification: Performance of SimCode: time 7.81e-07/1.574, allocations: 0 / 1.377 GB, free: 97.96 MB / 0.823 GB (rm -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL_N_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL_N.fmu > Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe 2>&1)