Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr FastBuildings_FastBuildings.Input.SIM_2Zones_Artificial.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.Input.SIM_2Zones_Artificial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="FastBuildings_FastBuildings.Input.SIM_2Zones_Artificial") translateModel(FastBuildings.Input.SIM_2Zones_Artificial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="FastBuildings_FastBuildings.Input.SIM_2Zones_Artificial") [: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.002991/0.002991, allocations: 179.4 kB / 7.464 MB, free: 2.484 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/FastBuildings master/package.mo): time 0.02024/0.02024, allocations: 4.541 MB / 12.41 MB, free: 0.7031 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.208/1.208, allocations: 221.4 MB / 235.3 MB, free: 13.8 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.0009147/0.0009147, allocations: 98.64 kB / 287.2 MB, free: 11.36 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 5.61e-06/5.651e-06, allocations: 0 / 344.7 MB, free: 1.789 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2047/0.2047, allocations: 51.49 MB / 396.2 MB, free: 32.74 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.07939/0.2841, allocations: 76.54 MB / 472.8 MB, free: 4.082 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 9.617e-05/0.2842, allocations: 47.98 kB / 472.8 MB, free: 4.035 MB / 346.7 MB Notification: Performance of FrontEnd: time 0.005761/0.29, allocations: 1.85 MB / 474.7 MB, free: 2.184 MB / 346.7 MB Notification: Performance of Transformations before backend: time 6.993e-06/0.29, allocations: 0 / 474.7 MB, free: 2.184 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.000553/0.2906, allocations: 463.7 kB / 475.1 MB, free: 1.68 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.496e-05/0.2906, allocations: 8.031 kB / 475.1 MB, free: 1.672 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.689e-05/0.2907, allocations: 15.81 kB / 475.1 MB, free: 1.656 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000172/0.2909, allocations: 195.5 kB / 475.3 MB, free: 1.422 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.909e-06/0.2909, allocations: 4 kB / 475.3 MB, free: 1.418 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.921e-05/0.2909, allocations: 7.938 kB / 475.3 MB, free: 1.41 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001383/0.291, allocations: 63.95 kB / 475.4 MB, free: 1.348 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001729/0.2912, allocations: 129.9 kB / 475.5 MB, free: 1.199 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.754e-06/0.2912, allocations: 3.984 kB / 475.5 MB, free: 1.195 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.388e-05/0.2913, allocations: 0 / 475.5 MB, free: 1.195 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.059e-06/0.2913, allocations: 7.938 kB / 475.5 MB, free: 1.188 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000747/0.292, allocations: 0.7009 MB / 476.2 MB, free: 444 kB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002336/0.2923, allocations: 218.2 kB / 476.5 MB, free: 160 kB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.323e-05/0.2924, allocations: 68.31 kB / 476.5 MB, free: 76 kB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.74e-05/0.2924, allocations: 0 / 476.5 MB, free: 76 kB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001535/0.2926, allocations: 131.6 kB / 476.7 MB, free: 15.92 MB / 362.7 MB Notification: Performance of pre-optimization done (n=11): time 2.164e-06/0.2926, allocations: 3.984 kB / 476.7 MB, free: 15.91 MB / 362.7 MB Notification: Performance of matching and sorting (n=11): time 0.0002191/0.2928, allocations: 113.4 kB / 476.8 MB, free: 15.8 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.406e-05/0.2929, allocations: 162.3 kB / 476.9 MB, free: 15.6 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000105/0.293, allocations: 130.5 kB / 477.1 MB, free: 15.46 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.232e-05/0.293, allocations: 29.69 kB / 477.1 MB, free: 15.43 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.689e-05/0.2931, allocations: 104 kB / 477.2 MB, free: 15.32 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.557e-05/0.2931, allocations: 35.5 kB / 477.2 MB, free: 15.29 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.929e-06/0.2931, allocations: 0 / 477.2 MB, free: 15.29 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001072/0.2932, allocations: 334.7 kB / 477.5 MB, free: 14.95 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.127e-05/0.2933, allocations: 27.98 kB / 477.6 MB, free: 14.93 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.648e-05/0.2934, allocations: 77.89 kB / 477.7 MB, free: 14.84 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.174e-05/0.2935, allocations: 31.98 kB / 477.7 MB, free: 14.8 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.2935, allocations: 0 / 477.7 MB, free: 14.8 MB / 362.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002057/0.2937, allocations: 129.5 kB / 477.8 MB, free: 14.67 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.238e-06/0.2937, allocations: 8.094 kB / 477.8 MB, free: 14.66 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.989e-06/0.2937, allocations: 4 kB / 477.8 MB, free: 14.66 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.338e-06/0.2937, allocations: 0 / 477.8 MB, free: 14.66 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001901/0.2939, allocations: 43.91 kB / 477.9 MB, free: 14.62 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.583e-05/0.2939, allocations: 7.906 kB / 477.9 MB, free: 14.61 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001689/0.2941, allocations: 31.91 kB / 477.9 MB, free: 14.58 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.539e-05/0.2941, allocations: 4 kB / 477.9 MB, free: 14.57 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (13): * Single equations (assignments): 12 * 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 7.324e-05/0.2942, allocations: 116.8 kB / 478 MB, free: 14.45 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.506e-05/0.2943, allocations: 11.91 kB / 478 MB, free: 14.44 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001342/0.2944, allocations: 73.78 kB / 478.1 MB, free: 14.36 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.605e-06/0.2944, allocations: 4 kB / 478.1 MB, free: 14.36 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.186e-06/0.2944, allocations: 0 / 478.1 MB, free: 14.36 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.916e-06/0.2944, allocations: 4 kB / 478.1 MB, free: 14.35 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002522/0.2947, allocations: 390.2 kB / 478.5 MB, free: 13.93 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.2947, allocations: 4.062 kB / 478.5 MB, free: 13.92 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001691/0.2949, allocations: 31.98 kB / 478.5 MB, free: 13.89 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.847e-06/0.2949, allocations: 3.984 kB / 478.5 MB, free: 13.89 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.533e-05/0.2949, allocations: 7.906 kB / 478.5 MB, free: 13.88 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.663e-06/0.2949, allocations: 3.938 kB / 478.5 MB, free: 13.88 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.856e-06/0.2949, allocations: 8 kB / 478.6 MB, free: 13.87 MB / 362.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002579/0.2952, allocations: 348.8 kB / 478.9 MB, free: 13.48 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.79e-05/0.2952, allocations: 92.86 kB / 479 MB, free: 13.37 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.707e-05/0.2953, allocations: 4 kB / 479 MB, free: 13.36 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002243/0.2955, allocations: 27.97 kB / 479 MB, free: 13.34 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.137e-05/0.2956, allocations: 23.91 kB / 479 MB, free: 13.31 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.091e-05/0.2956, allocations: 4 kB / 479 MB, free: 13.31 MB / 362.7 MB Notification: Performance of sort global known variables: time 7.022e-05/0.2957, allocations: 114.3 kB / 479.2 MB, free: 13.2 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002731/0.2959, allocations: 19.91 kB / 479.2 MB, free: 13.18 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 0 () * 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 (11): * Single equations (assignments): 9 * 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 8.172e-05/0.296, allocations: 97.62 kB / 479.3 MB, free: 13.08 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001934/0.2962, allocations: 122.8 kB / 479.4 MB, free: 12.95 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.252e-06/0.2962, allocations: 0 / 479.4 MB, free: 12.95 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001108/0.2963, allocations: 60.09 kB / 479.4 MB, free: 12.89 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000232/0.2966, allocations: 20.02 kB / 479.5 MB, free: 12.88 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004224/0.297, allocations: 198.6 kB / 479.7 MB, free: 12.65 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003021/0.2973, allocations: 0.7383 MB / 480.4 MB, free: 11.89 MB / 362.7 MB Notification: Performance of SimCode: time 2.41e-07/0.2973, allocations: 0 / 480.4 MB, free: 11.89 MB / 362.7 MB Notification: Performance of Templates: time 0.003044/0.3004, allocations: 1.321 MB / 481.7 MB, free: 10.6 MB / 362.7 MB make -j1 -f FastBuildings_FastBuildings.Input.SIM_2Zones_Artificial.makefile (rm -f FastBuildings_FastBuildings.Input.SIM_2Zones_Artificial.pipe ; mkfifo FastBuildings_FastBuildings.Input.SIM_2Zones_Artificial.pipe ; head -c 1048576 < FastBuildings_FastBuildings.Input.SIM_2Zones_Artificial.pipe >> ../files/FastBuildings_FastBuildings.Input.SIM_2Zones_Artificial.sim & ./FastBuildings_FastBuildings.Input.SIM_2Zones_Artificial -abortSlowSimulation -alarm=480 -lv LOG_STATS > FastBuildings_FastBuildings.Input.SIM_2Zones_Artificial.pipe 2>&1)