Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.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.ThreePhasesUnbalanced.Lines.Examples.ACLine_L,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_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.253/1.253, allocations: 249.4 MB / 256.7 MB, free: 7.047 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.00101/0.00101, allocations: 177.4 kB / 316 MB, free: 3.508 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.133/1.133, 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.0008223/0.0008225, allocations: 102.8 kB / 0.671 GB, free: 4.848 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.309/0.3098, allocations: 112.5 MB / 0.7808 GB, free: 103 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1523/0.4621, allocations: 106.3 MB / 0.8847 GB, free: 12.52 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.4767/0.9389, allocations: 164.9 MB / 1.046 GB, free: 7.371 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002369/0.9391, allocations: 99.7 kB / 1.046 GB, free: 7.316 MB / 0.6667 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1256 * Number of variables: 1256 Notification: Performance of Generate backend data structure: time 0.3981/1.337, allocations: 182.4 MB / 1.224 GB, free: 9.586 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.346e-05/1.337, allocations: 12 kB / 1.224 GB, free: 9.574 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006599/1.344, allocations: 0.923 MB / 1.225 GB, free: 8.645 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007283/1.351, allocations: 3.003 MB / 1.228 GB, free: 5.582 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002098/1.352, allocations: 148.2 kB / 1.228 GB, free: 5.438 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001464/1.353, allocations: 275.9 kB / 1.228 GB, free: 5.168 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.009154/1.362, allocations: 4.701 MB / 1.233 GB, free: 472 kB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01268/1.375, allocations: 6.696 MB / 1.239 GB, free: 9.312 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001353/1.375, allocations: 35.7 kB / 1.239 GB, free: 9.277 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004473/1.375, allocations: 15.91 kB / 1.239 GB, free: 9.262 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002557/1.376, allocations: 285 kB / 1.24 GB, free: 8.98 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2766/1.652, allocations: 34.21 MB / 1.273 GB, free: 281.6 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001438/1.654, allocations: 1.489 MB / 1.274 GB, free: 281.5 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001201/1.655, allocations: 1.306 MB / 1.276 GB, free: 281.5 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 7.315e-05/1.655, allocations: 21.92 kB / 1.276 GB, free: 281.5 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.571e-05/1.655, allocations: 44.28 kB / 1.276 GB, free: 281.5 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=133): time 3.226e-06/1.655, allocations: 0 / 1.276 GB, free: 281.5 MB / 0.8542 GB Notification: Performance of matching and sorting (n=136): time 0.006693/1.662, allocations: 4.581 MB / 1.28 GB, free: 280.7 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.387e-05/1.662, allocations: 66.97 kB / 1.28 GB, free: 280.7 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001037/1.663, allocations: 1.066 MB / 1.281 GB, free: 280.5 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 7.116e-05/1.663, allocations: 26.36 kB / 1.281 GB, free: 280.5 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006412/1.664, allocations: 1.75 MB / 1.283 GB, free: 279.7 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002598/1.664, allocations: 471.6 kB / 1.284 GB, free: 279.4 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.624e-05/1.664, allocations: 0 / 1.284 GB, free: 279.4 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 9.554e-05/1.664, allocations: 380.8 kB / 1.284 GB, free: 279.1 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009552/1.665, allocations: 0.8981 MB / 1.285 GB, free: 279.1 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001159/1.666, allocations: 1.545 MB / 1.286 GB, free: 278.3 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001192/1.667, allocations: 1.177 MB / 1.287 GB, free: 278.3 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.444e-06/1.667, allocations: 7.75 kB / 1.287 GB, free: 278.3 MB / 0.8542 GB Notification: Performance of matching and sorting (n=236) (initialization): time 0.004591/1.672, allocations: 3.365 MB / 1.291 GB, free: 278 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.275e-05/1.672, allocations: 3.656 kB / 1.291 GB, free: 278 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.903e-05/1.672, allocations: 23.81 kB / 1.291 GB, free: 278 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002413/1.675, allocations: 0.9539 MB / 1.292 GB, free: 277.9 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001004/1.676, allocations: 331.6 kB / 1.292 GB, free: 277.9 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01355/1.689, allocations: 19.75 MB / 1.311 GB, free: 263.6 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001528/1.691, allocations: 45.64 kB / 1.311 GB, free: 263.6 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001298/1.691, allocations: 81.84 kB / 1.311 GB, free: 263.6 MB / 0.8542 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 98 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (182): * Single equations (assignments): 170 * 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: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 12 {(4,68.8%) 4,(4,68.8%) 4,(4,68.8%) 4,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000277/1.691, allocations: 174.8 kB / 1.312 GB, free: 263.4 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002054/1.691, allocations: 194.3 kB / 1.312 GB, free: 263.4 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004325/1.696, allocations: 2.976 MB / 1.315 GB, free: 263.1 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.074e-05/1.696, allocations: 14 kB / 1.315 GB, free: 263.1 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.156e-05/1.696, allocations: 15.78 kB / 1.315 GB, free: 263.1 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.056e-05/1.696, allocations: 7.453 kB / 1.315 GB, free: 263.1 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008905/1.705, allocations: 6.205 MB / 1.321 GB, free: 262.5 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.506e-06/1.705, allocations: 7.562 kB / 1.321 GB, free: 262.5 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006794/1.705, allocations: 153.4 kB / 1.321 GB, free: 262.5 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00244/1.708, allocations: 0.9294 MB / 1.322 GB, free: 262.4 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.259e-05/1.708, allocations: 3.812 kB / 1.322 GB, free: 262.4 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01421/1.722, allocations: 19.76 MB / 1.341 GB, free: 248.1 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.716e-06/1.722, allocations: 5.75 kB / 1.341 GB, free: 248.1 MB / 0.8542 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.004744/1.727, allocations: 3.396 MB / 1.344 GB, free: 247.1 MB / 0.8542 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.004452/1.731, allocations: 3.825 MB / 1.348 GB, free: 245.9 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008805/1.732, allocations: 449.3 kB / 1.349 GB, free: 245.7 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002742/1.733, allocations: 20.64 kB / 1.349 GB, free: 245.7 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007626/1.733, allocations: 31.48 kB / 1.349 GB, free: 245.7 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001347/1.733, allocations: 69.09 kB / 1.349 GB, free: 245.7 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.132e-05/1.734, allocations: 39.97 kB / 1.349 GB, free: 245.7 MB / 0.8542 GB Notification: Performance of sort global known variables: time 0.0008756/1.734, allocations: 0.7882 MB / 1.35 GB, free: 245.6 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.00364/1.738, allocations: 0.7338 MB / 1.35 GB, free: 245.6 MB / 0.8542 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (85): * Single equations (assignments): 73 * 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: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 12 {(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 4,(4,68.8%) 4,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 4,(4,68.8%) 4,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 4,(4,68.8%) 4} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000245/1.738, allocations: 132.2 kB / 1.35 GB, free: 245.5 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.00448/1.743, allocations: 3.786 MB / 1.354 GB, free: 244.2 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 4.428e-06/1.743, allocations: 3.219 kB / 1.354 GB, free: 244.2 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.00297/1.746, allocations: 2.601 MB / 1.357 GB, free: 243 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002408/1.748, allocations: 0.5803 MB / 1.357 GB, free: 243 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01037/1.759, allocations: 5.656 MB / 1.363 GB, free: 241.6 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00315/1.762, allocations: 3.249 MB / 1.366 GB, free: 240.8 MB / 0.8542 GB Notification: Performance of SimCode: time 8.91e-07/1.762, allocations: 0 / 1.366 GB, free: 240.8 MB / 0.8542 GB (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L.fmu > Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe 2>&1)