Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.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.ThreePhasesBalanced.Lines.Examples.ACLine_RL,fileNamePrefix="Buildings_8_0_0_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_8_0_0_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.0/package.mo): time 2.13/2.13, allocations: 284.8 MB / 292.1 MB, free: 10.81 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.001606/0.001605, allocations: 187.5 kB / 360.3 MB, free: 7.578 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.665/1.665, allocations: 205.1 MB / 0.6187 GB, free: 13.25 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.00118/0.001179, allocations: 97.73 kB / 0.7317 GB, free: 45.17 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2423/0.2435, allocations: 121.4 MB / 0.8502 GB, free: 3.969 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5568/0.8003, allocations: 115.2 MB / 0.9628 GB, free: 78.46 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.275/1.075, allocations: 187 MB / 1.145 GB, free: 1.828 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003631/1.076, allocations: 96.55 kB / 1.145 GB, free: 1.734 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.1272/1.203, allocations: 32.14 MB / 1.177 GB, free: 1.402 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.525e-05/1.203, allocations: 11.98 kB / 1.177 GB, free: 1.391 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002392/1.205, allocations: 190.9 kB / 1.177 GB, free: 1.203 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001565/1.207, allocations: 0.4975 MB / 1.178 GB, free: 0.6641 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.046e-05/1.207, allocations: 16 kB / 1.178 GB, free: 0.6484 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002285/1.207, allocations: 43.89 kB / 1.178 GB, free: 0.6055 MB / 0.7761 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001432/1.209, allocations: 474.1 kB / 1.178 GB, free: 144 kB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001806/1.211, allocations: 0.7988 MB / 1.179 GB, free: 15.23 MB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.452e-05/1.211, allocations: 7.938 kB / 1.179 GB, free: 15.23 MB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.357e-05/1.211, allocations: 4 kB / 1.179 GB, free: 15.22 MB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.264e-05/1.211, allocations: 44.97 kB / 1.179 GB, free: 15.18 MB / 0.7917 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007164/1.218, allocations: 4.509 MB / 1.183 GB, free: 10.34 MB / 0.7917 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006721/1.219, allocations: 272.2 kB / 1.184 GB, free: 10.06 MB / 0.7917 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005253/1.219, allocations: 226 kB / 1.184 GB, free: 9.84 MB / 0.7917 GB Notification: Performance of preOpt evalFunc (simulation): time 3.539e-05/1.219, allocations: 4 kB / 1.184 GB, free: 9.836 MB / 0.7917 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.463e-05/1.219, allocations: 38.56 kB / 1.184 GB, free: 9.789 MB / 0.7917 GB Notification: Performance of pre-optimization done (n=33): time 3.217e-06/1.219, allocations: 0 / 1.184 GB, free: 9.789 MB / 0.7917 GB Notification: Performance of matching and sorting (n=40): time 0.00708/1.226, allocations: 2.024 MB / 1.186 GB, free: 7.668 MB / 0.7917 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.292e-05/1.227, allocations: 55.41 kB / 1.186 GB, free: 7.602 MB / 0.7917 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006676/1.227, allocations: 329.1 kB / 1.186 GB, free: 7.277 MB / 0.7917 GB Notification: Performance of collectPreVariables (initialization): time 6.413e-05/1.227, allocations: 25.7 kB / 1.186 GB, free: 7.246 MB / 0.7917 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002287/1.228, allocations: 295.6 kB / 1.186 GB, free: 6.949 MB / 0.7917 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001656/1.228, allocations: 134 kB / 1.187 GB, free: 6.816 MB / 0.7917 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.213e-05/1.228, allocations: 0 / 1.187 GB, free: 6.816 MB / 0.7917 GB Notification: Performance of setup shared object (initialization): time 0.0001908/1.228, allocations: 366.7 kB / 1.187 GB, free: 6.449 MB / 0.7917 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006329/1.229, allocations: 225.2 kB / 1.187 GB, free: 6.23 MB / 0.7917 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007421/1.229, allocations: 376.1 kB / 1.187 GB, free: 5.797 MB / 0.7917 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007275/1.23, allocations: 277.4 kB / 1.188 GB, free: 5.527 MB / 0.7917 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.613e-06/1.23, allocations: 6.062 kB / 1.188 GB, free: 5.523 MB / 0.7917 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.002928/1.233, allocations: 0.8433 MB / 1.189 GB, free: 4.664 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 2.406e-05/1.233, allocations: 12.84 kB / 1.189 GB, free: 4.652 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.528e-05/1.233, allocations: 4.562 kB / 1.189 GB, free: 4.648 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001426/1.235, allocations: 222.4 kB / 1.189 GB, free: 4.422 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001017/1.236, allocations: 111.8 kB / 1.189 GB, free: 4.312 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00775/1.243, allocations: 4.621 MB / 1.193 GB, free: 15.36 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008331/1.244, allocations: 15.89 kB / 1.193 GB, free: 15.34 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.2e-05/1.244, allocations: 20.06 kB / 1.193 GB, free: 15.32 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.000201/1.245, allocations: 119.8 kB / 1.194 GB, free: 15.2 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001389/1.245, allocations: 55.34 kB / 1.194 GB, free: 15.14 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002675/1.247, allocations: 0.7383 MB / 1.194 GB, free: 14.39 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.437e-05/1.247, allocations: 7.906 kB / 1.194 GB, free: 14.38 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.221e-05/1.247, allocations: 10.56 kB / 1.194 GB, free: 14.38 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.947e-06/1.247, allocations: 7.984 kB / 1.194 GB, free: 14.37 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004101/1.252, allocations: 1.373 MB / 1.196 GB, free: 12.92 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.008e-05/1.252, allocations: 7.938 kB / 1.196 GB, free: 12.91 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007869/1.252, allocations: 55.97 kB / 1.196 GB, free: 12.86 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001301/1.254, allocations: 206.5 kB / 1.196 GB, free: 12.64 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.372e-05/1.254, allocations: 4 kB / 1.196 GB, free: 12.64 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007218/1.261, allocations: 4.544 MB / 1.2 GB, free: 7.754 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.047e-06/1.261, allocations: 4 kB / 1.2 GB, free: 7.75 MB / 0.8073 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003228/1.264, allocations: 1.202 MB / 1.202 GB, free: 6.461 MB / 0.8073 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.004097/1.269, allocations: 1.887 MB / 1.203 GB, free: 4.48 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004185/1.269, allocations: 168.4 kB / 1.204 GB, free: 4.297 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001234/1.269, allocations: 0 / 1.204 GB, free: 4.297 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005679/1.27, allocations: 20.03 kB / 1.204 GB, free: 4.277 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.628e-05/1.27, allocations: 23.97 kB / 1.204 GB, free: 4.254 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.281e-05/1.27, allocations: 12 kB / 1.204 GB, free: 4.242 MB / 0.8073 GB Notification: Performance of sort global known variables: time 0.0004894/1.27, allocations: 251.2 kB / 1.204 GB, free: 3.996 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.001814/1.272, allocations: 159.8 kB / 1.204 GB, free: 3.84 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.0002507/1.272, allocations: 118.8 kB / 1.204 GB, free: 3.719 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.002468/1.275, allocations: 0.9094 MB / 1.205 GB, free: 2.781 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 4.859e-06/1.275, allocations: 0 / 1.205 GB, free: 2.781 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 0.00155/1.276, allocations: 0.6239 MB / 1.206 GB, free: 2.129 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001304/1.278, allocations: 133.2 kB / 1.206 GB, free: 2.008 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003068/1.281, allocations: 0.9688 MB / 1.207 GB, free: 0.9961 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001114/1.282, allocations: 0.9998 MB / 1.208 GB, free: 15.97 MB / 0.823 GB Notification: Performance of SimCode: time 1.673e-06/1.282, allocations: 4 kB / 1.208 GB, free: 15.96 MB / 0.823 GB (rm -f Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe ; mkfifo Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe >> ../files/Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_RL_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_RL.fmu > Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe 2>&1)