Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_RL",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_RL",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 7.0.3-maint.7.0.x/package.mo): time 1.269/1.269, allocations: 249.4 MB / 256.7 MB, free: 7.027 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009989/0.0009991, allocations: 180.6 kB / 316 MB, free: 3.578 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.09/1.09, allocations: 205.1 MB / 0.5667 GB, free: 15.65 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001029/0.001029, allocations: 90.08 kB / 0.671 GB, free: 4.773 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.3205/0.3215, allocations: 112.5 MB / 0.7808 GB, free: 103 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1498/0.4714, allocations: 106.3 MB / 0.8847 GB, free: 12.55 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.4941/0.9655, allocations: 181.9 MB / 1.062 GB, free: 7.238 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002884/0.9659, allocations: 92.62 kB / 1.062 GB, free: 7.188 MB / 0.6823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 140 * Number of variables: 140 Notification: Performance of Generate backend data structure: time 0.0711/1.037, allocations: 32.15 MB / 1.094 GB, free: 12.28 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.998e-05/1.037, allocations: 8 kB / 1.094 GB, free: 12.27 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001487/1.039, allocations: 202 kB / 1.094 GB, free: 12.07 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000993/1.04, allocations: 0.4987 MB / 1.094 GB, free: 11.59 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.896e-05/1.04, allocations: 16 kB / 1.095 GB, free: 11.57 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001387/1.04, allocations: 32 kB / 1.095 GB, free: 11.54 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007426/1.04, allocations: 482.4 kB / 1.095 GB, free: 11.23 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009543/1.041, allocations: 0.8003 MB / 1.096 GB, free: 10.48 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.65e-05/1.041, allocations: 15.83 kB / 1.096 GB, free: 10.46 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.284e-05/1.042, allocations: 4 kB / 1.096 GB, free: 10.46 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.085e-05/1.042, allocations: 44.53 kB / 1.096 GB, free: 10.42 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003902/1.046, allocations: 4.487 MB / 1.1 GB, free: 5.992 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003277/1.046, allocations: 286.5 kB / 1.1 GB, free: 5.793 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002389/1.046, allocations: 213.5 kB / 1.101 GB, free: 5.656 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.843e-05/1.046, allocations: 4 kB / 1.101 GB, free: 5.652 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.461e-05/1.046, allocations: 38.44 kB / 1.101 GB, free: 5.609 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=33): time 1.854e-06/1.046, allocations: 0 / 1.101 GB, free: 5.609 MB / 0.7136 GB Notification: Performance of matching and sorting (n=40): time 0.003628/1.05, allocations: 2.02 MB / 1.103 GB, free: 3.91 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.685e-05/1.05, allocations: 55.41 kB / 1.103 GB, free: 3.844 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003062/1.05, allocations: 336.7 kB / 1.103 GB, free: 3.578 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 3.715e-05/1.05, allocations: 29.7 kB / 1.103 GB, free: 3.543 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001347/1.05, allocations: 291.1 kB / 1.103 GB, free: 3.281 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 8.959e-05/1.05, allocations: 134.8 kB / 1.104 GB, free: 3.164 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.498e-05/1.05, allocations: 0 / 1.104 GB, free: 3.164 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001204/1.051, allocations: 358.5 kB / 1.104 GB, free: 2.824 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002791/1.051, allocations: 227.2 kB / 1.104 GB, free: 2.684 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003692/1.051, allocations: 374.9 kB / 1.104 GB, free: 2.344 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000348/1.052, allocations: 280.8 kB / 1.105 GB, free: 2.16 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/1.052, allocations: 4 kB / 1.105 GB, free: 2.156 MB / 0.7136 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001456/1.053, allocations: 0.8519 MB / 1.106 GB, free: 1.484 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.234e-05/1.053, allocations: 4 kB / 1.106 GB, free: 1.48 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.536e-06/1.053, allocations: 4 kB / 1.106 GB, free: 1.477 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007787/1.054, allocations: 225.7 kB / 1.106 GB, free: 1.285 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004824/1.054, allocations: 107.1 kB / 1.106 GB, free: 1.184 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004053/1.058, allocations: 4.619 MB / 1.11 GB, free: 12.59 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003842/1.059, allocations: 14.98 kB / 1.11 GB, free: 12.57 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.886e-05/1.059, allocations: 18.94 kB / 1.11 GB, free: 12.56 MB / 0.7292 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (55): * Single equations (assignments): 52 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001188/1.059, allocations: 124.8 kB / 1.111 GB, free: 12.43 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.648e-05/1.059, allocations: 58.53 kB / 1.111 GB, free: 12.38 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001325/1.06, allocations: 0.7429 MB / 1.111 GB, free: 11.82 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.169e-06/1.06, allocations: 4 kB / 1.111 GB, free: 11.81 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.472e-06/1.06, allocations: 4 kB / 1.111 GB, free: 11.81 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.509e-06/1.06, allocations: 0 / 1.111 GB, free: 11.81 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002096/1.063, allocations: 1.381 MB / 1.113 GB, free: 10.66 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.536e-06/1.063, allocations: 7.938 kB / 1.113 GB, free: 10.65 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000377/1.063, allocations: 63.89 kB / 1.113 GB, free: 10.59 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006733/1.064, allocations: 205.6 kB / 1.113 GB, free: 10.41 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.478e-05/1.064, allocations: 7.984 kB / 1.113 GB, free: 10.41 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003984/1.068, allocations: 4.539 MB / 1.117 GB, free: 5.871 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.146e-06/1.068, allocations: 4 kB / 1.117 GB, free: 5.867 MB / 0.7292 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001608/1.069, allocations: 1.202 MB / 1.119 GB, free: 4.863 MB / 0.7292 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001999/1.071, allocations: 1.889 MB / 1.12 GB, free: 3.293 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002279/1.072, allocations: 166.9 kB / 1.121 GB, free: 3.129 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.865e-05/1.072, allocations: 7.938 kB / 1.121 GB, free: 3.121 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003055/1.072, allocations: 7.984 kB / 1.121 GB, free: 3.113 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.074e-05/1.072, allocations: 27.52 kB / 1.121 GB, free: 3.09 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.842e-05/1.072, allocations: 11.56 kB / 1.121 GB, free: 3.082 MB / 0.7292 GB Notification: Performance of sort global known variables: time 0.0003006/1.072, allocations: 257.1 kB / 1.121 GB, free: 2.883 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.001266/1.074, allocations: 151.9 kB / 1.121 GB, free: 2.734 MB / 0.7292 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 2 (RL_3.i_p[1],RL_3.i_p[2]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (30): * Single equations (assignments): 27 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002108/1.074, allocations: 119.2 kB / 1.121 GB, free: 2.605 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.001478/1.075, allocations: 0.9158 MB / 1.122 GB, free: 1.848 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 4.469e-06/1.075, allocations: 4 kB / 1.122 GB, free: 1.844 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0008178/1.076, allocations: 0.6145 MB / 1.123 GB, free: 1.285 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006968/1.077, allocations: 138 kB / 1.123 GB, free: 1.18 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002064/1.079, allocations: 0.956 MB / 1.124 GB, free: 272 kB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006934/1.08, allocations: 0.9884 MB / 1.125 GB, free: 15.27 MB / 0.7448 GB Notification: Performance of SimCode: time 5.51e-07/1.08, allocations: 0 / 1.125 GB, free: 15.27 MB / 0.7448 GB (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_RL_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_RL.fmu > Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe 2>&1)