Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine,fileNamePrefix="Buildings_maint_7_0_x_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 7.0.3-maint.7.0.x/package.mo): time 1.225/1.225, allocations: 249.4 MB / 256.7 MB, free: 7.113 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009334/0.0009334, allocations: 181 kB / 316 MB, free: 3.574 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.149/1.149, allocations: 205.2 MB / 0.5667 GB, free: 15.73 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008172/0.0008172, allocations: 87.38 kB / 0.671 GB, free: 4.863 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.3584/0.3593, allocations: 112.5 MB / 0.7808 GB, free: 103 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1723/0.5316, allocations: 106.3 MB / 0.8847 GB, free: 12.59 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.5638/1.095, allocations: 201 MB / 1.081 GB, free: 5.121 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002441/1.096, allocations: 96.44 kB / 1.081 GB, free: 5.07 MB / 0.698 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.2073/1.303, allocations: 85.13 MB / 1.164 GB, free: 8.293 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.997e-05/1.303, allocations: 12 kB / 1.164 GB, free: 8.281 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01121/1.314, allocations: 1.523 MB / 1.166 GB, free: 6.754 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003509/1.318, allocations: 1.22 MB / 1.167 GB, free: 5.477 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.219e-05/1.318, allocations: 40 kB / 1.167 GB, free: 5.438 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005693/1.319, allocations: 79.89 kB / 1.167 GB, free: 5.359 MB / 0.7761 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003867/1.322, allocations: 1.758 MB / 1.169 GB, free: 3.598 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004289/1.327, allocations: 2.108 MB / 1.171 GB, free: 1.305 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.7e-05/1.327, allocations: 7.844 kB / 1.171 GB, free: 1.297 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002795/1.327, allocations: 8 kB / 1.171 GB, free: 1.289 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.66e-05/1.327, allocations: 86.27 kB / 1.171 GB, free: 1.203 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01813/1.345, allocations: 10.33 MB / 1.181 GB, free: 6.301 MB / 0.7917 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002992/1.348, allocations: 1.652 MB / 1.183 GB, free: 4.586 MB / 0.7917 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001386/1.35, allocations: 0.9051 MB / 1.183 GB, free: 3.676 MB / 0.7917 GB Notification: Performance of preOpt evalFunc (simulation): time 9.282e-05/1.35, allocations: 16.77 kB / 1.183 GB, free: 3.66 MB / 0.7917 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.525e-05/1.35, allocations: 43.34 kB / 1.183 GB, free: 3.605 MB / 0.7917 GB Notification: Performance of pre-optimization done (n=89): time 4.769e-06/1.35, allocations: 0 / 1.183 GB, free: 3.605 MB / 0.7917 GB Notification: Performance of matching and sorting (n=131): time 0.01468/1.365, allocations: 5.818 MB / 1.189 GB, free: 13.75 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001213/1.365, allocations: 222.9 kB / 1.189 GB, free: 13.48 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001469/1.366, allocations: 0.7623 MB / 1.19 GB, free: 12.71 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 0.0001817/1.367, allocations: 25.7 kB / 1.19 GB, free: 12.68 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003661/1.367, allocations: 0.5191 MB / 1.191 GB, free: 12.15 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004819/1.367, allocations: 441.4 kB / 1.191 GB, free: 11.71 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001323/1.368, allocations: 0 / 1.191 GB, free: 11.71 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 0.0001551/1.368, allocations: 353.9 kB / 1.191 GB, free: 11.36 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001429/1.369, allocations: 0.9671 MB / 1.192 GB, free: 10.39 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001675/1.371, allocations: 1.223 MB / 1.194 GB, free: 9.07 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002016/1.373, allocations: 1.119 MB / 1.195 GB, free: 7.949 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.562e-06/1.373, allocations: 0 / 1.195 GB, free: 7.949 MB / 0.8073 GB Notification: Performance of matching and sorting (n=164) (initialization): time 0.008917/1.382, allocations: 3.68 MB / 1.198 GB, free: 4.219 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 2.693e-05/1.382, allocations: 8 kB / 1.198 GB, free: 4.211 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.811e-05/1.382, allocations: 4 kB / 1.198 GB, free: 4.207 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007014/1.389, allocations: 1.584 MB / 1.2 GB, free: 2.582 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002227/1.391, allocations: 363.5 kB / 1.2 GB, free: 2.227 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02636/1.418, allocations: 23.31 MB / 1.223 GB, free: 9.406 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002773/1.42, allocations: 199.7 kB / 1.223 GB, free: 9.211 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004487/1.421, allocations: 63.95 kB / 1.223 GB, free: 9.148 MB / 0.8386 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.0006427/1.422, allocations: 128.7 kB / 1.223 GB, free: 9.016 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005839/1.422, allocations: 150.3 kB / 1.223 GB, free: 8.867 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009544/1.432, allocations: 3.794 MB / 1.227 GB, free: 5.023 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.97e-05/1.432, allocations: 15.91 kB / 1.227 GB, free: 5.008 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.594e-05/1.432, allocations: 12 kB / 1.227 GB, free: 4.996 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.56e-05/1.432, allocations: 7.969 kB / 1.227 GB, free: 4.988 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01313/1.445, allocations: 6.012 MB / 1.233 GB, free: 14.83 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.384e-05/1.445, allocations: 4 kB / 1.233 GB, free: 14.82 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00184/1.447, allocations: 311.7 kB / 1.233 GB, free: 14.52 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006501/1.453, allocations: 1.47 MB / 1.235 GB, free: 13.01 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002061/1.454, allocations: 19.97 kB / 1.235 GB, free: 12.99 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02377/1.477, allocations: 22.36 MB / 1.257 GB, free: 5.137 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.748e-06/1.477, allocations: 7.938 kB / 1.257 GB, free: 5.129 MB / 0.8698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.008069/1.485, allocations: 3.657 MB / 1.26 GB, free: 1.328 MB / 0.8698 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.2721/1.758, allocations: 4.074 MB / 1.264 GB, free: 366.3 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009189/1.759, allocations: 456.8 kB / 1.265 GB, free: 366.2 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003117/1.759, allocations: 7.625 kB / 1.265 GB, free: 366.2 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001891/1.761, allocations: 210.1 kB / 1.265 GB, free: 366.2 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001372/1.761, allocations: 67.39 kB / 1.265 GB, free: 366.2 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001245/1.761, allocations: 47.98 kB / 1.265 GB, free: 366.2 MB / 0.8698 GB Notification: Performance of sort global known variables: time 0.0006493/1.762, allocations: 0.5812 MB / 1.265 GB, free: 366.1 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.002236/1.764, allocations: 0.5178 MB / 1.266 GB, free: 366.1 MB / 0.8698 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.0002889/1.764, allocations: 137.7 kB / 1.266 GB, free: 366.1 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.005522/1.77, allocations: 4.05 MB / 1.27 GB, free: 364.7 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 3.887e-06/1.77, allocations: 0 / 1.27 GB, free: 364.7 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.003988/1.774, allocations: 2.859 MB / 1.273 GB, free: 363.4 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001804/1.776, allocations: 428.1 kB / 1.273 GB, free: 363.4 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006138/1.782, allocations: 2.918 MB / 1.276 GB, free: 362.8 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001293/1.783, allocations: 1.555 MB / 1.278 GB, free: 362 MB / 0.8698 GB Notification: Performance of SimCode: time 9.22e-07/1.783, allocations: 3.875 kB / 1.278 GB, free: 362 MB / 0.8698 GB (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine.fmu > Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe 2>&1)