Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L,fileNamePrefix="Buildings_maint_8_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_8_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 8.0.1-maint.8.0.x/package.mo): time 1.278/1.278, allocations: 285.5 MB / 292.8 MB, free: 10.42 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.0008927/0.0008926, allocations: 173.3 kB / 361.1 MB, free: 7.098 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9934/0.9934, allocations: 205.1 MB / 0.6195 GB, free: 10.32 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.000723/0.000723, allocations: 91.59 kB / 0.7325 GB, free: 44.24 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.1704/0.1711, allocations: 121.5 MB / 0.8512 GB, free: 2.879 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4/0.5711, allocations: 115.3 MB / 0.9638 GB, free: 78.29 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1555/0.7266, allocations: 170.1 MB / 1.13 GB, free: 1.801 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002143/0.7269, allocations: 89.2 kB / 1.13 GB, free: 1.715 MB / 0.7292 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.652/1.379, allocations: 182.4 MB / 1.308 GB, free: 183.3 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.173e-05/1.379, allocations: 12.19 kB / 1.308 GB, free: 183.3 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004555/1.383, allocations: 0.9269 MB / 1.309 GB, free: 183 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004344/1.388, allocations: 3.004 MB / 1.312 GB, free: 182.4 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.014e-05/1.388, allocations: 152.2 kB / 1.312 GB, free: 182.4 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005157/1.388, allocations: 281 kB / 1.312 GB, free: 182.4 MB / 0.8542 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.005881/1.394, allocations: 4.685 MB / 1.317 GB, free: 182.4 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007563/1.402, allocations: 6.702 MB / 1.323 GB, free: 180.8 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001054/1.402, allocations: 28.77 kB / 1.324 GB, free: 180.8 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003809/1.402, allocations: 11.59 kB / 1.324 GB, free: 180.8 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001695/1.403, allocations: 293.9 kB / 1.324 GB, free: 180.7 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02284/1.425, allocations: 34.22 MB / 1.357 GB, free: 152.3 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001536/1.427, allocations: 1.484 MB / 1.359 GB, free: 151.8 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001374/1.428, allocations: 1.31 MB / 1.36 GB, free: 151.3 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 7.163e-05/1.428, allocations: 17.44 kB / 1.36 GB, free: 151.3 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.319e-05/1.429, allocations: 47.03 kB / 1.36 GB, free: 151.2 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=133): time 3.406e-06/1.429, allocations: 0 / 1.36 GB, free: 151.2 MB / 0.8542 GB Notification: Performance of matching and sorting (n=136): time 0.00687/1.435, allocations: 4.582 MB / 1.364 GB, free: 149.2 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.266e-05/1.435, allocations: 66 kB / 1.365 GB, free: 149.1 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001091/1.437, allocations: 1.063 MB / 1.366 GB, free: 148.7 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 6.852e-05/1.437, allocations: 30.2 kB / 1.366 GB, free: 148.7 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005532/1.437, allocations: 1.755 MB / 1.367 GB, free: 147.4 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002528/1.437, allocations: 472.9 kB / 1.368 GB, free: 147 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.521e-05/1.438, allocations: 0 / 1.368 GB, free: 147 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 8.929e-05/1.438, allocations: 379.4 kB / 1.368 GB, free: 146.7 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001041/1.439, allocations: 0.8969 MB / 1.369 GB, free: 146.3 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001248/1.44, allocations: 1.542 MB / 1.371 GB, free: 145.1 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001322/1.441, allocations: 1.178 MB / 1.372 GB, free: 144.7 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.356e-06/1.441, allocations: 9.156 kB / 1.372 GB, free: 144.7 MB / 0.8542 GB Notification: Performance of matching and sorting (n=236) (initialization): time 0.004693/1.446, allocations: 3.362 MB / 1.375 GB, free: 143.4 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.204e-05/1.446, allocations: 6.531 kB / 1.375 GB, free: 143.4 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.961e-05/1.446, allocations: 27.03 kB / 1.375 GB, free: 143.4 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002502/1.449, allocations: 0.9493 MB / 1.376 GB, free: 143.1 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001038/1.45, allocations: 331.6 kB / 1.376 GB, free: 143.1 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01339/1.463, allocations: 19.75 MB / 1.396 GB, free: 126.5 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001365/1.464, allocations: 46.83 kB / 1.396 GB, free: 126.5 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001234/1.464, allocations: 83.39 kB / 1.396 GB, free: 126.5 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.0002543/1.465, allocations: 166.4 kB / 1.396 GB, free: 126.3 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002072/1.465, allocations: 188.2 kB / 1.396 GB, free: 126.2 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004318/1.469, allocations: 2.981 MB / 1.399 GB, free: 125.1 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.716e-06/1.469, allocations: 14.62 kB / 1.399 GB, free: 125.1 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.478e-06/1.469, allocations: 8.656 kB / 1.399 GB, free: 125.1 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.154e-05/1.469, allocations: 6.797 kB / 1.399 GB, free: 125.1 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008721/1.478, allocations: 6.206 MB / 1.405 GB, free: 122.6 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.514e-06/1.478, allocations: 9.75 kB / 1.405 GB, free: 122.6 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006414/1.479, allocations: 156.1 kB / 1.405 GB, free: 122.6 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002461/1.481, allocations: 0.9335 MB / 1.406 GB, free: 122.2 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.152e-05/1.481, allocations: 5.594 kB / 1.406 GB, free: 122.2 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01327/1.495, allocations: 19.76 MB / 1.425 GB, free: 103.3 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.079e-06/1.495, allocations: 6.719 kB / 1.425 GB, free: 103.3 MB / 0.8542 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.004192/1.499, allocations: 3.394 MB / 1.429 GB, free: 100.2 MB / 0.8542 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.004117/1.503, allocations: 3.822 MB / 1.432 GB, free: 96.57 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006894/1.504, allocations: 456.9 kB / 1.433 GB, free: 96.15 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002685/1.504, allocations: 8 kB / 1.433 GB, free: 96.14 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007144/1.505, allocations: 29.81 kB / 1.433 GB, free: 96.13 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001334/1.505, allocations: 83.09 kB / 1.433 GB, free: 96.07 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.829e-05/1.505, allocations: 40.59 kB / 1.433 GB, free: 96.04 MB / 0.8542 GB Notification: Performance of sort global known variables: time 0.0008063/1.506, allocations: 0.7822 MB / 1.434 GB, free: 95.34 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.002817/1.508, allocations: 0.7344 MB / 1.434 GB, free: 94.61 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.0001809/1.509, allocations: 134.2 kB / 1.435 GB, free: 94.47 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.004128/1.513, allocations: 3.791 MB / 1.438 GB, free: 90.89 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.825e-06/1.513, allocations: 0 / 1.438 GB, free: 90.89 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.00288/1.516, allocations: 2.598 MB / 1.441 GB, free: 88.4 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002103/1.518, allocations: 0.5765 MB / 1.441 GB, free: 87.97 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008521/1.526, allocations: 5.649 MB / 1.447 GB, free: 82.8 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002786/1.529, allocations: 3.249 MB / 1.45 GB, free: 80.25 MB / 0.8542 GB Notification: Performance of SimCode: time 4.41e-07/1.529, allocations: 0 / 1.45 GB, free: 80.25 MB / 0.8542 GB (rm -f Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L.fmu > Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe 2>&1)