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.ACLineMatrix_RL_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.ACLineMatrix_RL_N,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_N",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_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.292/1.292, allocations: 285.5 MB / 292.8 MB, free: 10.45 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.0008933/0.0008933, allocations: 179.5 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 1.002/1.002, allocations: 205.1 MB / 0.6195 GB, free: 10.35 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.0007656/0.0007656, allocations: 90.42 kB / 0.7326 GB, free: 44.25 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.173/0.1738, allocations: 121.5 MB / 0.8512 GB, free: 2.879 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4008/0.5746, allocations: 115.3 MB / 0.9638 GB, free: 78.45 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1534/0.7281, allocations: 165.6 MB / 1.126 GB, free: 6.387 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001985/0.7283, allocations: 93.11 kB / 1.126 GB, free: 6.297 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: 1053 * Number of variables: 1053 Notification: Performance of Generate backend data structure: time 0.5868/1.315, allocations: 141.4 MB / 1.264 GB, free: 152 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.087e-05/1.315, allocations: 14.44 kB / 1.264 GB, free: 152 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005481/1.321, allocations: 1.038 MB / 1.265 GB, free: 151.7 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003817/1.325, allocations: 2.627 MB / 1.267 GB, free: 151.2 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.044e-05/1.325, allocations: 115.4 kB / 1.267 GB, free: 151.2 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004395/1.325, allocations: 214.8 kB / 1.268 GB, free: 151.2 MB / 0.8542 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.005458/1.331, allocations: 4.591 MB / 1.272 GB, free: 151.2 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00669/1.337, allocations: 6.252 MB / 1.278 GB, free: 150.2 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.955e-05/1.337, allocations: 13.08 kB / 1.278 GB, free: 150.2 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003411/1.338, allocations: 14.05 kB / 1.278 GB, free: 150.2 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005102/1.338, allocations: 406.9 kB / 1.279 GB, free: 150.2 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02368/1.362, allocations: 31.65 MB / 1.309 GB, free: 130.8 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001861/1.364, allocations: 2.098 MB / 1.312 GB, free: 130.8 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002096/1.366, allocations: 2.246 MB / 1.314 GB, free: 130.8 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 7.349e-05/1.366, allocations: 23.91 kB / 1.314 GB, free: 130.8 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.058e-05/1.366, allocations: 52.38 kB / 1.314 GB, free: 130.8 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=146): time 2.875e-06/1.366, allocations: 0 / 1.314 GB, free: 130.8 MB / 0.8542 GB Notification: Performance of matching and sorting (n=251): time 0.04947/1.415, allocations: 21.6 MB / 1.335 GB, free: 129.6 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.187e-05/1.416, allocations: 78 kB / 1.335 GB, free: 129.5 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00172/1.417, allocations: 1.269 MB / 1.336 GB, free: 129.4 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 0.0003221/1.418, allocations: 25.7 kB / 1.336 GB, free: 129.3 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005082/1.418, allocations: 1.459 MB / 1.338 GB, free: 128.5 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006615/1.419, allocations: 0.8166 MB / 1.338 GB, free: 127.9 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002618/1.419, allocations: 0 / 1.338 GB, free: 127.9 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001015/1.419, allocations: 414.6 kB / 1.339 GB, free: 127.6 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002797/1.422, allocations: 2.868 MB / 1.342 GB, free: 127.6 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003485/1.425, allocations: 3.388 MB / 1.345 GB, free: 127 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005384/1.431, allocations: 3.613 MB / 1.348 GB, free: 127 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.497e-05/1.431, allocations: 5.969 kB / 1.348 GB, free: 127 MB / 0.8542 GB Notification: Performance of matching and sorting (n=322) (initialization): time 0.02112/1.452, allocations: 12.41 MB / 1.361 GB, free: 126.6 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.823e-05/1.452, allocations: 6.219 kB / 1.361 GB, free: 126.6 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.767e-05/1.452, allocations: 15.03 kB / 1.361 GB, free: 126.6 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02184/1.474, allocations: 7.968 MB / 1.368 GB, free: 126.5 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001128/1.475, allocations: 283.8 kB / 1.369 GB, free: 126.5 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04158/1.517, allocations: 30.91 MB / 1.399 GB, free: 107.8 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00226/1.519, allocations: 81.7 kB / 1.399 GB, free: 107.7 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005131/1.519, allocations: 270.2 kB / 1.399 GB, free: 107.5 MB / 0.8542 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 69 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (148): * Single equations (assignments): 142 * 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: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(19,68.1%) 19,(12,50.0%) 18,(12,53.5%) 10} * Non-linear torn systems: 3 {20 18,12 18,12 10} Notification: Performance of prepare postOptimizeDAE: time 0.0006513/1.52, allocations: 151.9 kB / 1.399 GB, free: 107.4 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005742/1.521, allocations: 233.2 kB / 1.4 GB, free: 107.2 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02173/1.542, allocations: 12.64 MB / 1.412 GB, free: 97.73 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.813e-05/1.543, allocations: 24 kB / 1.412 GB, free: 97.71 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.586e-05/1.543, allocations: 28 kB / 1.412 GB, free: 97.68 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.344e-05/1.543, allocations: 15.47 kB / 1.412 GB, free: 97.68 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02819/1.571, allocations: 18.12 MB / 1.43 GB, free: 79.73 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.361e-05/1.571, allocations: 4 kB / 1.43 GB, free: 79.72 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006639/1.572, allocations: 158 kB / 1.43 GB, free: 79.58 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02075/1.592, allocations: 7.885 MB / 1.438 GB, free: 71.68 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003638/1.593, allocations: 83.86 kB / 1.438 GB, free: 71.59 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03918/1.632, allocations: 30.42 MB / 1.467 GB, free: 40.82 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.037e-06/1.632, allocations: 16.25 kB / 1.467 GB, free: 40.82 MB / 0.8542 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01987/1.652, allocations: 12.69 MB / 1.48 GB, free: 27.89 MB / 0.8542 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.01986/1.672, allocations: 13.11 MB / 1.493 GB, free: 14.55 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001786/1.673, allocations: 0.9899 MB / 1.493 GB, free: 13.54 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007095/1.674, allocations: 11.98 kB / 1.493 GB, free: 13.53 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001722/1.676, allocations: 79.77 kB / 1.494 GB, free: 13.45 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004398/1.676, allocations: 207.9 kB / 1.494 GB, free: 13.25 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003563/1.677, allocations: 235.8 kB / 1.494 GB, free: 13.02 MB / 0.8542 GB Notification: Performance of sort global known variables: time 0.001123/1.678, allocations: 0.9543 MB / 1.495 GB, free: 12.07 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.003713/1.682, allocations: 1.101 MB / 1.496 GB, free: 10.97 MB / 0.8542 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (80): * Single equations (assignments): 74 * 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: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(12,53.5%) 10,(12,50.0%) 18,(19,54.8%) 19} * Non-linear torn systems: 3 {12 10,12 18,20 18} Notification: Performance of Backend phase and start with SimCode phase: time 0.0004267/1.682, allocations: 152.9 kB / 1.496 GB, free: 10.82 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.01445/1.696, allocations: 9.365 MB / 1.505 GB, free: 1.473 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 5.671e-06/1.697, allocations: 0 / 1.505 GB, free: 1.473 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.01205/1.709, allocations: 5.969 MB / 1.511 GB, free: 11.5 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002343/1.711, allocations: 419.6 kB / 1.512 GB, free: 11.12 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01514/1.726, allocations: 7.474 MB / 1.519 GB, free: 3.5 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004095/1.73, allocations: 3.204 MB / 1.522 GB, free: 272 kB / 0.8698 GB Notification: Performance of SimCode: time 1.252e-06/1.73, allocations: 4 kB / 1.522 GB, free: 268 kB / 0.8698 GB (rm -f Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_N_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_N.fmu > Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe 2>&1)