Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.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.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_R",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_R",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.1-maint.8.0.x/package.mo): time 1.307/1.307, allocations: 285.5 MB / 292.8 MB, free: 10.49 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.0008868/0.0008868, allocations: 181.3 kB / 361.1 MB, free: 7.082 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.011/1.011, allocations: 205.1 MB / 0.6195 GB, free: 10.3 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.0007704/0.0007704, allocations: 90.33 kB / 0.7325 GB, free: 44.23 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.1778/0.1786, allocations: 121.4 MB / 0.8512 GB, free: 2.871 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4025/0.5811, allocations: 115.3 MB / 0.9638 GB, free: 78.26 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1492/0.7303, allocations: 162.8 MB / 1.123 GB, free: 9.098 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002169/0.7305, allocations: 92.45 kB / 1.123 GB, free: 9.008 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: 183 * Number of variables: 183 Notification: Performance of Generate backend data structure: time 0.07898/0.8095, allocations: 37.41 MB / 1.159 GB, free: 3.348 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 3.213e-05/0.8096, allocations: 15.98 kB / 1.159 GB, free: 3.332 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001558/0.8111, allocations: 246.6 kB / 1.16 GB, free: 3.09 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000844/0.812, allocations: 0.5393 MB / 1.16 GB, free: 2.512 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.342e-05/0.812, allocations: 24 kB / 1.16 GB, free: 2.488 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.019e-05/0.8121, allocations: 36 kB / 1.16 GB, free: 2.453 MB / 0.7605 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0009168/0.8131, allocations: 0.6285 MB / 1.161 GB, free: 1.824 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00119/0.8143, allocations: 1.037 MB / 1.162 GB, free: 0.6445 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.359e-05/0.8143, allocations: 11.88 kB / 1.162 GB, free: 0.6328 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.368e-05/0.8144, allocations: 4 kB / 1.162 GB, free: 0.6289 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.501e-05/0.8144, allocations: 57.28 kB / 1.162 GB, free: 0.5703 MB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004427/0.8189, allocations: 5.794 MB / 1.168 GB, free: 10.36 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007537/0.8196, allocations: 0.5143 MB / 1.168 GB, free: 9.836 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003743/0.82, allocations: 322.8 kB / 1.168 GB, free: 9.52 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 3.164e-05/0.82, allocations: 12.42 kB / 1.168 GB, free: 9.508 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.316e-05/0.8201, allocations: 43 kB / 1.168 GB, free: 9.457 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=47): time 1.824e-06/0.8201, allocations: 1.5 kB / 1.168 GB, free: 9.457 MB / 0.7761 GB Notification: Performance of matching and sorting (n=48): time 0.001899/0.822, allocations: 1.185 MB / 1.17 GB, free: 8.25 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.802e-05/0.822, allocations: 55.84 kB / 1.17 GB, free: 8.184 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003884/0.8224, allocations: 406.2 kB / 1.17 GB, free: 7.781 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 3.469e-05/0.8225, allocations: 29.64 kB / 1.17 GB, free: 7.746 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001473/0.8226, allocations: 350.8 kB / 1.17 GB, free: 7.398 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001155/0.8227, allocations: 161.6 kB / 1.171 GB, free: 7.238 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.601e-05/0.8228, allocations: 0 / 1.171 GB, free: 7.238 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001127/0.8229, allocations: 370.7 kB / 1.171 GB, free: 6.867 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003283/0.8232, allocations: 257.2 kB / 1.171 GB, free: 6.617 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004188/0.8237, allocations: 449.5 kB / 1.172 GB, free: 6.102 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004347/0.8241, allocations: 333.2 kB / 1.172 GB, free: 5.777 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.847e-06/0.8241, allocations: 0 / 1.172 GB, free: 5.777 MB / 0.7761 GB Notification: Performance of matching and sorting (n=81) (initialization): time 0.001509/0.8256, allocations: 0.9827 MB / 1.173 GB, free: 4.773 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.221e-05/0.8256, allocations: 4 kB / 1.173 GB, free: 4.77 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.628e-06/0.8257, allocations: 8.75 kB / 1.173 GB, free: 4.762 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007603/0.8264, allocations: 272 kB / 1.173 GB, free: 4.484 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004269/0.8269, allocations: 111.8 kB / 1.173 GB, free: 4.375 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005057/0.8319, allocations: 6.211 MB / 1.179 GB, free: 13.7 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004388/0.8324, allocations: 19.97 kB / 1.179 GB, free: 13.68 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.664e-05/0.8324, allocations: 28 kB / 1.179 GB, free: 13.66 MB / 0.7917 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 27 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (63): * Single equations (assignments): 59 * 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 {(2,100.0%) 6,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001223/0.8326, allocations: 122.2 kB / 1.179 GB, free: 13.53 MB / 0.7917 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.69e-05/0.8327, allocations: 63.81 kB / 1.18 GB, free: 13.47 MB / 0.7917 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001328/0.834, allocations: 0.8482 MB / 1.18 GB, free: 12.6 MB / 0.7917 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.939e-06/0.834, allocations: 8 kB / 1.18 GB, free: 12.59 MB / 0.7917 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.164e-06/0.834, allocations: 4 kB / 1.18 GB, free: 12.59 MB / 0.7917 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.791e-06/0.834, allocations: 3.984 kB / 1.18 GB, free: 12.58 MB / 0.7917 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002169/0.8362, allocations: 1.601 MB / 1.182 GB, free: 10.91 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.845e-06/0.8362, allocations: 1.406 kB / 1.182 GB, free: 10.91 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002469/0.8365, allocations: 63.89 kB / 1.182 GB, free: 10.84 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007104/0.8372, allocations: 268.8 kB / 1.182 GB, free: 10.57 MB / 0.7917 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.211e-05/0.8373, allocations: 4 kB / 1.182 GB, free: 10.57 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004896/0.8422, allocations: 6.183 MB / 1.188 GB, free: 3.934 MB / 0.7917 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.797e-06/0.8422, allocations: 1.328 kB / 1.188 GB, free: 3.934 MB / 0.7917 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001306/0.8435, allocations: 1.018 MB / 1.189 GB, free: 2.832 MB / 0.7917 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001375/0.8449, allocations: 1.41 MB / 1.191 GB, free: 1.336 MB / 0.7917 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002313/0.8451, allocations: 188.2 kB / 1.191 GB, free: 1.133 MB / 0.7917 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.919e-05/0.8452, allocations: 4 kB / 1.191 GB, free: 1.129 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003319/0.8455, allocations: 15.92 kB / 1.191 GB, free: 1.113 MB / 0.7917 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.61e-05/0.8456, allocations: 32.84 kB / 1.191 GB, free: 1.082 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.969e-05/0.8456, allocations: 16 kB / 1.191 GB, free: 1.066 MB / 0.7917 GB Notification: Performance of sort global known variables: time 0.0002684/0.8459, allocations: 306.9 kB / 1.191 GB, free: 0.7695 MB / 0.7917 GB Notification: Performance of remove unused functions: time 0.001183/0.8471, allocations: 191.9 kB / 1.191 GB, free: 0.582 MB / 0.7917 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (31): * Single equations (assignments): 27 * 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 {(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 6,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001429/0.8473, allocations: 114.9 kB / 1.191 GB, free: 472 kB / 0.7917 GB Notification: Performance of simCode: created initialization part: time 0.00154/0.8488, allocations: 1.146 MB / 1.193 GB, free: 15.27 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 3.016e-06/0.8488, allocations: 0 / 1.193 GB, free: 15.27 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 0.001006/0.8498, allocations: 0.8038 MB / 1.193 GB, free: 14.43 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007141/0.8506, allocations: 155.1 kB / 1.194 GB, free: 14.29 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00175/0.8523, allocations: 1.006 MB / 1.195 GB, free: 13.24 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006295/0.853, allocations: 1.053 MB / 1.196 GB, free: 12.16 MB / 0.8073 GB Notification: Performance of SimCode: time 3e-07/0.853, allocations: 0 / 1.196 GB, free: 12.16 MB / 0.8073 GB (rm -f Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_R_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_R.fmu > Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe 2>&1)