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.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,fileNamePrefix="Buildings_8_0_0_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine,fileNamePrefix="Buildings_8_0_0_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine",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.094/2.094, allocations: 284.8 MB / 292.1 MB, free: 1.492 MB / 227.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001626/0.001626, allocations: 183.9 kB / 360.3 MB, free: 15.65 MB / 291.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.602/1.602, allocations: 205.1 MB / 0.6187 GB, free: 6.629 MB / 467.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001215/0.001214, allocations: 90.25 kB / 0.7317 GB, free: 46.83 MB / 0.5186 GB Notification: Performance of FrontEnd - loaded program: time 0.2457/0.2469, allocations: 121.4 MB / 0.8502 GB, free: 13.63 MB / 0.5967 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5576/0.8045, allocations: 115.2 MB / 0.9628 GB, free: 86.45 MB / 0.6749 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2965/1.101, allocations: 206.1 MB / 1.164 GB, free: 8.168 MB / 0.7686 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003804/1.102, allocations: 93.02 kB / 1.164 GB, free: 8.078 MB / 0.7686 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 327 * Number of variables: 327 Notification: Performance of Generate backend data structure: time 0.3364/1.438, allocations: 85.11 MB / 1.247 GB, free: 2.301 MB / 0.8467 GB Notification: Performance of prepare preOptimizeDAE: time 4.951e-05/1.438, allocations: 12.5 kB / 1.247 GB, free: 2.289 MB / 0.8467 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02125/1.459, allocations: 1.515 MB / 1.249 GB, free: 0.7695 MB / 0.8467 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004543/1.464, allocations: 1.231 MB / 1.25 GB, free: 15.48 MB / 0.8624 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.005e-05/1.464, allocations: 40 kB / 1.25 GB, free: 15.44 MB / 0.8624 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003897/1.464, allocations: 75.91 kB / 1.25 GB, free: 15.37 MB / 0.8624 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.005293/1.47, allocations: 1.758 MB / 1.252 GB, free: 13.61 MB / 0.8624 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005379/1.475, allocations: 2.112 MB / 1.254 GB, free: 11.31 MB / 0.8624 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.327e-05/1.475, allocations: 4 kB / 1.254 GB, free: 11.31 MB / 0.8624 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002708/1.475, allocations: 4 kB / 1.254 GB, free: 11.3 MB / 0.8624 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001397/1.476, allocations: 90.22 kB / 1.254 GB, free: 11.21 MB / 0.8624 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02659/1.502, allocations: 10.34 MB / 1.264 GB, free: 316 kB / 0.8624 GB Notification: Performance of preOpt comSubExp (simulation): time 0.29/1.792, allocations: 1.652 MB / 1.266 GB, free: 313.9 MB / 0.8624 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001984/1.794, allocations: 0.9058 MB / 1.266 GB, free: 313.9 MB / 0.8624 GB Notification: Performance of preOpt evalFunc (simulation): time 8.47e-05/1.794, allocations: 15.34 kB / 1.267 GB, free: 313.9 MB / 0.8624 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.857e-05/1.794, allocations: 41.91 kB / 1.267 GB, free: 313.9 MB / 0.8624 GB Notification: Performance of pre-optimization done (n=89): time 3.757e-06/1.794, allocations: 0 / 1.267 GB, free: 313.9 MB / 0.8624 GB Notification: Performance of matching and sorting (n=131): time 0.02378/1.818, allocations: 5.8 MB / 1.272 GB, free: 313.5 MB / 0.8624 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.48e-05/1.818, allocations: 226.5 kB / 1.272 GB, free: 313.3 MB / 0.8624 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001528/1.82, allocations: 0.7623 MB / 1.273 GB, free: 313.1 MB / 0.8624 GB Notification: Performance of collectPreVariables (initialization): time 0.0002789/1.82, allocations: 25.7 kB / 1.273 GB, free: 313.1 MB / 0.8624 GB Notification: Performance of collectInitialEqns (initialization): time 0.000294/1.82, allocations: 0.527 MB / 1.274 GB, free: 312.9 MB / 0.8624 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005061/1.821, allocations: 436.7 kB / 1.274 GB, free: 312.7 MB / 0.8624 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001877/1.821, allocations: 0 / 1.274 GB, free: 312.7 MB / 0.8624 GB Notification: Performance of setup shared object (initialization): time 0.0001466/1.821, allocations: 358.3 kB / 1.274 GB, free: 312.3 MB / 0.8624 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002186/1.824, allocations: 0.9624 MB / 1.275 GB, free: 312.3 MB / 0.8624 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002363/1.826, allocations: 1.225 MB / 1.277 GB, free: 312.1 MB / 0.8624 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002896/1.829, allocations: 1.107 MB / 1.278 GB, free: 312.1 MB / 0.8624 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.284e-06/1.829, allocations: 3.688 kB / 1.278 GB, free: 312.1 MB / 0.8624 GB Notification: Performance of matching and sorting (n=164) (initialization): time 0.01621/1.845, allocations: 3.682 MB / 1.281 GB, free: 311.8 MB / 0.8624 GB Notification: Performance of prepare postOptimizeDAE: time 2.134e-05/1.845, allocations: 2.062 kB / 1.281 GB, free: 311.8 MB / 0.8624 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.896e-05/1.845, allocations: 7.156 kB / 1.281 GB, free: 311.8 MB / 0.8624 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0123/1.858, allocations: 1.581 MB / 1.283 GB, free: 311.7 MB / 0.8624 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00428/1.862, allocations: 357.8 kB / 1.283 GB, free: 311.7 MB / 0.8624 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03528/1.897, allocations: 23.31 MB / 1.306 GB, free: 295.9 MB / 0.8624 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004863/1.902, allocations: 208.3 kB / 1.306 GB, free: 295.9 MB / 0.8624 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003404/1.902, allocations: 64.06 kB / 1.306 GB, free: 295.9 MB / 0.8624 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 (95): * Single equations (assignments): 82 * 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: 13 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 13 {(3,100.0%) 9,(1,100.0%) 1,(1,100.0%) 1,(3,100.0%) 9,(2,100.0%) 4,(1,100.0%) 1,(2,100.0%) 4,(3,100.0%) 9,(1,100.0%) 1,(3,100.0%) 9,(1,100.0%) 1,(2,100.0%) 4,(2,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004997/1.903, allocations: 139.6 kB / 1.306 GB, free: 295.8 MB / 0.8624 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004492/1.903, allocations: 143.8 kB / 1.306 GB, free: 295.7 MB / 0.8624 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01615/1.92, allocations: 3.791 MB / 1.31 GB, free: 295.5 MB / 0.8624 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.152e-05/1.92, allocations: 18.75 kB / 1.31 GB, free: 295.5 MB / 0.8624 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.988e-05/1.92, allocations: 10.5 kB / 1.31 GB, free: 295.5 MB / 0.8624 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.925e-05/1.92, allocations: 6.984 kB / 1.31 GB, free: 295.5 MB / 0.8624 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0212/1.941, allocations: 6.016 MB / 1.316 GB, free: 294.9 MB / 0.8624 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.996e-05/1.941, allocations: 3.125 kB / 1.316 GB, free: 294.9 MB / 0.8624 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003901/1.945, allocations: 310 kB / 1.316 GB, free: 294.9 MB / 0.8624 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01152/1.956, allocations: 1.47 MB / 1.318 GB, free: 294.8 MB / 0.8624 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003314/1.957, allocations: 21.72 kB / 1.318 GB, free: 294.8 MB / 0.8624 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0326/1.989, allocations: 22.37 MB / 1.34 GB, free: 278.4 MB / 0.8624 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.147e-06/1.99, allocations: 2.531 kB / 1.34 GB, free: 278.4 MB / 0.8624 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01432/2.004, allocations: 3.667 MB / 1.343 GB, free: 276.9 MB / 0.8624 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.01431/2.018, allocations: 4.067 MB / 1.347 GB, free: 274.9 MB / 0.8624 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001415/2.02, allocations: 459.5 kB / 1.348 GB, free: 274.6 MB / 0.8624 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004276/2.02, allocations: 4.188 kB / 1.348 GB, free: 274.6 MB / 0.8624 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00413/2.024, allocations: 204.5 kB / 1.348 GB, free: 274.6 MB / 0.8624 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000246/2.025, allocations: 75.03 kB / 1.348 GB, free: 274.6 MB / 0.8624 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000238/2.025, allocations: 55.28 kB / 1.348 GB, free: 274.6 MB / 0.8624 GB Notification: Performance of sort global known variables: time 0.001172/2.026, allocations: 0.5681 MB / 1.349 GB, free: 274.3 MB / 0.8624 GB Notification: Performance of remove unused functions: time 0.00388/2.03, allocations: 0.5164 MB / 1.349 GB, free: 274.3 MB / 0.8624 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (67): * Single equations (assignments): 54 * 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: 13 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 13 {(1,100.0%) 1,(2,100.0%) 4,(1,100.0%) 1,(3,100.0%) 9,(1,100.0%) 1,(1,100.0%) 1,(3,100.0%) 7,(1,100.0%) 1,(2,100.0%) 4,(2,100.0%) 4,(3,100.0%) 9,(3,100.0%) 7,(2,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004811/2.03, allocations: 143.8 kB / 1.349 GB, free: 274.2 MB / 0.8624 GB Notification: Performance of simCode: created initialization part: time 0.01094/2.041, allocations: 4.059 MB / 1.353 GB, free: 272 MB / 0.8624 GB Notification: Performance of simCode: created event and clocks part: time 9.148e-06/2.041, allocations: 1.344 kB / 1.353 GB, free: 272 MB / 0.8624 GB Notification: Performance of simCode: created simulation system equations: time 0.008051/2.049, allocations: 2.849 MB / 1.356 GB, free: 270.2 MB / 0.8624 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003418/2.053, allocations: 407.2 kB / 1.356 GB, free: 270.1 MB / 0.8624 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01098/2.064, allocations: 2.922 MB / 1.359 GB, free: 269 MB / 0.8624 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002372/2.066, allocations: 1.555 MB / 1.361 GB, free: 268.2 MB / 0.8624 GB Notification: Performance of SimCode: time 1.252e-06/2.066, allocations: 6.719 kB / 1.361 GB, free: 268.2 MB / 0.8624 GB (rm -f Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe ; mkfifo Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe >> ../files/Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine.fmu > Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe 2>&1)