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_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_L_N,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L_N",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L_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.281/1.281, allocations: 285.5 MB / 292.8 MB, free: 10.46 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.0009139/0.0009137, allocations: 177.3 kB / 361.1 MB, free: 7.109 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.9813/0.9813, allocations: 205.1 MB / 0.6195 GB, free: 10.31 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.0007595/0.0007595, allocations: 91.78 kB / 0.7326 GB, free: 44.23 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.1662/0.167, allocations: 121.5 MB / 0.8512 GB, free: 2.875 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.38/0.547, allocations: 115.3 MB / 0.9638 GB, free: 78.22 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1468/0.6938, allocations: 170.3 MB / 1.13 GB, free: 1.703 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002102/0.6941, allocations: 93.91 kB / 1.13 GB, free: 1.613 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: 1488 * Number of variables: 1488 Notification: Performance of Generate backend data structure: time 0.6811/1.375, allocations: 202.5 MB / 1.328 GB, free: 153.4 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.164e-05/1.375, allocations: 7.719 kB / 1.328 GB, free: 153.4 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005732/1.381, allocations: 1.035 MB / 1.329 GB, free: 153.1 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006111/1.387, allocations: 3.42 MB / 1.332 GB, free: 152.3 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002263/1.387, allocations: 178.6 kB / 1.332 GB, free: 152.3 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007655/1.388, allocations: 328.6 kB / 1.333 GB, free: 152.3 MB / 0.8542 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.007821/1.396, allocations: 5.634 MB / 1.338 GB, free: 152.3 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009736/1.406, allocations: 7.857 MB / 1.346 GB, free: 150.9 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001341/1.406, allocations: 33.38 kB / 1.346 GB, free: 150.9 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004909/1.406, allocations: 15.19 kB / 1.346 GB, free: 150.9 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002252/1.407, allocations: 324.8 kB / 1.346 GB, free: 150.9 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02639/1.433, allocations: 39.12 MB / 1.385 GB, free: 121.7 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001867/1.435, allocations: 2.155 MB / 1.387 GB, free: 120.3 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001772/1.437, allocations: 1.94 MB / 1.389 GB, free: 119 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 8.075e-05/1.437, allocations: 18 kB / 1.389 GB, free: 119 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.904e-05/1.437, allocations: 54.5 kB / 1.389 GB, free: 119 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=179): time 3.426e-06/1.437, allocations: 5.219 kB / 1.389 GB, free: 119 MB / 0.8542 GB Notification: Performance of matching and sorting (n=182): time 0.007719/1.444, allocations: 6.059 MB / 1.395 GB, free: 114.4 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.026e-05/1.445, allocations: 77.31 kB / 1.395 GB, free: 114.3 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009809/1.446, allocations: 1.098 MB / 1.396 GB, free: 113.5 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 8.873e-05/1.446, allocations: 25.7 kB / 1.396 GB, free: 113.4 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004821/1.446, allocations: 1.993 MB / 1.398 GB, free: 111.6 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002874/1.446, allocations: 0.6036 MB / 1.398 GB, free: 111.1 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.407e-05/1.446, allocations: 3.719 kB / 1.398 GB, free: 111.1 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 8.463e-05/1.447, allocations: 393.9 kB / 1.399 GB, free: 110.7 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001137/1.448, allocations: 1.181 MB / 1.4 GB, free: 110 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001364/1.449, allocations: 1.846 MB / 1.402 GB, free: 108.3 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001441/1.451, allocations: 1.531 MB / 1.403 GB, free: 107.3 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.023e-06/1.451, allocations: 4 kB / 1.403 GB, free: 107.3 MB / 0.8542 GB Notification: Performance of matching and sorting (n=282) (initialization): time 0.005792/1.456, allocations: 4.417 MB / 1.407 GB, free: 104 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.262e-05/1.456, allocations: 6.969 kB / 1.407 GB, free: 104 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.781e-05/1.456, allocations: 24 kB / 1.407 GB, free: 104 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003344/1.46, allocations: 1.558 MB / 1.409 GB, free: 102.8 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001025/1.461, allocations: 335.6 kB / 1.409 GB, free: 102.5 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01534/1.476, allocations: 15.55 MB / 1.424 GB, free: 86.59 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001419/1.478, allocations: 47.95 kB / 1.424 GB, free: 86.55 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001437/1.478, allocations: 95.98 kB / 1.425 GB, free: 86.45 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 (174): * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(14,34.7%) 24,(6,66.7%) 24,(6,66.7%) 16,(6,66.7%) 16} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002749/1.478, allocations: 168.3 kB / 1.425 GB, free: 86.28 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000228/1.478, allocations: 209.5 kB / 1.425 GB, free: 86.07 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00554/1.484, allocations: 4.074 MB / 1.429 GB, free: 82 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.11e-05/1.484, allocations: 25.31 kB / 1.429 GB, free: 81.97 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.102e-05/1.484, allocations: 16.69 kB / 1.429 GB, free: 81.96 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.225e-05/1.484, allocations: 7.969 kB / 1.429 GB, free: 81.95 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01027/1.494, allocations: 8.084 MB / 1.437 GB, free: 73.81 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.533e-06/1.494, allocations: 4 kB / 1.437 GB, free: 73.81 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006174/1.495, allocations: 155.7 kB / 1.437 GB, free: 73.66 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003351/1.498, allocations: 1.53 MB / 1.438 GB, free: 72.12 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.783e-05/1.498, allocations: 8 kB / 1.438 GB, free: 72.11 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01524/1.513, allocations: 15.54 MB / 1.454 GB, free: 56.14 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.709e-06/1.513, allocations: 7.938 kB / 1.454 GB, free: 56.13 MB / 0.8542 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.005154/1.519, allocations: 4.476 MB / 1.458 GB, free: 51.49 MB / 0.8542 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.005278/1.524, allocations: 4.92 MB / 1.463 GB, free: 46.41 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007811/1.525, allocations: 0.5219 MB / 1.463 GB, free: 45.86 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002895/1.525, allocations: 4.5 kB / 1.463 GB, free: 45.86 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008321/1.526, allocations: 45.25 kB / 1.463 GB, free: 45.82 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001731/1.526, allocations: 93.8 kB / 1.463 GB, free: 45.72 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001038/1.526, allocations: 52.69 kB / 1.464 GB, free: 45.67 MB / 0.8542 GB Notification: Performance of sort global known variables: time 0.0008379/1.527, allocations: 0.8061 MB / 1.464 GB, free: 44.88 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.003253/1.53, allocations: 0.9061 MB / 1.465 GB, free: 43.97 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 (77): * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(6,66.7%) 16,(6,66.7%) 16,(6,66.7%) 24,(14,34.7%) 24} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002006/1.53, allocations: 118.8 kB / 1.465 GB, free: 43.84 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.005117/1.536, allocations: 4.013 MB / 1.469 GB, free: 39.8 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.976e-06/1.536, allocations: 0 / 1.469 GB, free: 39.8 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.003529/1.539, allocations: 2.506 MB / 1.472 GB, free: 37.26 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002173/1.541, allocations: 0.6085 MB / 1.472 GB, free: 36.68 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01046/1.552, allocations: 7.048 MB / 1.479 GB, free: 29.5 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003171/1.555, allocations: 3.695 MB / 1.483 GB, free: 25.77 MB / 0.8542 GB Notification: Performance of SimCode: time 4.21e-07/1.555, allocations: 3.938 kB / 1.483 GB, free: 25.77 MB / 0.8542 GB (rm -f Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_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_L_N_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L_N.fmu > Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe 2>&1)