Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr FastBuildings_FastBuildings.Examples.SingleZone_Controlled.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_Controlled,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="FastBuildings_FastBuildings.Examples.SingleZone_Controlled") translateModel(FastBuildings.Examples.SingleZone_Controlled,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="FastBuildings_FastBuildings.Examples.SingleZone_Controlled") [: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.002049/0.00205, allocations: 180.7 kB / 7.459 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.01916/0.01916, allocations: 4.546 MB / 12.42 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.127/1.127, allocations: 221.4 MB / 235.3 MB, free: 13.76 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.0009125/0.0009125, allocations: 102.3 kB / 287.2 MB, free: 11.32 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 4.608e-06/4.628e-06, allocations: 0 / 344.7 MB, free: 1.754 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1779/0.1779, allocations: 51.48 MB / 396.2 MB, free: 32.7 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.07666/0.2546, allocations: 78.17 MB / 474.4 MB, free: 2.41 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000113/0.2547, allocations: 49.02 kB / 474.4 MB, free: 2.363 MB / 346.7 MB Notification: Performance of FrontEnd: time 0.01625/0.271, allocations: 6.875 MB / 481.3 MB, free: 11.45 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.764e-05/0.271, allocations: 19.94 kB / 481.3 MB, free: 11.43 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: 73 * Number of variables: 73 Notification: Performance of Generate backend data structure: time 0.0009523/0.272, allocations: 0.6461 MB / 482 MB, free: 10.73 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.238e-05/0.272, allocations: 12.03 kB / 482 MB, free: 10.71 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.12e-05/0.2721, allocations: 39.53 kB / 482 MB, free: 10.68 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003469/0.2725, allocations: 305.4 kB / 482.3 MB, free: 10.34 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001083/0.2726, allocations: 50.34 kB / 482.4 MB, free: 10.28 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.983e-05/0.2726, allocations: 20 kB / 482.4 MB, free: 10.26 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004331/0.2731, allocations: 237.2 kB / 482.6 MB, free: 10.03 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004907/0.2736, allocations: 303.8 kB / 482.9 MB, free: 9.719 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.138e-05/0.2736, allocations: 0 / 482.9 MB, free: 9.719 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.07e-05/0.2736, allocations: 3.906 kB / 482.9 MB, free: 9.715 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.457e-06/0.2736, allocations: 8 kB / 482.9 MB, free: 9.707 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00198/0.2756, allocations: 1.49 MB / 484.4 MB, free: 8.129 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006013/0.2762, allocations: 300.7 kB / 484.7 MB, free: 7.82 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000221/0.2765, allocations: 145.7 kB / 484.9 MB, free: 7.672 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.147e-05/0.2765, allocations: 7.984 kB / 484.9 MB, free: 7.664 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002537/0.2768, allocations: 189 kB / 485 MB, free: 7.461 MB / 362.7 MB Notification: Performance of pre-optimization done (n=26): time 1.392e-06/0.2768, allocations: 3.938 kB / 485.1 MB, free: 7.457 MB / 362.7 MB Notification: Performance of matching and sorting (n=26): time 0.0004563/0.2772, allocations: 254.8 kB / 485.3 MB, free: 7.203 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.345e-05/0.2773, allocations: 77.11 kB / 485.4 MB, free: 7.109 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002104/0.2775, allocations: 217.1 kB / 485.6 MB, free: 6.895 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.112e-05/0.2775, allocations: 37.72 kB / 485.6 MB, free: 6.852 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001011/0.2776, allocations: 172.1 kB / 485.8 MB, free: 6.676 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.498e-05/0.2777, allocations: 82.75 kB / 485.9 MB, free: 6.594 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.574e-05/0.2777, allocations: 0 / 485.9 MB, free: 6.594 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001099/0.2779, allocations: 338.8 kB / 486.2 MB, free: 6.254 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001708/0.278, allocations: 108 kB / 486.3 MB, free: 6.148 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002111/0.2783, allocations: 154.5 kB / 486.5 MB, free: 5.98 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001953/0.2785, allocations: 119.9 kB / 486.6 MB, free: 5.863 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.2785, allocations: 0 / 486.6 MB, free: 5.863 MB / 362.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0004862/0.279, allocations: 317.1 kB / 486.9 MB, free: 5.547 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.512e-05/0.279, allocations: 7.984 kB / 486.9 MB, free: 5.539 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.213e-06/0.279, allocations: 8.156 kB / 486.9 MB, free: 5.531 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.44e-05/0.279, allocations: 0 / 486.9 MB, free: 5.531 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001146/0.2802, allocations: 307.7 kB / 487.2 MB, free: 5.23 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001008/0.2812, allocations: 1.378 MB / 488.6 MB, free: 3.742 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003204/0.2815, allocations: 59.8 kB / 488.6 MB, free: 3.684 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.247e-05/0.2816, allocations: 12 kB / 488.7 MB, free: 3.672 MB / 362.7 MB Warning: Iteration variables with default zero start attribute in equation system w/o analytic Jacobian: bui.hva.QHeaCoo:VARIABLE(unit = "W" ) "Total heating power" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (35): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001272/0.2817, allocations: 115.7 kB / 488.8 MB, free: 3.555 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.3e-05/0.2817, allocations: 23.72 kB / 488.8 MB, free: 3.531 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004383/0.2822, allocations: 283.6 kB / 489.1 MB, free: 3.25 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.08e-06/0.2822, allocations: 4 kB / 489.1 MB, free: 3.246 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.122e-06/0.2822, allocations: 3.938 kB / 489.1 MB, free: 3.242 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.318e-06/0.2822, allocations: 0 / 489.1 MB, free: 3.242 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004178/0.2826, allocations: 405.8 kB / 489.5 MB, free: 2.809 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.363e-06/0.2826, allocations: 0 / 489.5 MB, free: 2.809 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00113/0.2838, allocations: 291.8 kB / 489.8 MB, free: 2.523 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.218e-06/0.2838, allocations: 0 / 489.8 MB, free: 2.523 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.781e-05/0.2838, allocations: 15.92 kB / 489.8 MB, free: 2.508 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008724/0.2847, allocations: 1.376 MB / 491.1 MB, free: 1.02 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.743e-06/0.2847, allocations: 160 / 491.1 MB, free: 1.02 MB / 362.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0006119/0.2853, allocations: 467.1 kB / 491.6 MB, free: 0.5352 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.928e-05/0.2854, allocations: 112.7 kB / 491.7 MB, free: 416 kB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.463e-05/0.2855, allocations: 3.938 kB / 491.7 MB, free: 412 kB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002756/0.2858, allocations: 39.97 kB / 491.8 MB, free: 372 kB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.218e-05/0.2858, allocations: 23.95 kB / 491.8 MB, free: 348 kB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.109e-05/0.2859, allocations: 16 kB / 491.8 MB, free: 332 kB / 362.7 MB Notification: Performance of sort global known variables: time 0.0001485/0.286, allocations: 177.2 kB / 492 MB, free: 156 kB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003981/0.2864, allocations: 91.69 kB / 492.1 MB, free: 64 kB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 3 (bui.zon.capZon.heaPor.T,bui.zon.capWal.heaPor.T,bui.zon.capEmb.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 (26): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001312/0.2866, allocations: 107.3 kB / 492.2 MB, free: 15.95 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001483/0.2881, allocations: 0.576 MB / 492.7 MB, free: 15.37 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.614e-06/0.2881, allocations: 0 / 492.7 MB, free: 15.37 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001263/0.2893, allocations: 448.1 kB / 493.2 MB, free: 14.93 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002831/0.2896, allocations: 36.48 kB / 493.2 MB, free: 14.89 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001585/0.2912, allocations: 0.7315 MB / 493.9 MB, free: 14.12 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004136/0.2917, allocations: 0.8246 MB / 494.8 MB, free: 13.28 MB / 378.7 MB Notification: Performance of SimCode: time 2.71e-07/0.2917, allocations: 0 / 494.8 MB, free: 13.28 MB / 378.7 MB Notification: Performance of Templates: time 0.006378/0.298, allocations: 3.536 MB / 498.3 MB, free: 9.797 MB / 378.7 MB make -j1 -f FastBuildings_FastBuildings.Examples.SingleZone_Controlled.makefile (rm -f FastBuildings_FastBuildings.Examples.SingleZone_Controlled.pipe ; mkfifo FastBuildings_FastBuildings.Examples.SingleZone_Controlled.pipe ; head -c 1048576 < FastBuildings_FastBuildings.Examples.SingleZone_Controlled.pipe >> ../files/FastBuildings_FastBuildings.Examples.SingleZone_Controlled.sim & ./FastBuildings_FastBuildings.Examples.SingleZone_Controlled -abortSlowSimulation -alarm=480 -lv LOG_STATS > FastBuildings_FastBuildings.Examples.SingleZone_Controlled.pipe 2>&1)