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_L.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_L,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_L",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_L",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.206/1.206, allocations: 249.4 MB / 256.7 MB, free: 0.7383 MB / 194.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009907/0.0009907, allocations: 181.2 kB / 316 MB, free: 8.922 MB / 258.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.073/1.073, allocations: 205.1 MB / 0.5667 GB, free: 13.39 MB / 434.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008088/0.0008087, allocations: 92.11 kB / 0.671 GB, free: 51.62 MB / 498.8 MB Notification: Performance of FrontEnd - loaded program: time 0.1913/0.1921, allocations: 112.5 MB / 0.7808 GB, free: 9.805 MB / 0.5496 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4804/0.6726, allocations: 106.3 MB / 0.8847 GB, free: 89.09 MB / 0.6434 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1796/0.8522, allocations: 157.3 MB / 1.038 GB, free: 4.301 MB / 0.6746 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002841/0.8525, allocations: 93.34 kB / 1.038 GB, free: 4.211 MB / 0.6746 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 177 * Number of variables: 177 Notification: Performance of Generate backend data structure: time 0.08419/0.9367, allocations: 37.66 MB / 1.075 GB, free: 14.48 MB / 0.7215 GB Notification: Performance of prepare preOptimizeDAE: time 4.073e-05/0.9368, allocations: 11.94 kB / 1.075 GB, free: 14.47 MB / 0.7215 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001471/0.9382, allocations: 218.7 kB / 1.075 GB, free: 14.26 MB / 0.7215 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000872/0.9391, allocations: 0.5444 MB / 1.076 GB, free: 13.67 MB / 0.7215 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.338e-05/0.9392, allocations: 20 kB / 1.076 GB, free: 13.65 MB / 0.7215 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.399e-05/0.9393, allocations: 36 kB / 1.076 GB, free: 13.61 MB / 0.7215 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008278/0.9401, allocations: 0.5627 MB / 1.076 GB, free: 13.05 MB / 0.7215 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001179/0.9413, allocations: 1.01 MB / 1.077 GB, free: 11.9 MB / 0.7215 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.786e-05/0.9413, allocations: 11.84 kB / 1.077 GB, free: 11.89 MB / 0.7215 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.869e-05/0.9414, allocations: 8 kB / 1.077 GB, free: 11.88 MB / 0.7215 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.286e-05/0.9414, allocations: 61.27 kB / 1.078 GB, free: 11.82 MB / 0.7215 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004562/0.946, allocations: 5.672 MB / 1.083 GB, free: 5.73 MB / 0.7215 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004545/0.9465, allocations: 394.4 kB / 1.083 GB, free: 5.336 MB / 0.7215 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003546/0.9468, allocations: 307.5 kB / 1.084 GB, free: 5.035 MB / 0.7215 GB Notification: Performance of preOpt evalFunc (simulation): time 3.422e-05/0.9469, allocations: 4 kB / 1.084 GB, free: 5.031 MB / 0.7215 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.072e-05/0.9469, allocations: 31.59 kB / 1.084 GB, free: 4.992 MB / 0.7215 GB Notification: Performance of pre-optimization done (n=41): time 2.435e-06/0.9469, allocations: 0 / 1.084 GB, free: 4.992 MB / 0.7215 GB Notification: Performance of matching and sorting (n=42): time 0.002037/0.949, allocations: 1.131 MB / 1.085 GB, free: 3.844 MB / 0.7215 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.029e-05/0.949, allocations: 59.19 kB / 1.085 GB, free: 3.773 MB / 0.7215 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003372/0.9494, allocations: 337.2 kB / 1.085 GB, free: 3.438 MB / 0.7215 GB Notification: Performance of collectPreVariables (initialization): time 3.005e-05/0.9494, allocations: 25.7 kB / 1.085 GB, free: 3.406 MB / 0.7215 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001473/0.9495, allocations: 335 kB / 1.086 GB, free: 3.074 MB / 0.7215 GB Notification: Performance of collectInitialBindings (initialization): time 9.709e-05/0.9496, allocations: 141.9 kB / 1.086 GB, free: 2.934 MB / 0.7215 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.228e-05/0.9497, allocations: 0 / 1.086 GB, free: 2.934 MB / 0.7215 GB Notification: Performance of setup shared object (initialization): time 0.000113/0.9498, allocations: 358.8 kB / 1.086 GB, free: 2.574 MB / 0.7215 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002862/0.9501, allocations: 225.2 kB / 1.086 GB, free: 2.352 MB / 0.7215 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003824/0.9505, allocations: 415.2 kB / 1.087 GB, free: 1.863 MB / 0.7215 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003642/0.9508, allocations: 292.5 kB / 1.087 GB, free: 1.578 MB / 0.7215 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-06/0.9509, allocations: 0 / 1.087 GB, free: 1.578 MB / 0.7215 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001538/0.9524, allocations: 0.9117 MB / 1.088 GB, free: 0.6484 MB / 0.7215 GB Notification: Performance of prepare postOptimizeDAE: time 2.628e-05/0.9524, allocations: 4 kB / 1.088 GB, free: 0.6445 MB / 0.7215 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.379e-05/0.9525, allocations: 8 kB / 1.088 GB, free: 0.6367 MB / 0.7215 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009164/0.9534, allocations: 283.4 kB / 1.088 GB, free: 356 kB / 0.7215 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003312/0.9537, allocations: 95.83 kB / 1.088 GB, free: 260 kB / 0.7215 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005553/0.9593, allocations: 6.207 MB / 1.094 GB, free: 9.594 MB / 0.7371 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003622/0.9597, allocations: 11.98 kB / 1.094 GB, free: 9.582 MB / 0.7371 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.391e-05/0.9597, allocations: 32.06 kB / 1.094 GB, free: 9.555 MB / 0.7371 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 (51): * Single equations (assignments): 47 * 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 {(3,88.9%) 5,(1,100.0%) 5,(1,100.0%) 3,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001184/0.9598, allocations: 124.7 kB / 1.094 GB, free: 9.426 MB / 0.7371 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.099e-05/0.9599, allocations: 55.34 kB / 1.095 GB, free: 9.371 MB / 0.7371 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001514/0.9614, allocations: 0.8103 MB / 1.095 GB, free: 8.543 MB / 0.7371 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.919e-06/0.9615, allocations: 4 kB / 1.095 GB, free: 8.539 MB / 0.7371 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.574e-06/0.9615, allocations: 4 kB / 1.095 GB, free: 8.535 MB / 0.7371 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.15e-05/0.9615, allocations: 7.922 kB / 1.095 GB, free: 8.527 MB / 0.7371 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002345/0.9638, allocations: 1.53 MB / 1.097 GB, free: 6.922 MB / 0.7371 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.827e-06/0.9639, allocations: 0 / 1.097 GB, free: 6.922 MB / 0.7371 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001967/0.9641, allocations: 39.97 kB / 1.097 GB, free: 6.883 MB / 0.7371 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008889/0.965, allocations: 279.3 kB / 1.097 GB, free: 6.598 MB / 0.7371 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.076e-05/0.965, allocations: 4 kB / 1.097 GB, free: 6.594 MB / 0.7371 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005517/0.9705, allocations: 6.199 MB / 1.103 GB, free: 15.94 MB / 0.7527 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.881e-06/0.9706, allocations: 3.938 kB / 1.103 GB, free: 15.94 MB / 0.7527 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001558/0.9721, allocations: 0.9859 MB / 1.104 GB, free: 14.86 MB / 0.7527 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001694/0.9738, allocations: 1.377 MB / 1.105 GB, free: 13.4 MB / 0.7527 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000281/0.9741, allocations: 168.4 kB / 1.106 GB, free: 13.21 MB / 0.7527 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.47e-05/0.9742, allocations: 9.359 kB / 1.106 GB, free: 13.21 MB / 0.7527 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002503/0.9745, allocations: 4 kB / 1.106 GB, free: 13.2 MB / 0.7527 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.331e-05/0.9745, allocations: 35.86 kB / 1.106 GB, free: 13.17 MB / 0.7527 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.696e-05/0.9746, allocations: 8.188 kB / 1.106 GB, free: 13.16 MB / 0.7527 GB Notification: Performance of sort global known variables: time 0.0002752/0.9748, allocations: 251 kB / 1.106 GB, free: 12.92 MB / 0.7527 GB Notification: Performance of remove unused functions: time 0.001275/0.9761, allocations: 171.9 kB / 1.106 GB, free: 12.75 MB / 0.7527 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 (25): * Single equations (assignments): 21 * 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,(1,100.0%) 3,(1,100.0%) 5,(3,88.9%) 5} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001694/0.9763, allocations: 107.2 kB / 1.106 GB, free: 12.63 MB / 0.7527 GB Notification: Performance of simCode: created initialization part: time 0.001555/0.9779, allocations: 1.062 MB / 1.107 GB, free: 11.53 MB / 0.7527 GB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.9779, allocations: 0 / 1.107 GB, free: 11.53 MB / 0.7527 GB Notification: Performance of simCode: created simulation system equations: time 0.001079/0.979, allocations: 0.7687 MB / 1.108 GB, free: 10.72 MB / 0.7527 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000724/0.9797, allocations: 156.6 kB / 1.108 GB, free: 10.58 MB / 0.7527 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001609/0.9813, allocations: 0.9108 MB / 1.109 GB, free: 9.625 MB / 0.7527 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006089/0.9819, allocations: 1.024 MB / 1.11 GB, free: 8.574 MB / 0.7527 GB Notification: Performance of SimCode: time 2.3e-07/0.982, allocations: 0 / 1.11 GB, free: 8.574 MB / 0.7527 GB (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_L_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_L.fmu > Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe 2>&1)