Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL,fileNamePrefix="Buildings_8_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_RL",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL,fileNamePrefix="Buildings_8_Buildings_Electrical_AC_OnePhase_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 8.1.4-maint.8.1.x/package.mo): time 1.378/1.378, allocations: 289.8 MB / 297.1 MB, free: 6.547 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.0009529/0.0009529, allocations: 189.2 kB / 366.3 MB, free: 1.797 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.072/1.072, allocations: 205.1 MB / 0.6256 GB, free: 5.828 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.0007094/0.0007094, allocations: 94.8 kB / 0.7396 GB, free: 39.65 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.1975/0.1982, allocations: 122.4 MB / 0.8591 GB, free: 13.25 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4217/0.62, allocations: 116.3 MB / 0.9727 GB, free: 68.11 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1713/0.7913, allocations: 181.5 MB / 1.15 GB, free: 14.88 MB / 0.7605 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002704/0.7917, allocations: 96.59 kB / 1.15 GB, free: 14.79 MB / 0.7605 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.06761/0.8593, allocations: 31.6 MB / 1.181 GB, free: 14.82 MB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 3.159e-05/0.8593, allocations: 12 kB / 1.181 GB, free: 14.81 MB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001358/0.8607, allocations: 198.9 kB / 1.181 GB, free: 14.62 MB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008179/0.8615, allocations: 0.4921 MB / 1.182 GB, free: 14.09 MB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.76e-05/0.8616, allocations: 16 kB / 1.182 GB, free: 14.07 MB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001355/0.8617, allocations: 35.98 kB / 1.182 GB, free: 14.04 MB / 0.7917 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006818/0.8624, allocations: 474.1 kB / 1.182 GB, free: 13.57 MB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009424/0.8633, allocations: 0.7988 MB / 1.183 GB, free: 12.66 MB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.374e-05/0.8634, allocations: 11.94 kB / 1.183 GB, free: 12.65 MB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.067e-05/0.8634, allocations: 4 kB / 1.183 GB, free: 12.65 MB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.821e-05/0.8635, allocations: 40.97 kB / 1.183 GB, free: 12.61 MB / 0.7917 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003673/0.8672, allocations: 4.505 MB / 1.187 GB, free: 7.77 MB / 0.7917 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003377/0.8675, allocations: 274.4 kB / 1.188 GB, free: 7.492 MB / 0.7917 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002587/0.8678, allocations: 217.7 kB / 1.188 GB, free: 7.277 MB / 0.7917 GB Notification: Performance of preOpt evalFunc (simulation): time 2.636e-05/0.8678, allocations: 4 kB / 1.188 GB, free: 7.273 MB / 0.7917 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.285e-05/0.8678, allocations: 46.55 kB / 1.188 GB, free: 7.219 MB / 0.7917 GB Notification: Performance of pre-optimization done (n=33): time 1.563e-06/0.8678, allocations: 0 / 1.188 GB, free: 7.219 MB / 0.7917 GB Notification: Performance of matching and sorting (n=40): time 0.003618/0.8715, allocations: 2.018 MB / 1.19 GB, free: 5.105 MB / 0.7917 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.02e-05/0.8715, allocations: 55.41 kB / 1.19 GB, free: 5.039 MB / 0.7917 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003236/0.8718, allocations: 329 kB / 1.19 GB, free: 4.711 MB / 0.7917 GB Notification: Performance of collectPreVariables (initialization): time 3.111e-05/0.8719, allocations: 29.7 kB / 1.19 GB, free: 4.676 MB / 0.7917 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001337/0.872, allocations: 287.6 kB / 1.19 GB, free: 4.387 MB / 0.7917 GB Notification: Performance of collectInitialBindings (initialization): time 9.01e-05/0.8721, allocations: 134 kB / 1.191 GB, free: 4.254 MB / 0.7917 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.543e-05/0.8721, allocations: 4 kB / 1.191 GB, free: 4.25 MB / 0.7917 GB Notification: Performance of setup shared object (initialization): time 0.0001205/0.8723, allocations: 362.7 kB / 1.191 GB, free: 3.887 MB / 0.7917 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002996/0.8726, allocations: 229.2 kB / 1.191 GB, free: 3.66 MB / 0.7917 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003688/0.873, allocations: 372.1 kB / 1.191 GB, free: 3.234 MB / 0.7917 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003608/0.8733, allocations: 281.4 kB / 1.192 GB, free: 2.961 MB / 0.7917 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.048e-06/0.8733, allocations: 8 kB / 1.192 GB, free: 2.953 MB / 0.7917 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001482/0.8748, allocations: 0.8434 MB / 1.193 GB, free: 2.094 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 1.455e-05/0.8748, allocations: 8 kB / 1.193 GB, free: 2.086 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.135e-06/0.8749, allocations: 4 kB / 1.193 GB, free: 2.082 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007596/0.8756, allocations: 222.9 kB / 1.193 GB, free: 1.855 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004776/0.8761, allocations: 103.8 kB / 1.193 GB, free: 1.754 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004111/0.8802, allocations: 4.62 MB / 1.197 GB, free: 12.79 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003616/0.8806, allocations: 15.98 kB / 1.197 GB, free: 12.78 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.161e-05/0.8807, allocations: 24.05 kB / 1.197 GB, free: 12.75 MB / 0.8073 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.0001104/0.8808, allocations: 116.8 kB / 1.198 GB, free: 12.63 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.2e-05/0.8809, allocations: 55.34 kB / 1.198 GB, free: 12.58 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001358/0.8822, allocations: 0.7347 MB / 1.198 GB, free: 11.82 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.186e-06/0.8822, allocations: 11.89 kB / 1.198 GB, free: 11.81 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.35e-06/0.8823, allocations: 7.938 kB / 1.198 GB, free: 11.8 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.34e-06/0.8823, allocations: 4 kB / 1.198 GB, free: 11.8 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00205/0.8843, allocations: 1.369 MB / 1.2 GB, free: 10.36 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.635e-06/0.8843, allocations: 0 / 1.2 GB, free: 10.36 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003787/0.8847, allocations: 67.89 kB / 1.2 GB, free: 10.29 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000663/0.8854, allocations: 206.6 kB / 1.2 GB, free: 10.08 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.977e-05/0.8854, allocations: 4 kB / 1.2 GB, free: 10.07 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003793/0.8892, allocations: 4.542 MB / 1.204 GB, free: 5.188 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.595e-06/0.8893, allocations: 0 / 1.204 GB, free: 5.188 MB / 0.8073 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001578/0.8908, allocations: 1.195 MB / 1.206 GB, free: 3.902 MB / 0.8073 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.002016/0.8929, allocations: 1.899 MB / 1.207 GB, free: 1.91 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001962/0.8931, allocations: 164.5 kB / 1.208 GB, free: 1.73 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.054e-05/0.8932, allocations: 7.906 kB / 1.208 GB, free: 1.723 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003024/0.8935, allocations: 11.98 kB / 1.208 GB, free: 1.711 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.924e-05/0.8935, allocations: 24.03 kB / 1.208 GB, free: 1.688 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.083e-05/0.8936, allocations: 16 kB / 1.208 GB, free: 1.672 MB / 0.8073 GB Notification: Performance of sort global known variables: time 0.0002246/0.8938, allocations: 247.2 kB / 1.208 GB, free: 1.43 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0012/0.895, allocations: 152 kB / 1.208 GB, free: 1.281 MB / 0.8073 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.0001581/0.8952, allocations: 117.5 kB / 1.208 GB, free: 1.156 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.001295/0.8965, allocations: 0.9238 MB / 1.209 GB, free: 208 kB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.8965, allocations: 0 / 1.209 GB, free: 208 kB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 0.0008064/0.8973, allocations: 0.6186 MB / 1.21 GB, free: 15.55 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006453/0.898, allocations: 135.3 kB / 1.21 GB, free: 15.43 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001613/0.8996, allocations: 0.9646 MB / 1.211 GB, free: 14.4 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005535/0.9001, allocations: 0.9876 MB / 1.212 GB, free: 13.39 MB / 0.823 GB Notification: Performance of SimCode: time 2.6e-07/0.9001, allocations: 0 / 1.212 GB, free: 13.39 MB / 0.823 GB (rm -f Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_RL_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_RL.fmu > Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe 2>&1)