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.VariableImpedance.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.VariableImpedance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance") translateModel(Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance") [: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.309/1.309, allocations: 285.5 MB / 292.8 MB, free: 10.49 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.0009423/0.000942, allocations: 173.3 kB / 361.1 MB, free: 7.094 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.9955/0.9955, allocations: 205.1 MB / 0.6195 GB, free: 10.31 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.000752/0.000752, allocations: 92.19 kB / 0.7326 GB, free: 44.25 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 7.484e-06/7.524e-06, allocations: 4 kB / 0.8511 GB, free: 2.984 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3938/0.3938, allocations: 115.3 MB / 0.9637 GB, free: 78.11 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1393/0.5331, allocations: 153.5 MB / 1.114 GB, free: 2.531 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000223/0.5334, allocations: 89.77 kB / 1.114 GB, free: 2.445 MB / 0.7136 GB Notification: Performance of FrontEnd: time 0.04448/0.5779, allocations: 19.99 MB / 1.133 GB, free: 14.39 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 2.378e-05/0.5779, allocations: 12 kB / 1.133 GB, free: 14.38 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: 85 * Number of variables: 85 Notification: Performance of Generate backend data structure: time 0.00084/0.5788, allocations: 0.65 MB / 1.134 GB, free: 13.69 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.001e-05/0.5788, allocations: 8.531 kB / 1.134 GB, free: 13.68 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008357/0.5797, allocations: 135.3 kB / 1.134 GB, free: 13.55 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005236/0.5802, allocations: 375.2 kB / 1.134 GB, free: 13.14 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.496e-05/0.5802, allocations: 12 kB / 1.134 GB, free: 13.13 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.88e-05/0.5803, allocations: 19.91 kB / 1.134 GB, free: 13.11 MB / 0.7448 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004399/0.5807, allocations: 289.3 kB / 1.135 GB, free: 12.82 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005986/0.5813, allocations: 0.5424 MB / 1.135 GB, free: 12.19 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.77e-05/0.5813, allocations: 11.88 kB / 1.135 GB, free: 12.18 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.116e-05/0.5814, allocations: 5.125 kB / 1.135 GB, free: 12.17 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.212e-05/0.5814, allocations: 40.62 kB / 1.135 GB, free: 12.13 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00246/0.5839, allocations: 3.29 MB / 1.138 GB, free: 8.605 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004585/0.5844, allocations: 291.5 kB / 1.139 GB, free: 8.309 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002117/0.5846, allocations: 160.8 kB / 1.139 GB, free: 8.148 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.07e-05/0.5846, allocations: 11.94 kB / 1.139 GB, free: 8.137 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.056e-05/0.5847, allocations: 38.47 kB / 1.139 GB, free: 8.09 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=26): time 1.452e-06/0.5847, allocations: 0 / 1.139 GB, free: 8.09 MB / 0.7448 GB Notification: Performance of matching and sorting (n=27): time 0.0009921/0.5857, allocations: 0.5808 MB / 1.139 GB, free: 7.492 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3e-05/0.5857, allocations: 55.64 kB / 1.139 GB, free: 7.426 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002211/0.5859, allocations: 254 kB / 1.14 GB, free: 7.168 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.047e-05/0.586, allocations: 29.7 kB / 1.14 GB, free: 7.133 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 9.476e-05/0.5861, allocations: 207.5 kB / 1.14 GB, free: 6.926 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 5.936e-05/0.5861, allocations: 98.58 kB / 1.14 GB, free: 6.828 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.383e-05/0.5861, allocations: 0 / 1.14 GB, free: 6.828 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001053/0.5863, allocations: 338.8 kB / 1.14 GB, free: 6.488 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001759/0.5864, allocations: 128.7 kB / 1.14 GB, free: 6.359 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002362/0.5867, allocations: 248.5 kB / 1.141 GB, free: 6.062 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002056/0.5869, allocations: 168.5 kB / 1.141 GB, free: 5.898 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.422e-06/0.5869, allocations: 0 / 1.141 GB, free: 5.898 MB / 0.7448 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0007133/0.5876, allocations: 489.9 kB / 1.141 GB, free: 5.406 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.164e-05/0.5876, allocations: 11.27 kB / 1.141 GB, free: 5.398 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.348e-05/0.5877, allocations: 9.312 kB / 1.141 GB, free: 5.391 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002823/0.5879, allocations: 82.52 kB / 1.141 GB, free: 5.301 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003275/0.5883, allocations: 87.83 kB / 1.142 GB, free: 5.215 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.693e-06/0.5883, allocations: 4 kB / 1.142 GB, free: 5.211 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002449/0.5885, allocations: 27.97 kB / 1.142 GB, free: 5.184 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.486e-05/0.5886, allocations: 19.91 kB / 1.142 GB, free: 5.164 MB / 0.7448 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (42): * Single equations (assignments): 39 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 3 {(2,100.0%),(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 8.452e-05/0.5887, allocations: 115 kB / 1.142 GB, free: 5.047 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.833e-05/0.5887, allocations: 35.53 kB / 1.142 GB, free: 5.012 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006672/0.5894, allocations: 424.6 kB / 1.142 GB, free: 4.578 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.288e-06/0.5894, allocations: 4 kB / 1.142 GB, free: 4.574 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.25e-06/0.5894, allocations: 0 / 1.142 GB, free: 4.574 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.352e-06/0.5895, allocations: 7.891 kB / 1.142 GB, free: 4.566 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00115/0.5906, allocations: 0.8804 MB / 1.143 GB, free: 3.625 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.236e-06/0.5906, allocations: 4 kB / 1.143 GB, free: 3.621 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002447/0.5909, allocations: 53.64 kB / 1.143 GB, free: 3.57 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000247/0.5911, allocations: 82.45 kB / 1.143 GB, free: 3.48 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.745e-05/0.5912, allocations: 96 / 1.143 GB, free: 3.48 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.376e-06/0.5912, allocations: 8 kB / 1.143 GB, free: 3.473 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.597e-06/0.5912, allocations: 0.5469 kB / 1.143 GB, free: 3.473 MB / 0.7448 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0006384/0.5918, allocations: 0.5439 MB / 1.144 GB, free: 2.875 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000148/0.592, allocations: 128.7 kB / 1.144 GB, free: 2.73 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.778e-05/0.592, allocations: 7.984 kB / 1.144 GB, free: 2.723 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002274/0.5923, allocations: 21.77 kB / 1.144 GB, free: 2.703 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.726e-05/0.5923, allocations: 19.92 kB / 1.144 GB, free: 2.684 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.023e-05/0.5923, allocations: 11.98 kB / 1.144 GB, free: 2.672 MB / 0.7448 GB Notification: Performance of sort global known variables: time 0.0001519/0.5925, allocations: 192.6 kB / 1.144 GB, free: 2.488 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0003747/0.5929, allocations: 79.94 kB / 1.144 GB, free: 2.41 MB / 0.7448 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (25): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 3 {(2,100.0%),(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001172/0.593, allocations: 107 kB / 1.144 GB, free: 2.297 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0006137/0.5936, allocations: 0.5882 MB / 1.145 GB, free: 1.645 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.5936, allocations: 0 / 1.145 GB, free: 1.645 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0003377/0.594, allocations: 422.4 kB / 1.145 GB, free: 1.168 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005139/0.5945, allocations: 105.7 kB / 1.145 GB, free: 1.066 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008438/0.5954, allocations: 0.5101 MB / 1.146 GB, free: 0.5195 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004354/0.5958, allocations: 0.8722 MB / 1.147 GB, free: 15.62 MB / 0.7605 GB Notification: Performance of SimCode: time 4.2e-07/0.5958, allocations: 0 / 1.147 GB, free: 15.62 MB / 0.7605 GB Notification: Performance of Templates: time 0.007878/0.6037, allocations: 4.53 MB / 1.151 GB, free: 11.22 MB / 0.7605 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.makefile (rm -f Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.sim & ./Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe 2>&1)