Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr FastBuildings_FastBuildings.Input.SIM_ArtificialInput.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_ArtificialInput,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="FastBuildings_FastBuildings.Input.SIM_ArtificialInput") translateModel(FastBuildings.Input.SIM_ArtificialInput,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="FastBuildings_FastBuildings.Input.SIM_ArtificialInput") [: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.002667/0.002667, allocations: 176.2 kB / 7.454 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.0202/0.0202, allocations: 4.552 MB / 12.41 MB, free: 0.6641 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.237/1.237, allocations: 221.4 MB / 235.3 MB, free: 13.79 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.0008611/0.0008611, allocations: 108.2 kB / 287.2 MB, free: 11.34 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 5.39e-06/5.43e-06, allocations: 0 / 344.7 MB, free: 1.77 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2057/0.2057, allocations: 51.46 MB / 396.2 MB, free: 32.7 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.08184/0.2876, allocations: 76.47 MB / 472.7 MB, free: 4.117 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001229/0.2877, allocations: 47.98 kB / 472.7 MB, free: 4.07 MB / 346.7 MB Notification: Performance of FrontEnd: time 0.00704/0.2948, allocations: 1.802 MB / 474.5 MB, free: 2.27 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.127e-05/0.2948, allocations: 4 kB / 474.5 MB, free: 2.266 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: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0006741/0.2955, allocations: 451.8 kB / 475 MB, free: 1.773 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.585e-05/0.2955, allocations: 8.031 kB / 475 MB, free: 1.766 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.626e-05/0.2956, allocations: 11.91 kB / 475 MB, free: 1.754 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002185/0.2959, allocations: 209.8 kB / 475.2 MB, free: 1.508 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.491e-05/0.2959, allocations: 4 kB / 475.2 MB, free: 1.504 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.339e-05/0.2959, allocations: 4 kB / 475.2 MB, free: 1.5 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001594/0.2961, allocations: 63.97 kB / 475.3 MB, free: 1.438 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001751/0.2963, allocations: 129.9 kB / 475.4 MB, free: 1.289 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.926e-06/0.2963, allocations: 0 / 475.4 MB, free: 1.289 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.377e-05/0.2963, allocations: 0 / 475.4 MB, free: 1.289 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.404e-06/0.2963, allocations: 7.906 kB / 475.4 MB, free: 1.281 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007588/0.2971, allocations: 0.6893 MB / 476.1 MB, free: 0.5391 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001408/0.2972, allocations: 125.1 kB / 476.2 MB, free: 380 kB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.811e-05/0.2973, allocations: 60.31 kB / 476.3 MB, free: 304 kB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.31e-05/0.2974, allocations: 7.984 kB / 476.3 MB, free: 296 kB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001317/0.2975, allocations: 115.6 kB / 476.4 MB, free: 152 kB / 346.7 MB Notification: Performance of pre-optimization done (n=9): time 2.224e-06/0.2975, allocations: 3.984 kB / 476.4 MB, free: 148 kB / 346.7 MB Notification: Performance of matching and sorting (n=9): time 0.0002397/0.2977, allocations: 109.4 kB / 476.5 MB, free: 32 kB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.501e-05/0.2978, allocations: 170.3 kB / 476.7 MB, free: 15.83 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001036/0.2979, allocations: 127.9 kB / 476.8 MB, free: 15.7 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.917e-05/0.298, allocations: 25.7 kB / 476.8 MB, free: 15.66 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.774e-05/0.298, allocations: 104.2 kB / 476.9 MB, free: 15.56 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.575e-05/0.2981, allocations: 27.55 kB / 477 MB, free: 15.53 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.915e-06/0.2981, allocations: 4 kB / 477 MB, free: 15.53 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001/0.2982, allocations: 322.8 kB / 477.3 MB, free: 15.2 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.14e-05/0.2983, allocations: 31.98 kB / 477.3 MB, free: 15.17 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.312e-05/0.2983, allocations: 73.14 kB / 477.4 MB, free: 15.09 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.119e-05/0.2984, allocations: 31.97 kB / 477.4 MB, free: 15.05 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/0.2984, allocations: 0 / 477.4 MB, free: 15.05 MB / 362.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001952/0.2986, allocations: 125.4 kB / 477.5 MB, free: 14.93 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.185e-05/0.2987, allocations: 11.25 kB / 477.5 MB, free: 14.92 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.989e-06/0.2987, allocations: 2.578 kB / 477.5 MB, free: 14.92 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.406e-05/0.2987, allocations: 7.906 kB / 477.5 MB, free: 14.91 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001829/0.2989, allocations: 31.97 kB / 477.6 MB, free: 14.88 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.31e-06/0.2989, allocations: 8 kB / 477.6 MB, free: 14.87 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001668/0.2991, allocations: 19.98 kB / 477.6 MB, free: 14.85 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.817e-05/0.2991, allocations: 7.984 kB / 477.6 MB, free: 14.84 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 (11): * Single equations (assignments): 10 * 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.219e-05/0.2992, allocations: 119.6 kB / 477.7 MB, free: 14.72 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.271e-05/0.2992, allocations: 7.906 kB / 477.7 MB, free: 14.71 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001443/0.2993, allocations: 77.78 kB / 477.8 MB, free: 14.63 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.918e-06/0.2994, allocations: 4 kB / 477.8 MB, free: 14.62 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.787e-06/0.2994, allocations: 0 / 477.8 MB, free: 14.62 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.12e-06/0.2994, allocations: 4 kB / 477.8 MB, free: 14.62 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002223/0.2996, allocations: 299 kB / 478.1 MB, free: 14.29 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.635e-06/0.2996, allocations: 4.062 kB / 478.1 MB, free: 14.28 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001533/0.2998, allocations: 32.05 kB / 478.1 MB, free: 14.25 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.168e-06/0.2998, allocations: 7.984 kB / 478.2 MB, free: 14.24 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.176e-05/0.2998, allocations: 0 / 478.2 MB, free: 14.24 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.2998, allocations: 4 kB / 478.2 MB, free: 14.24 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.767e-06/0.2998, allocations: 7.906 kB / 478.2 MB, free: 14.23 MB / 362.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000239/0.3001, allocations: 273.6 kB / 478.4 MB, free: 13.91 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.008e-05/0.3001, allocations: 92.94 kB / 478.5 MB, free: 13.8 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.647e-05/0.3001, allocations: 0 / 478.5 MB, free: 13.8 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001922/0.3003, allocations: 27.89 kB / 478.6 MB, free: 13.77 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.926e-05/0.3004, allocations: 23.91 kB / 478.6 MB, free: 13.75 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.261e-05/0.3004, allocations: 4 kB / 478.6 MB, free: 13.75 MB / 362.7 MB Notification: Performance of sort global known variables: time 6.458e-05/0.3005, allocations: 121.8 kB / 478.7 MB, free: 13.63 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002433/0.3008, allocations: 16 kB / 478.7 MB, free: 13.61 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 (9): * Single equations (assignments): 7 * 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 9.502e-05/0.3009, allocations: 95.25 kB / 478.8 MB, free: 13.51 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001805/0.301, allocations: 105.7 kB / 478.9 MB, free: 13.4 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.373e-06/0.3011, allocations: 4.219 kB / 478.9 MB, free: 13.4 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001108/0.3012, allocations: 59.84 kB / 479 MB, free: 13.34 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001985/0.3014, allocations: 19.56 kB / 479 MB, free: 13.32 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004227/0.3018, allocations: 182.9 kB / 479.2 MB, free: 13.11 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003022/0.3021, allocations: 0.7422 MB / 479.9 MB, free: 12.34 MB / 362.7 MB Notification: Performance of SimCode: time 2.51e-07/0.3021, allocations: 0 / 479.9 MB, free: 12.34 MB / 362.7 MB Notification: Performance of Templates: time 0.003073/0.3052, allocations: 1.273 MB / 481.2 MB, free: 11.1 MB / 362.7 MB make -j1 -f FastBuildings_FastBuildings.Input.SIM_ArtificialInput.makefile (rm -f FastBuildings_FastBuildings.Input.SIM_ArtificialInput.pipe ; mkfifo FastBuildings_FastBuildings.Input.SIM_ArtificialInput.pipe ; head -c 1048576 < FastBuildings_FastBuildings.Input.SIM_ArtificialInput.pipe >> ../files/FastBuildings_FastBuildings.Input.SIM_ArtificialInput.sim & ./FastBuildings_FastBuildings.Input.SIM_ArtificialInput -abortSlowSimulation -alarm=480 -lv LOG_STATS > FastBuildings_FastBuildings.Input.SIM_ArtificialInput.pipe 2>&1)