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_R_N.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_R_N,fileNamePrefix="Buildings_maint_8_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_8_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 8.0.1-maint.8.0.x/package.mo): time 1.297/1.297, allocations: 285.5 MB / 292.8 MB, free: 10.43 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.0009089/0.0009089, allocations: 177.3 kB / 361.1 MB, free: 7.051 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.9824/0.9824, allocations: 205.1 MB / 0.6195 GB, free: 10.25 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.0007171/0.0007171, allocations: 87.78 kB / 0.7325 GB, free: 44.18 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.1668/0.1676, allocations: 121.5 MB / 0.8512 GB, free: 2.801 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3899/0.5575, allocations: 115.3 MB / 0.9638 GB, free: 78.43 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1519/0.7094, allocations: 170.7 MB / 1.13 GB, free: 1.238 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000224/0.7097, allocations: 94.16 kB / 1.131 GB, free: 1.148 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: 1524 * Number of variables: 1524 Notification: Performance of Generate backend data structure: time 0.6537/1.363, allocations: 205.2 MB / 1.331 GB, free: 179.7 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.156e-05/1.363, allocations: 8.656 kB / 1.331 GB, free: 179.7 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005318/1.369, allocations: 1.129 MB / 1.332 GB, free: 179.4 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006036/1.375, allocations: 3.72 MB / 1.336 GB, free: 178.3 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001487/1.375, allocations: 184.8 kB / 1.336 GB, free: 178.3 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006936/1.376, allocations: 338.1 kB / 1.336 GB, free: 178.2 MB / 0.8542 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.008371/1.384, allocations: 5.884 MB / 1.342 GB, free: 176 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009976/1.394, allocations: 8.051 MB / 1.35 GB, free: 172.3 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001135/1.394, allocations: 19.84 kB / 1.35 GB, free: 172.3 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004758/1.395, allocations: 12.31 kB / 1.35 GB, free: 172.3 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001868/1.395, allocations: 315.2 kB / 1.35 GB, free: 172.3 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02622/1.421, allocations: 40.41 MB / 1.39 GB, free: 139.2 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003083/1.424, allocations: 2.864 MB / 1.392 GB, free: 138.3 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00212/1.426, allocations: 2.125 MB / 1.394 GB, free: 137.5 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 9.691e-05/1.426, allocations: 19.78 kB / 1.394 GB, free: 137.5 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.301e-05/1.426, allocations: 58.88 kB / 1.395 GB, free: 137.4 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=209): time 3.797e-06/1.426, allocations: 0 / 1.395 GB, free: 137.4 MB / 0.8542 GB Notification: Performance of matching and sorting (n=212): time 0.008574/1.435, allocations: 6.459 MB / 1.401 GB, free: 133.6 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.301e-05/1.435, allocations: 73.41 kB / 1.401 GB, free: 133.5 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001247/1.436, allocations: 1.321 MB / 1.402 GB, free: 132.3 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 0.0001099/1.436, allocations: 25.7 kB / 1.402 GB, free: 132.2 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005587/1.437, allocations: 2.064 MB / 1.404 GB, free: 130.4 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003453/1.437, allocations: 0.6942 MB / 1.405 GB, free: 129.8 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001122/1.437, allocations: 0 / 1.405 GB, free: 129.8 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001038/1.438, allocations: 411.5 kB / 1.405 GB, free: 129.4 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001356/1.439, allocations: 1.297 MB / 1.407 GB, free: 128.3 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001596/1.441, allocations: 2.072 MB / 1.409 GB, free: 126 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001664/1.442, allocations: 1.669 MB / 1.41 GB, free: 124.6 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.526e-06/1.442, allocations: 11.28 kB / 1.41 GB, free: 124.6 MB / 0.8542 GB Notification: Performance of matching and sorting (n=327) (initialization): time 0.005749/1.448, allocations: 4.72 MB / 1.415 GB, free: 119.9 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.133e-05/1.448, allocations: 4 kB / 1.415 GB, free: 119.9 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.91e-05/1.448, allocations: 24 kB / 1.415 GB, free: 119.9 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00277/1.451, allocations: 1.429 MB / 1.416 GB, free: 118.5 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001328/1.452, allocations: 423.3 kB / 1.417 GB, free: 118.1 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01405/1.466, allocations: 15.52 MB / 1.432 GB, free: 102.1 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001499/1.468, allocations: 67.86 kB / 1.432 GB, free: 102 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001666/1.468, allocations: 112 kB / 1.432 GB, free: 101.9 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.000301/1.468, allocations: 168.3 kB / 1.432 GB, free: 101.8 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002836/1.468, allocations: 268.9 kB / 1.432 GB, free: 101.5 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005395/1.474, allocations: 4.314 MB / 1.437 GB, free: 97.16 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.232e-05/1.474, allocations: 21.53 kB / 1.437 GB, free: 97.14 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.134e-05/1.474, allocations: 20 kB / 1.437 GB, free: 97.12 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.421e-05/1.474, allocations: 11.97 kB / 1.437 GB, free: 97.11 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01073/1.485, allocations: 8.722 MB / 1.445 GB, free: 88.33 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.384e-06/1.485, allocations: 4.562 kB / 1.445 GB, free: 88.32 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009047/1.486, allocations: 215.7 kB / 1.445 GB, free: 88.11 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002731/1.488, allocations: 1.4 MB / 1.447 GB, free: 86.7 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001167/1.488, allocations: 4 kB / 1.447 GB, free: 86.7 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01407/1.503, allocations: 15.49 MB / 1.462 GB, free: 70.77 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.43e-06/1.503, allocations: 7.938 kB / 1.462 GB, free: 70.76 MB / 0.8542 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.005292/1.508, allocations: 4.755 MB / 1.467 GB, free: 65.81 MB / 0.8542 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.005077/1.513, allocations: 5.176 MB / 1.472 GB, free: 60.44 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000942/1.514, allocations: 0.5994 MB / 1.472 GB, free: 59.82 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003699/1.514, allocations: 11.98 kB / 1.472 GB, free: 59.8 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001041/1.515, allocations: 43.94 kB / 1.472 GB, free: 59.76 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001894/1.516, allocations: 117.7 kB / 1.472 GB, free: 59.64 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001308/1.516, allocations: 60 kB / 1.472 GB, free: 59.59 MB / 0.8542 GB Notification: Performance of sort global known variables: time 0.0009934/1.517, allocations: 0.9724 MB / 1.473 GB, free: 58.6 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.003006/1.52, allocations: 1.008 MB / 1.474 GB, free: 57.59 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.0002177/1.52, allocations: 134.8 kB / 1.474 GB, free: 57.45 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.004978/1.525, allocations: 4.208 MB / 1.479 GB, free: 53.2 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 4.999e-06/1.525, allocations: 6.5 kB / 1.479 GB, free: 53.2 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.003164/1.528, allocations: 2.559 MB / 1.481 GB, free: 50.61 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002525/1.531, allocations: 0.6586 MB / 1.482 GB, free: 49.95 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01124/1.542, allocations: 7.549 MB / 1.489 GB, free: 42.28 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003276/1.545, allocations: 3.849 MB / 1.493 GB, free: 38.39 MB / 0.8542 GB Notification: Performance of SimCode: time 4.11e-07/1.545, allocations: 0 / 1.493 GB, free: 38.39 MB / 0.8542 GB (rm -f Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe >> ../files/Buildings_maint.8.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_8_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R_N_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R_N.fmu > Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe 2>&1)