Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.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/IDEAS 3.0.0-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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-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(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure") translateModel(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure") [: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.003978/0.003978, allocations: 185.9 kB / 7.464 MB, free: 2.508 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7862/0.7862, allocations: 133.5 MB / 141.4 MB, free: 15.69 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.391/1.391, allocations: 221.3 MB / 395 MB, free: 10.21 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001195/0.001195, allocations: 101.2 kB / 477.8 MB, free: 10.87 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 8.046e-06/8.086e-06, allocations: 2.781 kB / 0.5529 GB, free: 89.07 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1389/0.1389, allocations: 82.3 MB / 0.6332 GB, free: 14.12 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4142/0.5532, allocations: 114.2 MB / 0.7448 GB, free: 10.77 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002084/0.5534, allocations: 84.59 kB / 0.7449 GB, free: 10.77 MB / 0.4948 GB Notification: Performance of FrontEnd: time 0.02398/0.5774, allocations: 9.309 MB / 0.754 GB, free: 10 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 1.637e-05/0.5775, allocations: 8.312 kB / 0.754 GB, free: 10 MB / 0.4948 GB 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.0007446/0.5782, allocations: 0.5011 MB / 0.7545 GB, free: 25.53 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.26e-05/0.5783, allocations: 8.312 kB / 0.7545 GB, free: 25.53 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.995e-05/0.5784, allocations: 28.56 kB / 0.7545 GB, free: 25.51 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003723/0.5787, allocations: 272.9 kB / 0.7548 GB, free: 25.26 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.093e-05/0.5788, allocations: 5.438 kB / 0.7548 GB, free: 25.26 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.08e-05/0.5788, allocations: 11.22 kB / 0.7548 GB, free: 25.26 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008458/0.5797, allocations: 0.7273 MB / 0.7555 GB, free: 25.02 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002741/0.5799, allocations: 189.9 kB / 0.7557 GB, free: 24.91 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.939e-06/0.58, allocations: 0 / 0.7557 GB, free: 24.91 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.28e-05/0.58, allocations: 1.375 kB / 0.7557 GB, free: 24.91 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.861e-06/0.58, allocations: 6.75 kB / 0.7557 GB, free: 24.91 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007438/0.5807, allocations: 0.5254 MB / 0.7562 GB, free: 24.57 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003046/0.5811, allocations: 217.4 kB / 0.7564 GB, free: 24.53 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001329/0.5812, allocations: 87.66 kB / 0.7565 GB, free: 24.52 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 4.817e-05/0.5813, allocations: 24.52 kB / 0.7565 GB, free: 24.51 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002124/0.5815, allocations: 157 kB / 0.7567 GB, free: 24.43 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=33): time 1.553e-06/0.5815, allocations: 0 / 0.7567 GB, free: 24.43 MB / 0.5105 GB Notification: Performance of matching and sorting (n=33): time 0.0004375/0.5819, allocations: 258 kB / 0.7569 GB, free: 24.35 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.423e-05/0.582, allocations: 142.8 kB / 0.757 GB, free: 24.19 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002627/0.5823, allocations: 261.7 kB / 0.7573 GB, free: 24.07 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 3.103e-05/0.5823, allocations: 26.86 kB / 0.7573 GB, free: 24.04 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 6.218e-05/0.5824, allocations: 106.1 kB / 0.7574 GB, free: 23.94 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 6.132e-05/0.5825, allocations: 98.88 kB / 0.7575 GB, free: 23.86 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.065e-05/0.5825, allocations: 0 / 0.7575 GB, free: 23.86 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001113/0.5826, allocations: 337.2 kB / 0.7578 GB, free: 23.54 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001103/0.5827, allocations: 74.19 kB / 0.7579 GB, free: 23.54 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001326/0.5828, allocations: 114 kB / 0.758 GB, free: 23.49 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001479/0.583, allocations: 93.09 kB / 0.7581 GB, free: 23.48 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.784e-06/0.583, allocations: 5.531 kB / 0.7581 GB, free: 23.47 MB / 0.5105 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0003808/0.5834, allocations: 257.2 kB / 0.7583 GB, free: 23.39 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.233e-05/0.5834, allocations: 5.25 kB / 0.7583 GB, free: 23.39 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.6e-06/0.5834, allocations: 4.969 kB / 0.7584 GB, free: 23.39 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.508e-05/0.5834, allocations: 8.906 kB / 0.7584 GB, free: 23.38 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002193/0.5837, allocations: 58.12 kB / 0.7584 GB, free: 23.38 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.779e-06/0.5837, allocations: 0.9375 kB / 0.7584 GB, free: 23.38 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001435/0.5838, allocations: 21.75 kB / 0.7584 GB, free: 23.36 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.469e-05/0.5839, allocations: 16.11 kB / 0.7585 GB, free: 23.36 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,$PRE.conTim.tNext,conTim.tNext) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (34): * Single equations (assignments): 34 * 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 9.428e-05/0.584, allocations: 107.2 kB / 0.7586 GB, free: 23.25 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.535e-05/0.584, allocations: 28.34 kB / 0.7586 GB, free: 23.23 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006117/0.5846, allocations: 374.3 kB / 0.7589 GB, free: 23.1 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.308e-06/0.5846, allocations: 4.25 kB / 0.7589 GB, free: 23.1 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.118e-06/0.5846, allocations: 0 / 0.7589 GB, free: 23.1 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.369e-06/0.5847, allocations: 0 / 0.7589 GB, free: 23.1 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002563/0.5849, allocations: 306.7 kB / 0.7592 GB, free: 22.87 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.5849, allocations: 4 kB / 0.7592 GB, free: 22.87 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001729/0.5851, allocations: 52.2 kB / 0.7593 GB, free: 22.86 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.376e-06/0.5851, allocations: 1.25 kB / 0.7593 GB, free: 22.86 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.999e-05/0.5851, allocations: 12.11 kB / 0.7593 GB, free: 22.86 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.244e-06/0.5851, allocations: 1.219 kB / 0.7593 GB, free: 22.86 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.974e-06/0.5852, allocations: 0 / 0.7593 GB, free: 22.86 MB / 0.5105 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000378/0.5855, allocations: 297.1 kB / 0.7596 GB, free: 22.74 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001519/0.5857, allocations: 156.6 kB / 0.7597 GB, free: 22.61 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.702e-05/0.5858, allocations: 5.281 kB / 0.7597 GB, free: 22.61 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000157/0.5859, allocations: 16.7 kB / 0.7598 GB, free: 22.6 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.507e-05/0.586, allocations: 25.17 kB / 0.7598 GB, free: 22.59 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.462e-05/0.586, allocations: 9.719 kB / 0.7598 GB, free: 22.59 MB / 0.5105 GB Notification: Performance of sort global known variables: time 0.0001823/0.5862, allocations: 215.2 kB / 0.76 GB, free: 22.49 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0003336/0.5865, allocations: 57.44 kB / 0.7601 GB, free: 22.48 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 ($whenCondition1,conTim.tNext) * Number of discrete states: 1 (conTim.tNext) * Top-level inputs: 0 Notification: Strong component statistics for simulation (33): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.000643/0.5872, allocations: 327.1 kB / 0.7604 GB, free: 22.3 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0003647/0.5876, allocations: 208.8 kB / 0.7606 GB, free: 22.27 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.5876, allocations: 0 / 0.7606 GB, free: 22.27 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0001572/0.5877, allocations: 116.1 kB / 0.7607 GB, free: 22.26 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002267/0.588, allocations: 20.72 kB / 0.7607 GB, free: 22.25 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00067/0.5886, allocations: 397.8 kB / 0.7611 GB, free: 22.09 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004614/0.5891, allocations: 0.8082 MB / 0.7619 GB, free: 21.35 MB / 0.5105 GB Notification: Performance of SimCode: time 2.7e-07/0.5891, allocations: 5.438 kB / 0.7619 GB, free: 21.35 MB / 0.5105 GB Notification: Performance of Templates: time 0.006831/0.596, allocations: 3.573 MB / 0.7654 GB, free: 19.59 MB / 0.5105 GB make -j1 -f IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.makefile (rm -f IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.pipe ; mkfifo IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.pipe >> ../files/IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.sim & ./IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.pipe 2>&1)