Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr FastBuildings_FastBuildings.Examples.SingleZone_Inputs_defined.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/FastBuildings master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package FastBuildings with version 0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/FastBuildings master/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(FastBuildings.Examples.SingleZone_Inputs_defined,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="FastBuildings_FastBuildings.Examples.SingleZone_Inputs_defined") translateModel(FastBuildings.Examples.SingleZone_Inputs_defined,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="FastBuildings_FastBuildings.Examples.SingleZone_Inputs_defined") [: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/Complex 4.0.0+maint.om/package.mo): time 0.002128/0.002128, allocations: 180.7 kB / 7.457 MB, free: 2.512 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/FastBuildings master/package.mo): time 0.01957/0.01957, allocations: 4.55 MB / 12.41 MB, free: 0.6758 MB / 7.832 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.152/1.152, allocations: 221.4 MB / 235.3 MB, free: 13.77 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009661/0.0009661, allocations: 96.14 kB / 287.2 MB, free: 11.34 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 4.368e-06/4.398e-06, allocations: 0 / 344.7 MB, free: 1.781 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1832/0.1832, allocations: 51.49 MB / 396.2 MB, free: 32.7 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.08008/0.2634, allocations: 78.08 MB / 474.3 MB, free: 2.488 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001259/0.2636, allocations: 47.98 kB / 474.4 MB, free: 2.441 MB / 346.7 MB Notification: Performance of FrontEnd: time 0.01378/0.2773, allocations: 5.448 MB / 479.8 MB, free: 12.98 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.463e-05/0.2774, allocations: 4 kB / 479.8 MB, free: 12.97 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.0008529/0.2782, allocations: 0.5752 MB / 480.4 MB, free: 12.35 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.29e-05/0.2783, allocations: 8.031 kB / 480.4 MB, free: 12.34 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.955e-05/0.2784, allocations: 35.61 kB / 480.4 MB, free: 12.3 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003297/0.2787, allocations: 263.7 kB / 480.7 MB, free: 12 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.728e-05/0.2787, allocations: 8 kB / 480.7 MB, free: 12 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.884e-05/0.2788, allocations: 23.91 kB / 480.7 MB, free: 11.97 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003347/0.2791, allocations: 172.9 kB / 480.9 MB, free: 11.8 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000396/0.2795, allocations: 241.8 kB / 481.1 MB, free: 11.56 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.096e-05/0.2796, allocations: 0 / 481.1 MB, free: 11.56 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.347e-05/0.2796, allocations: 0 / 481.1 MB, free: 11.56 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.446e-06/0.2796, allocations: 8 kB / 481.1 MB, free: 11.55 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001367/0.281, allocations: 0.962 MB / 482.1 MB, free: 10.53 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000447/0.2814, allocations: 223.1 kB / 482.3 MB, free: 10.3 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001678/0.2816, allocations: 105.2 kB / 482.4 MB, free: 10.2 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.232e-05/0.2816, allocations: 8.188 kB / 482.4 MB, free: 10.19 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002008/0.2819, allocations: 135.5 kB / 482.6 MB, free: 10.05 MB / 362.7 MB Notification: Performance of pre-optimization done (n=22): time 1.402e-06/0.2819, allocations: 0 / 482.6 MB, free: 10.05 MB / 362.7 MB Notification: Performance of matching and sorting (n=22): time 0.0003806/0.2822, allocations: 203 kB / 482.8 MB, free: 9.844 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.895e-05/0.2823, allocations: 55.34 kB / 482.8 MB, free: 9.777 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001578/0.2824, allocations: 178.1 kB / 483 MB, free: 9.598 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.601e-05/0.2825, allocations: 25.7 kB / 483 MB, free: 9.566 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.496e-05/0.2826, allocations: 156.1 kB / 483.2 MB, free: 9.41 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.226e-05/0.2826, allocations: 74.92 kB / 483.2 MB, free: 9.336 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.422e-05/0.2827, allocations: 0 / 483.2 MB, free: 9.336 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001118/0.2828, allocations: 330.8 kB / 483.6 MB, free: 9.004 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001428/0.2829, allocations: 79.92 kB / 483.6 MB, free: 8.926 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001482/0.2831, allocations: 111.4 kB / 483.7 MB, free: 8.805 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001585/0.2832, allocations: 88.91 kB / 483.8 MB, free: 8.715 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.2833, allocations: 0 / 483.8 MB, free: 8.715 MB / 362.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003944/0.2837, allocations: 245.5 kB / 484.1 MB, free: 8.473 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.216e-05/0.2837, allocations: 4 kB / 484.1 MB, free: 8.469 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.759e-06/0.2837, allocations: 0 / 484.1 MB, free: 8.469 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.328e-05/0.2837, allocations: 4 kB / 484.1 MB, free: 8.465 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003513/0.2841, allocations: 75.98 kB / 484.1 MB, free: 8.391 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.055e-06/0.2841, allocations: 6.188 kB / 484.2 MB, free: 8.387 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002493/0.2843, allocations: 47.72 kB / 484.2 MB, free: 8.34 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.555e-05/0.2844, allocations: 7.984 kB / 484.2 MB, free: 8.332 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.powElePul.T_start,powElePul.T_start,$PRE.powElePul.count,powElePul.count) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (29): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 1 * 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 prepare postOptimizeDAE: time 9.155e-05/0.2845, allocations: 115.6 kB / 484.3 MB, free: 8.215 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.448e-05/0.2845, allocations: 23.72 kB / 484.3 MB, free: 8.191 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000408/0.2849, allocations: 219.3 kB / 484.6 MB, free: 7.961 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.186e-06/0.2849, allocations: 4 kB / 484.6 MB, free: 7.957 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.697e-06/0.2849, allocations: 4 kB / 484.6 MB, free: 7.953 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.857e-06/0.2849, allocations: 0 / 484.6 MB, free: 7.953 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003165/0.2853, allocations: 321.9 kB / 484.9 MB, free: 7.602 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.223e-06/0.2853, allocations: 0 / 484.9 MB, free: 7.602 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003563/0.2856, allocations: 67.89 kB / 484.9 MB, free: 7.535 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.086e-06/0.2857, allocations: 0 / 484.9 MB, free: 7.535 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.65e-05/0.2857, allocations: 11.91 kB / 485 MB, free: 7.523 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/0.2857, allocations: 3.938 kB / 485 MB, free: 7.52 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.783e-06/0.2857, allocations: 0 / 485 MB, free: 7.52 MB / 362.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0005236/0.2862, allocations: 346.6 kB / 485.3 MB, free: 7.164 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.675e-05/0.2863, allocations: 100.8 kB / 485.4 MB, free: 7.047 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.334e-05/0.2863, allocations: 4 kB / 485.4 MB, free: 7.043 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002148/0.2866, allocations: 35.97 kB / 485.4 MB, free: 7.008 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.499e-05/0.2866, allocations: 19.97 kB / 485.5 MB, free: 6.988 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.999e-05/0.2867, allocations: 12 kB / 485.5 MB, free: 6.977 MB / 362.7 MB Notification: Performance of sort global known variables: time 0.0001133/0.2868, allocations: 148.2 kB / 485.6 MB, free: 6.836 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002665/0.2871, allocations: 63.75 kB / 485.7 MB, free: 6.773 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (bui.zon.capZon.heaPor.T,bui.zon.capInt.heaPor.T) * Number of discrete variables: 3 ($whenCondition1,powElePul.T_start,powElePul.count) * Number of discrete states: 1 (powElePul.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0001297/0.2872, allocations: 111.2 kB / 485.8 MB, free: 6.652 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0003587/0.2876, allocations: 225.5 kB / 486 MB, free: 6.426 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.036e-06/0.2876, allocations: 3.938 kB / 486 MB, free: 6.422 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001558/0.2877, allocations: 103.2 kB / 486.1 MB, free: 6.324 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002421/0.288, allocations: 35.81 kB / 486.1 MB, free: 6.293 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009414/0.2889, allocations: 445.3 kB / 486.6 MB, free: 5.832 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003982/0.2893, allocations: 0.794 MB / 487.4 MB, free: 5.012 MB / 362.7 MB Notification: Performance of SimCode: time 2.51e-07/0.2894, allocations: 4 kB / 487.4 MB, free: 5.008 MB / 362.7 MB Notification: Performance of Templates: time 0.005398/0.2948, allocations: 2.682 MB / 490.1 MB, free: 2.367 MB / 362.7 MB make -j1 -f FastBuildings_FastBuildings.Examples.SingleZone_Inputs_defined.makefile (rm -f FastBuildings_FastBuildings.Examples.SingleZone_Inputs_defined.pipe ; mkfifo FastBuildings_FastBuildings.Examples.SingleZone_Inputs_defined.pipe ; head -c 1048576 < FastBuildings_FastBuildings.Examples.SingleZone_Inputs_defined.pipe >> ../files/FastBuildings_FastBuildings.Examples.SingleZone_Inputs_defined.sim & ./FastBuildings_FastBuildings.Examples.SingleZone_Inputs_defined -abortSlowSimulation -alarm=480 -lv LOG_STATS > FastBuildings_FastBuildings.Examples.SingleZone_Inputs_defined.pipe 2>&1)