Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.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: translateModel(Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_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_maint.8.0.x_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.0.1-maint.8.0.x/package.mo): time 1.342/1.342, allocations: 285.5 MB / 292.8 MB, free: 10.47 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.0009415/0.0009415, allocations: 185.2 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.9942/0.9942, allocations: 205.1 MB / 0.6195 GB, free: 10.3 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.0007283/0.0007283, allocations: 94.22 kB / 0.7326 GB, free: 44.26 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 5.42e-06/5.44e-06, allocations: 0 / 0.8511 GB, free: 2.98 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3889/0.3889, allocations: 115.3 MB / 0.9637 GB, free: 78.1 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1509/0.5399, allocations: 167.5 MB / 1.127 GB, free: 4.59 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002355/0.5401, allocations: 98.53 kB / 1.127 GB, free: 4.496 MB / 0.7292 GB Notification: Performance of FrontEnd: time 0.04504/0.5852, allocations: 18.8 MB / 1.146 GB, free: 1.645 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 1.496e-05/0.5852, allocations: 4 kB / 1.146 GB, free: 1.641 MB / 0.7448 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.0008689/0.5861, allocations: 0.5526 MB / 1.146 GB, free: 1.043 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.394e-05/0.5862, allocations: 8.031 kB / 1.146 GB, free: 1.035 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009228/0.5871, allocations: 107.5 kB / 1.146 GB, free: 0.9297 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004781/0.5876, allocations: 288.4 kB / 1.147 GB, free: 0.6094 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.511e-05/0.5876, allocations: 8 kB / 1.147 GB, free: 0.6016 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.764e-05/0.5877, allocations: 16 kB / 1.147 GB, free: 0.5859 MB / 0.7448 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004297/0.5881, allocations: 261.1 kB / 1.147 GB, free: 340 kB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005751/0.5887, allocations: 404.6 kB / 1.147 GB, free: 15.9 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.534e-05/0.5887, allocations: 0 / 1.147 GB, free: 15.9 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.164e-05/0.5888, allocations: 3.984 kB / 1.147 GB, free: 15.89 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.412e-05/0.5888, allocations: 32.48 kB / 1.147 GB, free: 15.86 MB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002328/0.5912, allocations: 2.16 MB / 1.149 GB, free: 13.52 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003133/0.5915, allocations: 244.5 kB / 1.15 GB, free: 13.27 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001868/0.5917, allocations: 157.2 kB / 1.15 GB, free: 13.11 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 1.819e-05/0.5917, allocations: 4.188 kB / 1.15 GB, free: 13.11 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.363e-05/0.5917, allocations: 38.69 kB / 1.15 GB, free: 13.06 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=22): time 1.903e-06/0.5917, allocations: 0 / 1.15 GB, free: 13.06 MB / 0.7605 GB Notification: Performance of matching and sorting (n=23): time 0.001196/0.5929, allocations: 0.7999 MB / 1.151 GB, free: 12.22 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.371e-05/0.593, allocations: 51.41 kB / 1.151 GB, free: 12.16 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002136/0.5932, allocations: 202 kB / 1.151 GB, free: 11.95 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 2.223e-05/0.5932, allocations: 25.7 kB / 1.151 GB, free: 11.92 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 8.635e-05/0.5933, allocations: 175.9 kB / 1.151 GB, free: 11.74 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 6.403e-05/0.5934, allocations: 86.75 kB / 1.151 GB, free: 11.66 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.827e-05/0.5934, allocations: 0 / 1.151 GB, free: 11.66 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0001018/0.5935, allocations: 334.8 kB / 1.151 GB, free: 11.32 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002134/0.5937, allocations: 147.9 kB / 1.152 GB, free: 11.18 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002439/0.594, allocations: 225.3 kB / 1.152 GB, free: 10.92 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003269/0.5943, allocations: 186.7 kB / 1.152 GB, free: 10.74 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.865e-06/0.5943, allocations: 0 / 1.152 GB, free: 10.74 MB / 0.7605 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001061/0.5954, allocations: 0.5524 MB / 1.153 GB, free: 10.18 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 1.201e-05/0.5954, allocations: 4 kB / 1.153 GB, free: 10.18 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.753e-06/0.5954, allocations: 5.875 kB / 1.153 GB, free: 10.17 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006467/0.5961, allocations: 193.6 kB / 1.153 GB, free: 9.984 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002809/0.5964, allocations: 59.91 kB / 1.153 GB, free: 9.926 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002433/0.5988, allocations: 2.151 MB / 1.155 GB, free: 7.664 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002821/0.5991, allocations: 7.906 kB / 1.155 GB, free: 7.656 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.27e-05/0.5992, allocations: 19.98 kB / 1.155 GB, free: 7.637 MB / 0.7605 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.36e-05/0.5993, allocations: 112.9 kB / 1.155 GB, free: 7.52 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.457e-05/0.5993, allocations: 23.72 kB / 1.155 GB, free: 7.496 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004811/0.5998, allocations: 339.1 kB / 1.155 GB, free: 7.164 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.625e-06/0.5998, allocations: 0 / 1.155 GB, free: 7.164 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.172e-06/0.5998, allocations: 0 / 1.155 GB, free: 7.164 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.5e-06/0.5998, allocations: 4 kB / 1.155 GB, free: 7.16 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009259/0.6008, allocations: 0.7522 MB / 1.156 GB, free: 6.359 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.004e-06/0.6008, allocations: 4.062 kB / 1.156 GB, free: 6.355 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000418/0.6012, allocations: 71.88 kB / 1.156 GB, free: 6.285 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.21e-06/0.6012, allocations: 4 kB / 1.156 GB, free: 6.281 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.156e-05/0.6012, allocations: 0 / 1.156 GB, free: 6.281 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.516e-06/0.6012, allocations: 4 kB / 1.156 GB, free: 6.277 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.607e-06/0.6013, allocations: 3.906 kB / 1.156 GB, free: 6.273 MB / 0.7605 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0006881/0.602, allocations: 0.6306 MB / 1.157 GB, free: 5.609 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001246/0.6021, allocations: 127.6 kB / 1.157 GB, free: 5.469 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.731e-05/0.6021, allocations: 7.984 kB / 1.157 GB, free: 5.461 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002043/0.6023, allocations: 4 kB / 1.157 GB, free: 5.457 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.449e-05/0.6024, allocations: 19.83 kB / 1.157 GB, free: 5.438 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.915e-05/0.6024, allocations: 7.984 kB / 1.157 GB, free: 5.43 MB / 0.7605 GB Notification: Performance of sort global known variables: time 0.0001309/0.6025, allocations: 160.1 kB / 1.157 GB, free: 5.273 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.0003988/0.603, allocations: 84 kB / 1.157 GB, free: 5.191 MB / 0.7605 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.0001652/0.6031, allocations: 126.9 kB / 1.157 GB, free: 5.059 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.0007252/0.6039, allocations: 478.1 kB / 1.158 GB, free: 4.582 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 2.063e-06/0.6039, allocations: 4.125 kB / 1.158 GB, free: 4.578 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.0001865/0.6041, allocations: 153.6 kB / 1.158 GB, free: 4.43 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003138/0.6044, allocations: 34.94 kB / 1.158 GB, free: 4.398 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001314/0.6057, allocations: 0.7027 MB / 1.159 GB, free: 3.676 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004278/0.6061, allocations: 0.8281 MB / 1.159 GB, free: 2.824 MB / 0.7605 GB Notification: Performance of SimCode: time 2.81e-07/0.6062, allocations: 0 / 1.159 GB, free: 2.824 MB / 0.7605 GB Notification: Performance of Templates: time 0.006984/0.6131, allocations: 3.988 MB / 1.163 GB, free: 14.93 MB / 0.7761 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.makefile (rm -f Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.sim & ./Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe 2>&1)