Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr FastBuildings_FastBuildings.Examples.SingleZone_ArtificialInputs.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_ArtificialInputs,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="FastBuildings_FastBuildings.Examples.SingleZone_ArtificialInputs") translateModel(FastBuildings.Examples.SingleZone_ArtificialInputs,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="FastBuildings_FastBuildings.Examples.SingleZone_ArtificialInputs") [: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.002272/0.002272, allocations: 177.5 kB / 7.455 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.01965/0.01965, allocations: 4.549 MB / 12.41 MB, free: 0.6719 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.105/1.105, 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.0008705/0.0008706, allocations: 100.6 kB / 287.2 MB, free: 12.31 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 5.801e-06/5.911e-06, allocations: 0 / 344.7 MB, free: 2.766 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1782/0.1782, allocations: 51.48 MB / 396.2 MB, free: 32.86 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.07601/0.2542, allocations: 77.99 MB / 474.2 MB, free: 2.754 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001029/0.2544, allocations: 47.98 kB / 474.3 MB, free: 2.707 MB / 346.7 MB Notification: Performance of FrontEnd: time 0.01337/0.2678, allocations: 5.501 MB / 479.8 MB, free: 13.19 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.425e-05/0.2678, allocations: 8 kB / 479.8 MB, free: 13.18 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.0008662/0.2687, allocations: 0.5755 MB / 480.3 MB, free: 12.55 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.051e-05/0.2687, allocations: 11.97 kB / 480.4 MB, free: 12.54 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.889e-05/0.2688, allocations: 31.62 kB / 480.4 MB, free: 12.51 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003425/0.2692, allocations: 271.5 kB / 480.6 MB, free: 12.2 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.649e-05/0.2692, allocations: 8 kB / 480.7 MB, free: 12.19 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.961e-05/0.2692, allocations: 23.91 kB / 480.7 MB, free: 12.17 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003849/0.2696, allocations: 212.9 kB / 480.9 MB, free: 11.96 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004184/0.2701, allocations: 261.7 kB / 481.1 MB, free: 11.7 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.859e-06/0.2701, allocations: 0 / 481.1 MB, free: 11.7 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.54e-05/0.2701, allocations: 0 / 481.1 MB, free: 11.7 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.638e-06/0.2701, allocations: 8 kB / 481.2 MB, free: 11.69 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001393/0.2715, allocations: 1.001 MB / 482.2 MB, free: 10.62 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004715/0.272, allocations: 235.2 kB / 482.4 MB, free: 10.39 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001964/0.2722, allocations: 129.2 kB / 482.5 MB, free: 10.26 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.667e-05/0.2722, allocations: 4.188 kB / 482.5 MB, free: 10.25 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000233/0.2725, allocations: 155.4 kB / 482.7 MB, free: 10.09 MB / 362.7 MB Notification: Performance of pre-optimization done (n=22): time 1.583e-06/0.2725, allocations: 0 / 482.7 MB, free: 10.09 MB / 362.7 MB Notification: Performance of matching and sorting (n=22): time 0.0004283/0.2729, allocations: 235.8 kB / 482.9 MB, free: 9.859 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.178e-05/0.273, allocations: 55.34 kB / 482.9 MB, free: 9.793 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001731/0.2731, allocations: 182.1 kB / 483.1 MB, free: 9.609 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.574e-05/0.2732, allocations: 29.7 kB / 483.2 MB, free: 9.574 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.403e-05/0.2733, allocations: 148.1 kB / 483.3 MB, free: 9.426 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.006e-05/0.2733, allocations: 74.91 kB / 483.4 MB, free: 9.352 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.488e-05/0.2734, allocations: 0 / 483.4 MB, free: 9.352 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001072/0.2735, allocations: 334.8 kB / 483.7 MB, free: 9.016 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001629/0.2736, allocations: 91.98 kB / 483.8 MB, free: 8.926 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001696/0.2738, allocations: 128.6 kB / 483.9 MB, free: 8.789 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001782/0.274, allocations: 108.8 kB / 484 MB, free: 8.68 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.814e-06/0.274, allocations: 0 / 484 MB, free: 8.68 MB / 362.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0004273/0.2744, allocations: 277.4 kB / 484.3 MB, free: 8.406 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.273e-05/0.2745, allocations: 4 kB / 484.3 MB, free: 8.402 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.442e-06/0.2745, allocations: 3.984 kB / 484.3 MB, free: 8.398 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.399e-05/0.2745, allocations: 4 kB / 484.3 MB, free: 8.395 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003672/0.2749, allocations: 75.98 kB / 484.4 MB, free: 8.32 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.215e-05/0.2749, allocations: 4 kB / 484.4 MB, free: 8.316 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002501/0.2751, allocations: 47.72 kB / 484.4 MB, free: 8.27 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.399e-05/0.2752, allocations: 4 kB / 484.4 MB, free: 8.266 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.simFasBui.powElePul.T_start,simFasBui.powElePul.T_start,$PRE.simFasBui.powElePul.count,simFasBui.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 8.663e-05/0.2753, allocations: 119.6 kB / 484.5 MB, free: 8.145 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.475e-05/0.2753, allocations: 23.72 kB / 484.6 MB, free: 8.121 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004082/0.2757, allocations: 252 kB / 484.8 MB, free: 7.867 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.41e-06/0.2757, allocations: 4 kB / 484.8 MB, free: 7.863 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.17e-06/0.2757, allocations: 4 kB / 484.8 MB, free: 7.859 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.007e-06/0.2758, allocations: 0 / 484.8 MB, free: 7.859 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003241/0.2761, allocations: 333.9 kB / 485.2 MB, free: 7.496 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.655e-06/0.2761, allocations: 3.984 kB / 485.2 MB, free: 7.492 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003457/0.2764, allocations: 67.91 kB / 485.2 MB, free: 7.426 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.809e-06/0.2765, allocations: 4 kB / 485.2 MB, free: 7.422 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.566e-05/0.2765, allocations: 12.48 kB / 485.2 MB, free: 7.41 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.402e-06/0.2765, allocations: 0 / 485.2 MB, free: 7.41 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.205e-06/0.2765, allocations: 0 / 485.2 MB, free: 7.41 MB / 362.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0006319/0.2771, allocations: 402.5 kB / 485.6 MB, free: 7 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.486e-05/0.2772, allocations: 104.8 kB / 485.7 MB, free: 6.879 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.242e-05/0.2773, allocations: 0 / 485.7 MB, free: 6.879 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002179/0.2775, allocations: 27.97 kB / 485.8 MB, free: 6.852 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.256e-05/0.2776, allocations: 33.17 kB / 485.8 MB, free: 6.82 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.8e-05/0.2776, allocations: 4 kB / 485.8 MB, free: 6.816 MB / 362.7 MB Notification: Performance of sort global known variables: time 0.0001143/0.2777, allocations: 152.2 kB / 485.9 MB, free: 6.672 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002762/0.278, allocations: 71.75 kB / 486 MB, free: 6.602 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,simFasBui.powElePul.T_start,simFasBui.powElePul.count) * Number of discrete states: 1 (simFasBui.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.0001235/0.2782, allocations: 111.1 kB / 486.1 MB, free: 6.484 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0003855/0.2785, allocations: 253.6 kB / 486.4 MB, free: 6.23 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/0.2786, allocations: 0 / 486.4 MB, free: 6.23 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001756/0.2787, allocations: 119.5 kB / 486.5 MB, free: 6.117 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002461/0.279, allocations: 34.89 kB / 486.5 MB, free: 6.086 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009517/0.2799, allocations: 473.3 kB / 487 MB, free: 5.594 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004089/0.2804, allocations: 0.8057 MB / 487.8 MB, free: 4.762 MB / 362.7 MB Notification: Performance of SimCode: time 2.3e-07/0.2804, allocations: 0 / 487.8 MB, free: 4.762 MB / 362.7 MB Notification: Performance of Templates: time 0.005395/0.2858, allocations: 2.832 MB / 490.6 MB, free: 1.961 MB / 362.7 MB make -j1 -f FastBuildings_FastBuildings.Examples.SingleZone_ArtificialInputs.makefile (rm -f FastBuildings_FastBuildings.Examples.SingleZone_ArtificialInputs.pipe ; mkfifo FastBuildings_FastBuildings.Examples.SingleZone_ArtificialInputs.pipe ; head -c 1048576 < FastBuildings_FastBuildings.Examples.SingleZone_ArtificialInputs.pipe >> ../files/FastBuildings_FastBuildings.Examples.SingleZone_ArtificialInputs.sim & ./FastBuildings_FastBuildings.Examples.SingleZone_ArtificialInputs -abortSlowSimulation -alarm=480 -lv LOG_STATS > FastBuildings_FastBuildings.Examples.SingleZone_ArtificialInputs.pipe 2>&1)