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_RL.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_RL,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_RL",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_RL",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.295/1.295, allocations: 285.5 MB / 292.8 MB, free: 10.48 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.000888/0.000888, allocations: 181.2 kB / 361.1 MB, free: 7.113 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9966/0.9966, allocations: 205.1 MB / 0.6195 GB, free: 10.32 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.0007921/0.000792, allocations: 92.95 kB / 0.7326 GB, free: 44.24 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.1719/0.1727, allocations: 121.5 MB / 0.8512 GB, free: 2.895 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4036/0.5764, allocations: 115.3 MB / 0.9638 GB, free: 78.43 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1654/0.7418, allocations: 187.1 MB / 1.147 GB, free: 0.8594 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002358/0.7421, allocations: 97.58 kB / 1.147 GB, free: 0.7656 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: 140 * Number of variables: 140 Notification: Performance of Generate backend data structure: time 0.06945/0.8115, allocations: 32.14 MB / 1.178 GB, free: 452 kB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.049e-05/0.8116, allocations: 8 kB / 1.178 GB, free: 444 kB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00146/0.813, allocations: 202.9 kB / 1.178 GB, free: 240 kB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009649/0.814, allocations: 0.4935 MB / 1.179 GB, free: 15.7 MB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.093e-05/0.8141, allocations: 16 kB / 1.179 GB, free: 15.68 MB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001482/0.8142, allocations: 43.88 kB / 1.179 GB, free: 15.64 MB / 0.7917 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007139/0.8149, allocations: 475.6 kB / 1.179 GB, free: 15.18 MB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009603/0.8159, allocations: 0.8027 MB / 1.18 GB, free: 14.26 MB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.352e-05/0.816, allocations: 7.938 kB / 1.18 GB, free: 14.25 MB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.572e-05/0.816, allocations: 7.984 kB / 1.18 GB, free: 14.25 MB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.81e-05/0.8161, allocations: 44.97 kB / 1.18 GB, free: 14.2 MB / 0.7917 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003892/0.82, allocations: 4.503 MB / 1.184 GB, free: 9.363 MB / 0.7917 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003484/0.8203, allocations: 278.5 kB / 1.185 GB, free: 9.082 MB / 0.7917 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002633/0.8206, allocations: 222.9 kB / 1.185 GB, free: 8.863 MB / 0.7917 GB Notification: Performance of preOpt evalFunc (simulation): time 2.669e-05/0.8206, allocations: 4 kB / 1.185 GB, free: 8.859 MB / 0.7917 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.227e-05/0.8207, allocations: 34.56 kB / 1.185 GB, free: 8.816 MB / 0.7917 GB Notification: Performance of pre-optimization done (n=33): time 2.194e-06/0.8207, allocations: 0 / 1.185 GB, free: 8.816 MB / 0.7917 GB Notification: Performance of matching and sorting (n=40): time 0.003631/0.8243, allocations: 2.016 MB / 1.187 GB, free: 6.711 MB / 0.7917 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.647e-05/0.8243, allocations: 59.39 kB / 1.187 GB, free: 6.641 MB / 0.7917 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003243/0.8247, allocations: 333.1 kB / 1.187 GB, free: 6.312 MB / 0.7917 GB Notification: Performance of collectPreVariables (initialization): time 3.4e-05/0.8247, allocations: 31.58 kB / 1.187 GB, free: 6.277 MB / 0.7917 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001288/0.8249, allocations: 287.6 kB / 1.188 GB, free: 5.988 MB / 0.7917 GB Notification: Performance of collectInitialBindings (initialization): time 9.157e-05/0.825, allocations: 134 kB / 1.188 GB, free: 5.855 MB / 0.7917 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.329e-05/0.825, allocations: 0 / 1.188 GB, free: 5.855 MB / 0.7917 GB Notification: Performance of setup shared object (initialization): time 0.0001094/0.8251, allocations: 358.8 kB / 1.188 GB, free: 5.496 MB / 0.7917 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003025/0.8254, allocations: 233.2 kB / 1.188 GB, free: 5.27 MB / 0.7917 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003744/0.8258, allocations: 368.1 kB / 1.189 GB, free: 4.844 MB / 0.7917 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003726/0.8262, allocations: 285.4 kB / 1.189 GB, free: 4.566 MB / 0.7917 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.547e-06/0.8262, allocations: 4 kB / 1.189 GB, free: 4.562 MB / 0.7917 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001496/0.8277, allocations: 0.844 MB / 1.19 GB, free: 3.703 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 1.497e-05/0.8277, allocations: 7.906 kB / 1.19 GB, free: 3.695 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.876e-06/0.8277, allocations: 4 kB / 1.19 GB, free: 3.691 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007498/0.8285, allocations: 222.4 kB / 1.19 GB, free: 3.465 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005002/0.829, allocations: 107.8 kB / 1.19 GB, free: 3.359 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004101/0.8331, allocations: 4.621 MB / 1.195 GB, free: 14.4 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003813/0.8335, allocations: 15.89 kB / 1.195 GB, free: 14.39 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.229e-05/0.8335, allocations: 24 kB / 1.195 GB, free: 14.36 MB / 0.8073 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (55): * Single equations (assignments): 52 * 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 {(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001139/0.8337, allocations: 123.6 kB / 1.195 GB, free: 14.24 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.894e-05/0.8338, allocations: 55.34 kB / 1.195 GB, free: 14.18 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001308/0.8351, allocations: 0.746 MB / 1.196 GB, free: 13.42 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.053e-06/0.8351, allocations: 8.469 kB / 1.196 GB, free: 13.41 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.066e-06/0.8351, allocations: 4 kB / 1.196 GB, free: 13.41 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.141e-06/0.8351, allocations: 3.984 kB / 1.196 GB, free: 13.41 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002114/0.8372, allocations: 1.37 MB / 1.197 GB, free: 11.96 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.68e-06/0.8373, allocations: 7.984 kB / 1.197 GB, free: 11.95 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003754/0.8376, allocations: 66.97 kB / 1.197 GB, free: 11.89 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006554/0.8383, allocations: 208 kB / 1.197 GB, free: 11.68 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.15e-05/0.8383, allocations: 4 kB / 1.197 GB, free: 11.68 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003739/0.8421, allocations: 4.54 MB / 1.202 GB, free: 6.789 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.069e-06/0.8421, allocations: 4 kB / 1.202 GB, free: 6.785 MB / 0.8073 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001551/0.8437, allocations: 1.194 MB / 1.203 GB, free: 5.5 MB / 0.8073 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001988/0.8457, allocations: 1.891 MB / 1.205 GB, free: 3.516 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002011/0.8459, allocations: 168.4 kB / 1.205 GB, free: 3.332 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.112e-05/0.846, allocations: 4 kB / 1.205 GB, free: 3.328 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002984/0.8463, allocations: 15.97 kB / 1.205 GB, free: 3.312 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.028e-05/0.8463, allocations: 19.97 kB / 1.205 GB, free: 3.293 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.01e-05/0.8464, allocations: 13.31 kB / 1.205 GB, free: 3.281 MB / 0.8073 GB Notification: Performance of sort global known variables: time 0.0002324/0.8466, allocations: 255.2 kB / 1.205 GB, free: 3.031 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.001147/0.8478, allocations: 155.8 kB / 1.205 GB, free: 2.879 MB / 0.8073 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 2 (RL_3.i_p[1],RL_3.i_p[2]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (30): * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001617/0.8479, allocations: 115.4 kB / 1.205 GB, free: 2.758 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.001316/0.8493, allocations: 0.9222 MB / 1.206 GB, free: 1.809 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 4.558e-06/0.8493, allocations: 4 kB / 1.206 GB, free: 1.805 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 0.0008314/0.8501, allocations: 0.6147 MB / 1.207 GB, free: 1.16 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006587/0.8508, allocations: 137.7 kB / 1.207 GB, free: 1.035 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001739/0.8525, allocations: 0.9614 MB / 1.208 GB, free: 32 kB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000601/0.8531, allocations: 0.9993 MB / 1.209 GB, free: 15 MB / 0.823 GB Notification: Performance of SimCode: time 3.81e-07/0.8531, allocations: 1.219 kB / 1.209 GB, free: 15 MB / 0.823 GB (rm -f Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_RL_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_RL.fmu > Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe 2>&1)