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_R_N.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_R_N,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R_N",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R_N",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.228/1.228, allocations: 249.4 MB / 256.7 MB, free: 7.023 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.0009545/0.0009546, allocations: 185.1 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.224/1.224, allocations: 205.2 MB / 0.5667 GB, free: 15.65 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.0008266/0.0008264, allocations: 90.28 kB / 0.671 GB, free: 4.781 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.3626/0.3634, allocations: 112.5 MB / 0.7808 GB, free: 103 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1771/0.5405, allocations: 106.3 MB / 0.8847 GB, free: 12.52 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.5134/1.054, allocations: 165.5 MB / 1.046 GB, free: 6.723 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002345/1.054, allocations: 93.92 kB / 1.046 GB, free: 6.672 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: 1524 * Number of variables: 1524 Notification: Performance of Generate backend data structure: time 0.468/1.522, allocations: 205.2 MB / 1.247 GB, free: 1.738 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.517e-05/1.522, allocations: 15.98 kB / 1.247 GB, free: 1.723 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007488/1.53, allocations: 1.125 MB / 1.248 GB, free: 0.5898 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.3656/1.895, allocations: 3.714 MB / 1.251 GB, free: 152.6 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002244/1.896, allocations: 190.2 kB / 1.252 GB, free: 152.6 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001282/1.897, allocations: 324.9 kB / 1.252 GB, free: 152.6 MB / 0.8542 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0111/1.908, allocations: 5.891 MB / 1.258 GB, free: 152.5 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01312/1.921, allocations: 8.044 MB / 1.266 GB, free: 151.2 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001146/1.921, allocations: 20.41 kB / 1.266 GB, free: 151.2 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004939/1.922, allocations: 14.88 kB / 1.266 GB, free: 151.2 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001976/1.922, allocations: 308.5 kB / 1.266 GB, free: 151.2 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03433/1.956, allocations: 40.41 MB / 1.305 GB, free: 125.1 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003657/1.96, allocations: 2.857 MB / 1.308 GB, free: 125 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002378/1.963, allocations: 2.123 MB / 1.31 GB, free: 125 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001066/1.963, allocations: 23.72 kB / 1.31 GB, free: 125 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.999e-05/1.963, allocations: 66.86 kB / 1.31 GB, free: 125 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=209): time 4.969e-06/1.963, allocations: 0 / 1.31 GB, free: 125 MB / 0.8542 GB Notification: Performance of matching and sorting (n=212): time 0.009505/1.972, allocations: 6.454 MB / 1.317 GB, free: 123.9 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.148e-05/1.972, allocations: 75.69 kB / 1.317 GB, free: 123.8 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001632/1.974, allocations: 1.326 MB / 1.318 GB, free: 123.6 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 0.0001433/1.974, allocations: 28.98 kB / 1.318 GB, free: 123.5 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007223/1.975, allocations: 2.063 MB / 1.32 GB, free: 122.3 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004861/1.975, allocations: 0.6948 MB / 1.321 GB, free: 121.8 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001116/1.975, allocations: 0 / 1.321 GB, free: 121.8 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001237/1.976, allocations: 409.1 kB / 1.321 GB, free: 121.5 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001476/1.977, allocations: 1.298 MB / 1.322 GB, free: 121.5 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001729/1.979, allocations: 2.071 MB / 1.324 GB, free: 120.6 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001747/1.981, allocations: 1.675 MB / 1.326 GB, free: 120.6 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.063e-05/1.981, allocations: 7.719 kB / 1.326 GB, free: 120.6 MB / 0.8542 GB Notification: Performance of matching and sorting (n=327) (initialization): time 0.006478/1.987, allocations: 4.714 MB / 1.331 GB, free: 120.3 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 2.18e-05/1.987, allocations: 3.625 kB / 1.331 GB, free: 120.3 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.263e-05/1.987, allocations: 25.81 kB / 1.331 GB, free: 120.3 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003/1.99, allocations: 1.434 MB / 1.332 GB, free: 120.3 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001497/1.992, allocations: 414.8 kB / 1.332 GB, free: 120.3 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01555/2.007, allocations: 15.54 MB / 1.348 GB, free: 115.2 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002061/2.009, allocations: 58.89 kB / 1.348 GB, free: 115.2 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002353/2.01, allocations: 110.7 kB / 1.348 GB, free: 115.2 MB / 0.8542 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 113 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (219): * Single equations (assignments): 215 * 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 {(6,66.7%) 32,(6,66.7%) 24,(4,100.0%) 18,(4,100.0%) 18} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000426/2.01, allocations: 175.8 kB / 1.348 GB, free: 115.1 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004639/2.011, allocations: 265.6 kB / 1.348 GB, free: 115 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005997/2.017, allocations: 4.307 MB / 1.352 GB, free: 114.8 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.732e-05/2.017, allocations: 21.41 kB / 1.352 GB, free: 114.8 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.869e-05/2.017, allocations: 18.41 kB / 1.352 GB, free: 114.8 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.65e-05/2.017, allocations: 11.3 kB / 1.352 GB, free: 114.8 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01272/2.029, allocations: 8.727 MB / 1.361 GB, free: 114.1 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-05/2.029, allocations: 2.719 kB / 1.361 GB, free: 114.1 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009383/2.03, allocations: 215.2 kB / 1.361 GB, free: 114.1 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002985/2.033, allocations: 1.4 MB / 1.363 GB, free: 114.1 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001774/2.034, allocations: 3.688 kB / 1.363 GB, free: 114.1 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01591/2.049, allocations: 15.5 MB / 1.378 GB, free: 106.3 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.903e-06/2.049, allocations: 3.438 kB / 1.378 GB, free: 106.3 MB / 0.8542 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.006046/2.056, allocations: 4.752 MB / 1.382 GB, free: 104.1 MB / 0.8542 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.006344/2.062, allocations: 5.178 MB / 1.387 GB, free: 101.5 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001466/2.063, allocations: 0.6087 MB / 1.388 GB, free: 101.1 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000487/2.064, allocations: 5 kB / 1.388 GB, free: 101.1 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00115/2.065, allocations: 49.89 kB / 1.388 GB, free: 101.1 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002332/2.065, allocations: 111.8 kB / 1.388 GB, free: 101.1 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001539/2.065, allocations: 64.06 kB / 1.388 GB, free: 101.1 MB / 0.8542 GB Notification: Performance of sort global known variables: time 0.001499/2.067, allocations: 0.9712 MB / 1.389 GB, free: 100.6 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.004709/2.072, allocations: 1.01 MB / 1.39 GB, free: 100.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 (107): * Single equations (assignments): 103 * 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 {(4,100.0%) 18,(6,66.7%) 24,(6,66.7%) 32,(4,100.0%) 18} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003259/2.072, allocations: 126.7 kB / 1.39 GB, free: 100.5 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.006603/2.079, allocations: 4.214 MB / 1.394 GB, free: 98.89 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 8.125e-06/2.079, allocations: 2.312 kB / 1.394 GB, free: 98.89 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.003865/2.083, allocations: 2.551 MB / 1.397 GB, free: 97.79 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003334/2.086, allocations: 0.6694 MB / 1.398 GB, free: 97.64 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01652/2.102, allocations: 7.547 MB / 1.405 GB, free: 94.92 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004618/2.107, allocations: 3.843 MB / 1.409 GB, free: 93.57 MB / 0.8542 GB Notification: Performance of SimCode: time 1.292e-06/2.107, allocations: 0 / 1.409 GB, free: 93.57 MB / 0.8542 GB (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R_N_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R_N.fmu > Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe 2>&1)