Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr FastBuildings_FastBuildings.Examples.SingleZone_Design.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_Design,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="FastBuildings_FastBuildings.Examples.SingleZone_Design") translateModel(FastBuildings.Examples.SingleZone_Design,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="FastBuildings_FastBuildings.Examples.SingleZone_Design") [: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.002199/0.002199, allocations: 176.5 kB / 7.461 MB, free: 2.16 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/FastBuildings master/package.mo): time 0.01887/0.01887, allocations: 4.543 MB / 12.41 MB, free: 0.5742 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.1/1.1, 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.0008689/0.0008689, allocations: 102 kB / 287.2 MB, free: 11.33 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 4.398e-06/4.418e-06, allocations: 0 / 344.7 MB, free: 1.777 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1759/0.1759, allocations: 51.48 MB / 396.2 MB, free: 32.72 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.07673/0.2527, allocations: 76.03 MB / 472.3 MB, free: 4.578 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001179/0.2529, allocations: 49.14 kB / 472.3 MB, free: 4.531 MB / 346.7 MB Notification: Performance of FrontEnd: time 0.01028/0.2632, allocations: 4.755 MB / 477.1 MB, free: 15.75 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.832e-05/0.2632, allocations: 7.938 kB / 477.1 MB, free: 15.75 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: 36 * Number of variables: 36 Notification: Performance of Generate backend data structure: time 0.000407/0.2636, allocations: 406.1 kB / 477.5 MB, free: 15.3 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.277e-05/0.2637, allocations: 8.031 kB / 477.5 MB, free: 15.3 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.036e-05/0.2637, allocations: 15.81 kB / 477.5 MB, free: 15.28 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002288/0.264, allocations: 215 kB / 477.7 MB, free: 15.03 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.253e-05/0.264, allocations: 4 kB / 477.7 MB, free: 15.03 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.546e-05/0.264, allocations: 8 kB / 477.7 MB, free: 15.02 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001742/0.2642, allocations: 87.98 kB / 477.8 MB, free: 14.93 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002291/0.2644, allocations: 156.7 kB / 477.9 MB, free: 14.76 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.869e-06/0.2644, allocations: 3.906 kB / 477.9 MB, free: 14.76 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.507e-05/0.2645, allocations: 3.984 kB / 478 MB, free: 14.75 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.604e-06/0.2645, allocations: 4 kB / 478 MB, free: 14.75 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008115/0.2653, allocations: 0.7167 MB / 478.7 MB, free: 13.98 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.674e-05/0.2654, allocations: 54.48 kB / 478.7 MB, free: 13.92 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.038e-05/0.2654, allocations: 32.98 kB / 478.8 MB, free: 13.89 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.148e-05/0.2655, allocations: 0 / 478.8 MB, free: 13.89 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.849e-05/0.2655, allocations: 34.55 kB / 478.8 MB, free: 13.84 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 9.32e-07/0.2655, allocations: 0 / 478.8 MB, free: 13.84 MB / 362.7 MB Notification: Performance of matching and sorting (n=6): time 0.0001664/0.2657, allocations: 81.48 kB / 478.9 MB, free: 13.76 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.103e-05/0.2657, allocations: 55.41 kB / 478.9 MB, free: 13.69 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001041/0.2658, allocations: 139.7 kB / 479.1 MB, free: 13.55 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.343e-05/0.2658, allocations: 29.64 kB / 479.1 MB, free: 13.52 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.554e-05/0.2659, allocations: 135.4 kB / 479.2 MB, free: 13.38 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.772e-05/0.2659, allocations: 19.66 kB / 479.2 MB, free: 13.36 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.84e-06/0.2659, allocations: 0 / 479.2 MB, free: 13.36 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 8.777e-05/0.266, allocations: 318.8 kB / 479.6 MB, free: 13.04 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.229e-05/0.2661, allocations: 28 kB / 479.6 MB, free: 13.01 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.948e-05/0.2661, allocations: 78.86 kB / 479.7 MB, free: 12.91 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.96e-05/0.2662, allocations: 36.7 kB / 479.7 MB, free: 12.88 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.2662, allocations: 4 kB / 479.7 MB, free: 12.87 MB / 362.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001633/0.2664, allocations: 117.5 kB / 479.8 MB, free: 12.75 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.02e-05/0.2664, allocations: 7.906 kB / 479.8 MB, free: 12.74 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.162e-06/0.2664, allocations: 4 kB / 479.8 MB, free: 12.74 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.382e-05/0.2664, allocations: 4 kB / 479.8 MB, free: 12.73 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001473/0.2666, allocations: 31.97 kB / 479.9 MB, free: 12.7 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.291e-06/0.2666, allocations: 6.344 kB / 479.9 MB, free: 12.7 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.198e-05/0.2667, allocations: 15.91 kB / 479.9 MB, free: 12.68 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.606e-06/0.2667, allocations: 4 kB / 479.9 MB, free: 12.68 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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 prepare postOptimizeDAE: time 5.713e-05/0.2668, allocations: 104.9 kB / 480 MB, free: 12.57 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.94e-05/0.2668, allocations: 11.91 kB / 480 MB, free: 12.56 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.302e-05/0.2668, allocations: 16.48 kB / 480 MB, free: 12.54 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.322e-06/0.2668, allocations: 0 / 480 MB, free: 12.54 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.406e-06/0.2668, allocations: 0 / 480 MB, free: 12.54 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.3e-06/0.2669, allocations: 15.89 kB / 480 MB, free: 12.52 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001857/0.267, allocations: 198.2 kB / 480.2 MB, free: 12.29 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.41e-07/0.2671, allocations: 0 / 480.2 MB, free: 12.29 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001161/0.2672, allocations: 23.92 kB / 480.2 MB, free: 12.27 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.714e-06/0.2672, allocations: 0 / 480.2 MB, free: 12.27 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.995e-06/0.2672, allocations: 0 / 480.2 MB, free: 12.27 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.12e-07/0.2672, allocations: 0 / 480.2 MB, free: 12.27 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.2672, allocations: 0 / 480.2 MB, free: 12.27 MB / 362.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001891/0.2674, allocations: 203.4 kB / 480.4 MB, free: 12.05 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.142e-05/0.2675, allocations: 89.08 kB / 480.5 MB, free: 11.95 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.75e-05/0.2675, allocations: 0 / 480.5 MB, free: 11.95 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.715e-05/0.2676, allocations: 7.984 kB / 480.5 MB, free: 11.94 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.625e-05/0.2676, allocations: 3.906 kB / 480.5 MB, free: 11.94 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.929e-06/0.2676, allocations: 0 / 480.5 MB, free: 11.94 MB / 362.7 MB Notification: Performance of sort global known variables: time 6.064e-05/0.2677, allocations: 114.1 kB / 480.7 MB, free: 11.83 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002457/0.2679, allocations: 35.84 kB / 480.7 MB, free: 11.79 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (bui.zon.capZon.heaPor.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 6 * 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 9.519e-05/0.268, allocations: 99.25 kB / 480.8 MB, free: 11.69 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001344/0.2682, allocations: 67.86 kB / 480.9 MB, free: 11.62 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.2682, allocations: 0 / 480.9 MB, free: 11.62 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.259e-05/0.2682, allocations: 24 kB / 480.9 MB, free: 11.6 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001951/0.2684, allocations: 12 kB / 480.9 MB, free: 11.59 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004891/0.2689, allocations: 225 kB / 481.1 MB, free: 11.34 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002742/0.2692, allocations: 0.7348 MB / 481.8 MB, free: 10.58 MB / 362.7 MB Notification: Performance of SimCode: time 2.31e-07/0.2692, allocations: 0 / 481.8 MB, free: 10.58 MB / 362.7 MB Notification: Performance of Templates: time 0.002787/0.272, allocations: 0.9879 MB / 482.8 MB, free: 9.633 MB / 362.7 MB make -j1 -f FastBuildings_FastBuildings.Examples.SingleZone_Design.makefile (rm -f FastBuildings_FastBuildings.Examples.SingleZone_Design.pipe ; mkfifo FastBuildings_FastBuildings.Examples.SingleZone_Design.pipe ; head -c 1048576 < FastBuildings_FastBuildings.Examples.SingleZone_Design.pipe >> ../files/FastBuildings_FastBuildings.Examples.SingleZone_Design.sim & ./FastBuildings_FastBuildings.Examples.SingleZone_Design -abortSlowSimulation -alarm=480 -lv LOG_STATS > FastBuildings_FastBuildings.Examples.SingleZone_Design.pipe 2>&1)