Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.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.ThreePhasesBalanced.Lines.Examples.ACLine_R,fileNamePrefix="Buildings_8_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_8_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.1.4-maint.8.1.x/package.mo): time 1.393/1.393, allocations: 289.8 MB / 297.1 MB, free: 6.617 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.001129/0.00113, allocations: 177.3 kB / 366.3 MB, free: 1.965 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.05/1.05, allocations: 205.2 MB / 0.6256 GB, free: 5.801 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.0007553/0.0007552, allocations: 90.7 kB / 0.7395 GB, free: 39.64 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.1853/0.1861, allocations: 122.4 MB / 0.8591 GB, free: 13.25 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4162/0.6023, allocations: 116.3 MB / 0.9727 GB, free: 68.58 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1593/0.7616, allocations: 163.8 MB / 1.133 GB, free: 0.6406 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002157/0.7619, allocations: 91.94 kB / 1.133 GB, free: 0.5508 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.08111/0.843, allocations: 37.43 MB / 1.169 GB, free: 10.71 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.117e-05/0.8431, allocations: 11.94 kB / 1.169 GB, free: 10.7 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001554/0.8446, allocations: 246.6 kB / 1.169 GB, free: 10.46 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000851/0.8455, allocations: 0.5394 MB / 1.17 GB, free: 9.879 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.37e-05/0.8455, allocations: 20 kB / 1.17 GB, free: 9.859 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.252e-05/0.8456, allocations: 40 kB / 1.17 GB, free: 9.82 MB / 0.7761 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0009509/0.8466, allocations: 0.6208 MB / 1.171 GB, free: 9.199 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001241/0.8478, allocations: 1.053 MB / 1.172 GB, free: 7.996 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.515e-05/0.8479, allocations: 3.938 kB / 1.172 GB, free: 7.992 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.351e-05/0.8479, allocations: 8 kB / 1.172 GB, free: 7.984 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.599e-05/0.848, allocations: 57.27 kB / 1.172 GB, free: 7.93 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004818/0.8528, allocations: 5.794 MB / 1.177 GB, free: 1.715 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008113/0.8536, allocations: 0.5117 MB / 1.178 GB, free: 1.191 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003827/0.854, allocations: 326.1 kB / 1.178 GB, free: 0.8711 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 3.089e-05/0.8541, allocations: 8.438 kB / 1.178 GB, free: 0.8633 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.74e-05/0.8541, allocations: 46.92 kB / 1.178 GB, free: 0.8086 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=47): time 1.713e-06/0.8541, allocations: 0 / 1.178 GB, free: 0.8086 MB / 0.7761 GB Notification: Performance of matching and sorting (n=48): time 0.001993/0.8561, allocations: 1.185 MB / 1.179 GB, free: 15.6 MB / 0.7917 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.846e-05/0.8562, allocations: 59.84 kB / 1.179 GB, free: 15.53 MB / 0.7917 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000404/0.8566, allocations: 398.2 kB / 1.18 GB, free: 15.13 MB / 0.7917 GB Notification: Performance of collectPreVariables (initialization): time 3.239e-05/0.8566, allocations: 25.7 kB / 1.18 GB, free: 15.1 MB / 0.7917 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001598/0.8568, allocations: 354.8 kB / 1.18 GB, free: 14.75 MB / 0.7917 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001075/0.8569, allocations: 161.6 kB / 1.18 GB, free: 14.59 MB / 0.7917 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.947e-05/0.8569, allocations: 0 / 1.18 GB, free: 14.59 MB / 0.7917 GB Notification: Performance of setup shared object (initialization): time 0.0001219/0.8571, allocations: 374.7 kB / 1.181 GB, free: 14.21 MB / 0.7917 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003493/0.8574, allocations: 257.2 kB / 1.181 GB, free: 13.96 MB / 0.7917 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004427/0.8579, allocations: 449.5 kB / 1.181 GB, free: 13.45 MB / 0.7917 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004216/0.8583, allocations: 329.2 kB / 1.182 GB, free: 13.12 MB / 0.7917 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.8583, allocations: 11.88 kB / 1.182 GB, free: 13.11 MB / 0.7917 GB Notification: Performance of matching and sorting (n=81) (initialization): time 0.001603/0.8599, allocations: 0.9755 MB / 1.183 GB, free: 12.12 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 1.226e-05/0.8599, allocations: 8.156 kB / 1.183 GB, free: 12.11 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.125e-05/0.86, allocations: 8 kB / 1.183 GB, free: 12.1 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008111/0.8608, allocations: 271.2 kB / 1.183 GB, free: 11.82 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004571/0.8612, allocations: 111.8 kB / 1.183 GB, free: 11.71 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005265/0.8665, allocations: 6.21 MB / 1.189 GB, free: 5.043 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004764/0.867, allocations: 15.98 kB / 1.189 GB, free: 5.027 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.833e-05/0.8671, allocations: 24 kB / 1.189 GB, free: 5.004 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.0001346/0.8672, allocations: 124.7 kB / 1.189 GB, free: 4.875 MB / 0.7917 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001031/0.8673, allocations: 71.31 kB / 1.189 GB, free: 4.805 MB / 0.7917 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001422/0.8687, allocations: 0.8481 MB / 1.19 GB, free: 3.934 MB / 0.7917 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.115e-06/0.8688, allocations: 4 kB / 1.19 GB, free: 3.93 MB / 0.7917 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.765e-06/0.8688, allocations: 7.938 kB / 1.19 GB, free: 3.922 MB / 0.7917 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.769e-06/0.8688, allocations: 0 / 1.19 GB, free: 3.922 MB / 0.7917 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002319/0.8711, allocations: 1.609 MB / 1.192 GB, free: 2.234 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.296e-06/0.8711, allocations: 0 / 1.192 GB, free: 2.234 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002561/0.8714, allocations: 52.09 kB / 1.192 GB, free: 2.184 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007625/0.8722, allocations: 275.3 kB / 1.192 GB, free: 1.902 MB / 0.7917 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.948e-05/0.8722, allocations: 0 / 1.192 GB, free: 1.902 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005051/0.8773, allocations: 6.183 MB / 1.198 GB, free: 11.27 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.511e-06/0.8773, allocations: 4 kB / 1.198 GB, free: 11.26 MB / 0.8073 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001364/0.8786, allocations: 1.024 MB / 1.199 GB, free: 10.16 MB / 0.8073 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001491/0.8801, allocations: 1.402 MB / 1.201 GB, free: 8.66 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002491/0.8804, allocations: 188.2 kB / 1.201 GB, free: 8.457 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.598e-05/0.8805, allocations: 3.984 kB / 1.201 GB, free: 8.453 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003459/0.8809, allocations: 11.98 kB / 1.201 GB, free: 8.441 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.145e-05/0.8809, allocations: 31.92 kB / 1.201 GB, free: 8.41 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.439e-05/0.881, allocations: 19.94 kB / 1.201 GB, free: 8.391 MB / 0.8073 GB Notification: Performance of sort global known variables: time 0.0002931/0.8813, allocations: 302.9 kB / 1.201 GB, free: 8.098 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.001349/0.8826, allocations: 195.9 kB / 1.201 GB, free: 7.906 MB / 0.8073 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.0001854/0.8828, allocations: 116.1 kB / 1.201 GB, free: 7.781 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.001636/0.8845, allocations: 1.141 MB / 1.202 GB, free: 6.605 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 3.446e-06/0.8845, allocations: 0 / 1.202 GB, free: 6.605 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 0.001076/0.8856, allocations: 0.8038 MB / 1.203 GB, free: 5.762 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007489/0.8863, allocations: 155.1 kB / 1.203 GB, free: 5.613 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001867/0.8882, allocations: 1.012 MB / 1.204 GB, free: 4.559 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006375/0.8889, allocations: 1.047 MB / 1.205 GB, free: 3.48 MB / 0.8073 GB Notification: Performance of SimCode: time 2.61e-07/0.8889, allocations: 0 / 1.205 GB, free: 3.48 MB / 0.8073 GB (rm -f Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_R_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_R.fmu > Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe 2>&1)