Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R,fileNamePrefix="Buildings_8_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_8_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 8.1.4-maint.8.1.x/package.mo): time 1.383/1.383, allocations: 289.8 MB / 297.1 MB, free: 6.574 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001058/0.001058, allocations: 181.3 kB / 366.3 MB, free: 1.949 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.058/1.058, allocations: 205.1 MB / 0.6256 GB, free: 5.801 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008727/0.0008728, allocations: 90.02 kB / 0.7395 GB, free: 39.63 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.1843/0.1852, allocations: 122.4 MB / 0.8591 GB, free: 13.23 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.419/0.6043, allocations: 116.3 MB / 0.9727 GB, free: 68.22 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1598/0.7641, allocations: 171 MB / 1.14 GB, free: 9.336 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001998/0.7644, allocations: 99.92 kB / 1.14 GB, free: 9.238 MB / 0.7448 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.6821/1.446, allocations: 184.8 MB / 1.32 GB, free: 150.6 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.918e-05/1.447, allocations: 10.19 kB / 1.32 GB, free: 150.6 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005464/1.452, allocations: 1.009 MB / 1.321 GB, free: 150.1 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005669/1.458, allocations: 3.233 MB / 1.324 GB, free: 148 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001007/1.458, allocations: 159.9 kB / 1.325 GB, free: 147.8 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005849/1.458, allocations: 275.9 kB / 1.325 GB, free: 147.6 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.006931/1.465, allocations: 4.876 MB / 1.33 GB, free: 144.5 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008229/1.474, allocations: 6.864 MB / 1.336 GB, free: 139.1 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001004/1.474, allocations: 19.78 kB / 1.336 GB, free: 139.1 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004195/1.474, allocations: 16 kB / 1.336 GB, free: 139.1 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001633/1.474, allocations: 277.3 kB / 1.337 GB, free: 138.8 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02456/1.499, allocations: 35.34 MB / 1.371 GB, free: 105.6 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002213/1.501, allocations: 2.022 MB / 1.373 GB, free: 104.3 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001305/1.502, allocations: 1.439 MB / 1.374 GB, free: 103.4 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 8.145e-05/1.502, allocations: 17.31 kB / 1.374 GB, free: 103.3 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.03e-05/1.503, allocations: 56.44 kB / 1.374 GB, free: 103.3 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=157): time 2.945e-06/1.503, allocations: 0 / 1.374 GB, free: 103.3 MB / 0.8386 GB Notification: Performance of matching and sorting (n=160): time 0.00663/1.509, allocations: 4.881 MB / 1.379 GB, free: 99.55 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.239e-05/1.509, allocations: 68.72 kB / 1.379 GB, free: 99.47 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00119/1.51, allocations: 1.242 MB / 1.381 GB, free: 98.52 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 8.742e-05/1.51, allocations: 29.7 kB / 1.381 GB, free: 98.48 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005123/1.511, allocations: 1.802 MB / 1.382 GB, free: 96.88 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002674/1.511, allocations: 0.539 MB / 1.383 GB, free: 96.39 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.93e-05/1.511, allocations: 0 / 1.383 GB, free: 96.39 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 9.182e-05/1.511, allocations: 392.4 kB / 1.383 GB, free: 96.04 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001076/1.513, allocations: 0.9869 MB / 1.384 GB, free: 95.42 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001294/1.514, allocations: 1.7 MB / 1.386 GB, free: 93.82 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001324/1.515, allocations: 1.287 MB / 1.387 GB, free: 92.97 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.454e-06/1.515, allocations: 8 kB / 1.387 GB, free: 92.96 MB / 0.8386 GB Notification: Performance of matching and sorting (n=269) (initialization): time 0.004643/1.52, allocations: 3.576 MB / 1.391 GB, free: 89.41 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.805e-05/1.52, allocations: 4.219 kB / 1.391 GB, free: 89.41 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.354e-05/1.52, allocations: 24.88 kB / 1.391 GB, free: 89.38 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002082/1.522, allocations: 0.9125 MB / 1.392 GB, free: 88.44 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001392/1.523, allocations: 391.4 kB / 1.392 GB, free: 88.05 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01309/1.537, allocations: 19.68 MB / 1.411 GB, free: 67.05 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001817/1.538, allocations: 55.86 kB / 1.411 GB, free: 67 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001663/1.539, allocations: 95.98 kB / 1.411 GB, free: 66.91 MB / 0.8386 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.0003689/1.539, allocations: 180.2 kB / 1.411 GB, free: 66.73 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002807/1.539, allocations: 233.3 kB / 1.412 GB, free: 66.5 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004266/1.543, allocations: 3.148 MB / 1.415 GB, free: 63.32 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.087e-05/1.544, allocations: 16 kB / 1.415 GB, free: 63.3 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.127e-05/1.544, allocations: 12 kB / 1.415 GB, free: 63.29 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.189e-05/1.544, allocations: 7.969 kB / 1.415 GB, free: 63.28 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008781/1.552, allocations: 6.715 MB / 1.421 GB, free: 56.47 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.973e-06/1.552, allocations: 4 kB / 1.421 GB, free: 56.46 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008646/1.553, allocations: 199.7 kB / 1.422 GB, free: 56.27 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001959/1.555, allocations: 0.8779 MB / 1.422 GB, free: 55.36 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.725e-05/1.555, allocations: 8 kB / 1.422 GB, free: 55.36 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01255/1.568, allocations: 19.67 MB / 1.442 GB, free: 34.34 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.051e-06/1.568, allocations: 8.125 kB / 1.442 GB, free: 34.33 MB / 0.8386 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.004289/1.572, allocations: 3.594 MB / 1.445 GB, free: 30.49 MB / 0.8386 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.004092/1.576, allocations: 4.024 MB / 1.449 GB, free: 26.21 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008911/1.577, allocations: 0.506 MB / 1.45 GB, free: 25.68 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003175/1.578, allocations: 7.984 kB / 1.45 GB, free: 25.67 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009318/1.578, allocations: 35.95 kB / 1.45 GB, free: 25.64 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001612/1.579, allocations: 89.09 kB / 1.45 GB, free: 25.55 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001029/1.579, allocations: 48 kB / 1.45 GB, free: 25.5 MB / 0.8386 GB Notification: Performance of sort global known variables: time 0.0009781/1.58, allocations: 0.9177 MB / 1.451 GB, free: 24.56 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.00298/1.583, allocations: 0.8203 MB / 1.451 GB, free: 23.74 MB / 0.8386 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.0002307/1.583, allocations: 135 kB / 1.452 GB, free: 23.6 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.004478/1.587, allocations: 4.011 MB / 1.455 GB, free: 19.48 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 5.209e-06/1.587, allocations: 4 kB / 1.455 GB, free: 19.47 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.002951/1.59, allocations: 2.713 MB / 1.458 GB, free: 16.64 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002653/1.593, allocations: 0.6237 MB / 1.459 GB, free: 16.02 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01041/1.603, allocations: 6.013 MB / 1.465 GB, free: 9.891 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003077/1.607, allocations: 3.375 MB / 1.468 GB, free: 6.48 MB / 0.8386 GB Notification: Performance of SimCode: time 4.91e-07/1.607, allocations: 0 / 1.468 GB, free: 6.48 MB / 0.8386 GB (rm -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R.fmu > Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe 2>&1)