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.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,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R",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.252/1.252, allocations: 249.4 MB / 256.7 MB, free: 7 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.0009537/0.0009536, allocations: 183.6 kB / 316 MB, free: 3.605 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.128/1.128, allocations: 205.2 MB / 0.5667 GB, free: 15.64 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.0008696/0.0008695, allocations: 78.47 kB / 0.671 GB, free: 4.789 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.3333/0.3342, allocations: 112.5 MB / 0.7808 GB, free: 103 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1655/0.4997, allocations: 106.3 MB / 0.8847 GB, free: 12.57 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.5522/1.052, allocations: 164.8 MB / 1.046 GB, free: 7.504 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003161/1.052, allocations: 95.48 kB / 1.046 GB, free: 7.449 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: 1286 * Number of variables: 1286 Notification: Performance of Generate backend data structure: time 0.4348/1.487, allocations: 184.8 MB / 1.226 GB, free: 7.246 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.617e-05/1.487, allocations: 8 kB / 1.226 GB, free: 7.238 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007057/1.494, allocations: 1.005 MB / 1.227 GB, free: 6.227 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008593/1.503, allocations: 3.237 MB / 1.23 GB, free: 2.934 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002276/1.503, allocations: 156 kB / 1.23 GB, free: 2.781 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001495/1.505, allocations: 275.9 kB / 1.231 GB, free: 2.512 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01006/1.515, allocations: 4.881 MB / 1.235 GB, free: 13.62 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01486/1.53, allocations: 6.868 MB / 1.242 GB, free: 6.293 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001101/1.53, allocations: 15.88 kB / 1.242 GB, free: 6.277 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004433/1.53, allocations: 20 kB / 1.242 GB, free: 6.258 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002484/1.53, allocations: 273.2 kB / 1.242 GB, free: 5.988 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3851/1.916, allocations: 35.33 MB / 1.277 GB, free: 141.7 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002702/1.918, allocations: 2.014 MB / 1.279 GB, free: 141.6 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001408/1.92, allocations: 1.441 MB / 1.28 GB, free: 141.6 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 8.267e-05/1.92, allocations: 19.8 kB / 1.28 GB, free: 141.6 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.207e-05/1.92, allocations: 49.91 kB / 1.28 GB, free: 141.6 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=157): time 4.929e-06/1.92, allocations: 3.125 kB / 1.28 GB, free: 141.6 MB / 0.8542 GB Notification: Performance of matching and sorting (n=160): time 0.008213/1.928, allocations: 4.883 MB / 1.285 GB, free: 140.8 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.471e-05/1.928, allocations: 68.34 kB / 1.285 GB, free: 140.7 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001434/1.93, allocations: 1.243 MB / 1.286 GB, free: 140.5 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 9.648e-05/1.93, allocations: 25.7 kB / 1.287 GB, free: 140.5 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.000596/1.93, allocations: 1.804 MB / 1.288 GB, free: 139.7 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003041/1.931, allocations: 0.5379 MB / 1.289 GB, free: 139.4 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.879e-05/1.931, allocations: 0 / 1.289 GB, free: 139.4 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001032/1.931, allocations: 393.4 kB / 1.289 GB, free: 139.1 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00108/1.932, allocations: 0.9924 MB / 1.29 GB, free: 139.1 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001287/1.933, allocations: 1.694 MB / 1.292 GB, free: 138.2 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001319/1.935, allocations: 1.289 MB / 1.293 GB, free: 138.2 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.847e-06/1.935, allocations: 7.844 kB / 1.293 GB, free: 138.2 MB / 0.8542 GB Notification: Performance of matching and sorting (n=269) (initialization): time 0.004821/1.939, allocations: 3.58 MB / 1.297 GB, free: 137.9 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.89e-05/1.939, allocations: 8.844 kB / 1.297 GB, free: 137.9 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.751e-05/1.939, allocations: 29.06 kB / 1.297 GB, free: 137.9 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002119/1.942, allocations: 0.904 MB / 1.297 GB, free: 137.8 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001538/1.943, allocations: 396.4 kB / 1.298 GB, free: 137.8 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0138/1.957, allocations: 19.68 MB / 1.317 GB, free: 123.4 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001902/1.959, allocations: 57.56 kB / 1.317 GB, free: 123.4 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002861/1.959, allocations: 101.1 kB / 1.317 GB, free: 123.4 MB / 0.8542 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 107 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (215): * Single equations (assignments): 203 * 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%) 6,(2,100.0%) 6,(2,100.0%) 6,(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.0003943/1.96, allocations: 170.6 kB / 1.317 GB, free: 123.3 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000402/1.96, allocations: 234.7 kB / 1.318 GB, free: 123.2 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004374/1.964, allocations: 3.146 MB / 1.321 GB, free: 123 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.273e-05/1.964, allocations: 22.16 kB / 1.321 GB, free: 123 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.249e-05/1.964, allocations: 11.31 kB / 1.321 GB, free: 123 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.219e-05/1.964, allocations: 6.422 kB / 1.321 GB, free: 123 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009211/1.974, allocations: 6.709 MB / 1.327 GB, free: 122.3 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.618e-06/1.974, allocations: 6.719 kB / 1.327 GB, free: 122.3 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008691/1.975, allocations: 200.1 kB / 1.327 GB, free: 122.3 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002023/1.977, allocations: 0.878 MB / 1.328 GB, free: 122.2 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001349/1.977, allocations: 13.2 kB / 1.328 GB, free: 122.2 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01309/1.99, allocations: 19.66 MB / 1.348 GB, free: 107.9 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.054e-05/1.99, allocations: 9.031 kB / 1.348 GB, free: 107.9 MB / 0.8542 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.004755/1.995, allocations: 3.596 MB / 1.351 GB, free: 106.9 MB / 0.8542 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.004488/1.999, allocations: 4.019 MB / 1.355 GB, free: 105.5 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001077/2, allocations: 0.5049 MB / 1.355 GB, free: 105.3 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003365/2.001, allocations: 7.375 kB / 1.355 GB, free: 105.3 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001004/2.002, allocations: 44.5 kB / 1.356 GB, free: 105.3 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001553/2.002, allocations: 86.41 kB / 1.356 GB, free: 105.3 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.954e-05/2.002, allocations: 47.59 kB / 1.356 GB, free: 105.3 MB / 0.8542 GB Notification: Performance of sort global known variables: time 0.001032/2.003, allocations: 0.9137 MB / 1.357 GB, free: 105.1 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.003184/2.006, allocations: 0.8223 MB / 1.357 GB, free: 105.1 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 (109): * Single equations (assignments): 97 * 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%) 4,(2,100.0%) 6,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 6,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 6,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002308/2.006, allocations: 132.1 kB / 1.357 GB, free: 105 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.004595/2.011, allocations: 4.015 MB / 1.361 GB, free: 103.8 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 5.26e-06/2.011, allocations: 0 / 1.361 GB, free: 103.8 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.003094/2.014, allocations: 2.714 MB / 1.364 GB, free: 102.6 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002724/2.017, allocations: 0.6274 MB / 1.365 GB, free: 102.6 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01093/2.028, allocations: 6.004 MB / 1.371 GB, free: 101.1 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003298/2.031, allocations: 3.374 MB / 1.374 GB, free: 100.3 MB / 0.8542 GB Notification: Performance of SimCode: time 9.62e-07/2.031, allocations: 0 / 1.374 GB, free: 100.3 MB / 0.8542 GB (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.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_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R.fmu > Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe 2>&1)