Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.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: translateModel(Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads") translateModel(Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads") [: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.321/1.321, allocations: 289.8 MB / 297.1 MB, free: 6.66 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.0009261/0.0009261, allocations: 185.2 kB / 366.3 MB, free: 1.992 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.018/1.018, allocations: 205.2 MB / 0.6256 GB, free: 5.84 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.0007653/0.0007653, allocations: 99.06 kB / 0.7396 GB, free: 39.67 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 5.631e-06/5.651e-06, allocations: 0 / 0.859 GB, free: 13.36 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4217/0.4217, allocations: 116.3 MB / 0.9726 GB, free: 68.34 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.16/0.5817, allocations: 168.5 MB / 1.137 GB, free: 12 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002231/0.582, allocations: 96.78 kB / 1.137 GB, free: 11.9 MB / 0.7448 GB Notification: Performance of FrontEnd: time 0.0422/0.6242, allocations: 18.79 MB / 1.156 GB, free: 8.957 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 1.527e-05/0.6242, allocations: 8 kB / 1.156 GB, free: 8.949 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: 68 * Number of variables: 68 Notification: Performance of Generate backend data structure: time 0.0007835/0.625, allocations: 0.5526 MB / 1.156 GB, free: 8.352 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 3.112e-05/0.6251, allocations: 8.031 kB / 1.156 GB, free: 8.344 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008677/0.6259, allocations: 103.5 kB / 1.156 GB, free: 8.242 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004584/0.6264, allocations: 283.7 kB / 1.156 GB, free: 7.926 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.053e-05/0.6264, allocations: 8 kB / 1.156 GB, free: 7.918 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.137e-05/0.6265, allocations: 19.94 kB / 1.156 GB, free: 7.898 MB / 0.7605 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004083/0.6269, allocations: 261.1 kB / 1.157 GB, free: 7.641 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005297/0.6275, allocations: 404.7 kB / 1.157 GB, free: 7.211 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.541e-05/0.6275, allocations: 4 kB / 1.157 GB, free: 7.207 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.028e-05/0.6275, allocations: 0 / 1.157 GB, free: 7.207 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.629e-05/0.6276, allocations: 28.47 kB / 1.157 GB, free: 7.18 MB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002205/0.6298, allocations: 2.159 MB / 1.159 GB, free: 4.832 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002932/0.6301, allocations: 254.6 kB / 1.159 GB, free: 4.574 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001856/0.6303, allocations: 153.2 kB / 1.16 GB, free: 4.422 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 1.877e-05/0.6303, allocations: 4.188 kB / 1.16 GB, free: 4.418 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.39e-05/0.6303, allocations: 38.73 kB / 1.16 GB, free: 4.371 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=22): time 1.613e-06/0.6303, allocations: 4 kB / 1.16 GB, free: 4.367 MB / 0.7605 GB Notification: Performance of matching and sorting (n=23): time 0.001133/0.6315, allocations: 0.7931 MB / 1.16 GB, free: 3.527 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.393e-05/0.6315, allocations: 55.41 kB / 1.161 GB, free: 3.461 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001759/0.6317, allocations: 198 kB / 1.161 GB, free: 3.262 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 2.33e-05/0.6317, allocations: 25.7 kB / 1.161 GB, free: 3.23 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 7.815e-05/0.6318, allocations: 179.9 kB / 1.161 GB, free: 3.051 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 6.32e-05/0.6319, allocations: 86.75 kB / 1.161 GB, free: 2.965 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.667e-05/0.6319, allocations: 4 kB / 1.161 GB, free: 2.961 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 9.955e-05/0.632, allocations: 330.8 kB / 1.161 GB, free: 2.629 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002015/0.6322, allocations: 144 kB / 1.161 GB, free: 2.488 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002335/0.6325, allocations: 224 kB / 1.162 GB, free: 2.238 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003142/0.6328, allocations: 190.6 kB / 1.162 GB, free: 2.055 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.343e-06/0.6328, allocations: 0 / 1.162 GB, free: 2.055 MB / 0.7605 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001017/0.6338, allocations: 0.564 MB / 1.162 GB, free: 1.48 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 1.128e-05/0.6338, allocations: 4 kB / 1.162 GB, free: 1.477 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.893e-06/0.6338, allocations: 1.25 kB / 1.162 GB, free: 1.477 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005939/0.6344, allocations: 181 kB / 1.163 GB, free: 1.297 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002693/0.6347, allocations: 59.89 kB / 1.163 GB, free: 1.238 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002316/0.637, allocations: 2.148 MB / 1.165 GB, free: 14.98 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002782/0.6373, allocations: 15.89 kB / 1.165 GB, free: 14.96 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.857e-05/0.6374, allocations: 16.06 kB / 1.165 GB, free: 14.95 MB / 0.7761 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (32): * Single equations (assignments): 31 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 10} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.765e-05/0.6375, allocations: 116 kB / 1.165 GB, free: 14.83 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.541e-05/0.6375, allocations: 19.72 kB / 1.165 GB, free: 14.81 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004589/0.638, allocations: 341.3 kB / 1.165 GB, free: 14.48 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.717e-06/0.638, allocations: 4 kB / 1.165 GB, free: 14.47 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.403e-06/0.638, allocations: 0 / 1.165 GB, free: 14.47 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.418e-06/0.638, allocations: 3.984 kB / 1.165 GB, free: 14.47 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008996/0.6389, allocations: 0.7542 MB / 1.166 GB, free: 13.66 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.844e-06/0.639, allocations: 3.938 kB / 1.166 GB, free: 13.66 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003906/0.6394, allocations: 71.95 kB / 1.166 GB, free: 13.59 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.116e-06/0.6394, allocations: 0 / 1.166 GB, free: 13.59 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.236e-05/0.6394, allocations: 4 kB / 1.166 GB, free: 13.59 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.056e-06/0.6394, allocations: 3.984 kB / 1.166 GB, free: 13.58 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.108e-06/0.6394, allocations: 7.906 kB / 1.166 GB, free: 13.57 MB / 0.7761 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0006677/0.6401, allocations: 0.6222 MB / 1.167 GB, free: 12.92 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001394/0.6402, allocations: 132.8 kB / 1.167 GB, free: 12.77 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.531e-05/0.6403, allocations: 4 kB / 1.167 GB, free: 12.77 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001972/0.6405, allocations: 7.984 kB / 1.167 GB, free: 12.76 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.525e-05/0.6405, allocations: 27.77 kB / 1.167 GB, free: 12.73 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.527e-05/0.6406, allocations: 4 kB / 1.167 GB, free: 12.73 MB / 0.7761 GB Notification: Performance of sort global known variables: time 0.0001199/0.6407, allocations: 160.1 kB / 1.167 GB, free: 12.57 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0003799/0.6411, allocations: 80 kB / 1.167 GB, free: 12.5 MB / 0.7761 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 4 (dynRC.q[1],dynRC.q[2],dynRL.psi[1],dynRL.psi[2]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (24): * Single equations (assignments): 24 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001537/0.6412, allocations: 123.1 kB / 1.167 GB, free: 12.37 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0007206/0.642, allocations: 491.5 kB / 1.168 GB, free: 11.88 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.642, allocations: 0 / 1.168 GB, free: 11.88 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.0001832/0.6422, allocations: 143.9 kB / 1.168 GB, free: 11.73 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002953/0.6425, allocations: 42.3 kB / 1.168 GB, free: 11.7 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00124/0.6437, allocations: 0.6958 MB / 1.168 GB, free: 10.96 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004327/0.6441, allocations: 0.8234 MB / 1.169 GB, free: 10.12 MB / 0.7761 GB Notification: Performance of SimCode: time 2.21e-07/0.6442, allocations: 0 / 1.169 GB, free: 10.12 MB / 0.7761 GB Notification: Performance of Templates: time 0.006969/0.6511, allocations: 3.988 MB / 1.173 GB, free: 6.172 MB / 0.7761 GB make -j1 -f Buildings_8_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.makefile (rm -f Buildings_8_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.sim & ./Buildings_8_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe 2>&1)