Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.SublimationPressureIce.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.Utilities.Psychrometrics.Examples.SublimationPressureIce,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.SublimationPressureIce") translateModel(IDEAS.Utilities.Psychrometrics.Examples.SublimationPressureIce,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.SublimationPressureIce") [: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.0009286/0.0009286, allocations: 184.5 kB / 7.462 MB, free: 488 kB / 6.207 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.598/0.598, allocations: 133.5 MB / 141.4 MB, free: 3.758 MB / 110.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.205/1.205, allocations: 221.3 MB / 395 MB, free: 13.95 MB / 318.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008616/0.0008618, allocations: 109.4 kB / 477.8 MB, free: 3.969 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 5.871e-06/5.981e-06, allocations: 1.312 kB / 0.5528 GB, free: 90.79 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1286/0.1287, allocations: 82.3 MB / 0.6332 GB, free: 38.53 MB / 462.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1247/0.2534, allocations: 111.1 MB / 0.7417 GB, free: 7.25 MB / 0.5294 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002044/0.2537, allocations: 79.95 kB / 0.7418 GB, free: 7.172 MB / 0.5294 GB Notification: Performance of FrontEnd: time 0.003698/0.2574, allocations: 0.975 MB / 0.7428 GB, free: 6.195 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 6.311e-06/0.2574, allocations: 0 / 0.7428 GB, free: 6.195 MB / 0.5294 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003306/0.2577, allocations: 343.2 kB / 0.7431 GB, free: 5.816 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.454e-05/0.2578, allocations: 8.031 kB / 0.7431 GB, free: 5.809 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.015e-05/0.2578, allocations: 11.91 kB / 0.7431 GB, free: 5.797 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001106/0.2579, allocations: 174.9 kB / 0.7433 GB, free: 5.586 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.114e-05/0.258, allocations: 0 / 0.7433 GB, free: 5.586 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.235e-06/0.258, allocations: 4 kB / 0.7433 GB, free: 5.582 MB / 0.5294 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.27e-05/0.258, allocations: 11.91 kB / 0.7433 GB, free: 5.57 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.261e-05/0.2581, allocations: 33.7 kB / 0.7433 GB, free: 5.531 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.224e-06/0.2581, allocations: 0 / 0.7433 GB, free: 5.531 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.363e-06/0.2581, allocations: 0 / 0.7433 GB, free: 5.531 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.739e-06/0.2581, allocations: 3.984 kB / 0.7433 GB, free: 5.527 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002667/0.2584, allocations: 229.5 kB / 0.7435 GB, free: 5.266 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 6.64e-05/0.2585, allocations: 30.52 kB / 0.7436 GB, free: 5.227 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.382e-05/0.2585, allocations: 16.86 kB / 0.7436 GB, free: 5.207 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 1.997e-05/0.2586, allocations: 0 / 0.7436 GB, free: 5.207 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.036e-05/0.2586, allocations: 30.56 kB / 0.7436 GB, free: 5.168 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=2): time 9.71e-07/0.2586, allocations: 0 / 0.7436 GB, free: 5.168 MB / 0.5294 GB Notification: Performance of matching and sorting (n=2): time 0.0001402/0.2587, allocations: 41.7 kB / 0.7437 GB, free: 5.121 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.445e-05/0.2588, allocations: 55.39 kB / 0.7437 GB, free: 5.055 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.914e-05/0.2588, allocations: 89 kB / 0.7438 GB, free: 4.961 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.035e-05/0.2588, allocations: 25.7 kB / 0.7438 GB, free: 4.93 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 2.858e-05/0.2589, allocations: 84.14 kB / 0.7439 GB, free: 4.844 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 1.665e-05/0.2589, allocations: 7.906 kB / 0.7439 GB, free: 4.836 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.486e-06/0.2589, allocations: 0 / 0.7439 GB, free: 4.836 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 8.413e-05/0.259, allocations: 314.8 kB / 0.7442 GB, free: 4.52 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.58e-05/0.259, allocations: 11.97 kB / 0.7442 GB, free: 4.508 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.411e-05/0.259, allocations: 11.98 kB / 0.7442 GB, free: 4.496 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.469e-05/0.2591, allocations: 0 / 0.7442 GB, free: 4.496 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.113e-06/0.2591, allocations: 0 / 0.7442 GB, free: 4.496 MB / 0.5294 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.749e-05/0.2591, allocations: 41.7 kB / 0.7443 GB, free: 4.449 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.061e-05/0.2591, allocations: 4 kB / 0.7443 GB, free: 4.445 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.579e-06/0.2592, allocations: 0 / 0.7443 GB, free: 4.445 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.075e-05/0.2592, allocations: 0 / 0.7443 GB, free: 4.445 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.302e-05/0.2593, allocations: 20.08 kB / 0.7443 GB, free: 4.426 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.018e-06/0.2593, allocations: 0 / 0.7443 GB, free: 4.426 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.564e-05/0.2593, allocations: 7.984 kB / 0.7443 GB, free: 4.418 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.162e-06/0.2594, allocations: 4 kB / 0.7443 GB, free: 4.414 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * 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 6.346e-05/0.2594, allocations: 104.9 kB / 0.7444 GB, free: 4.305 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.558e-05/0.2595, allocations: 4 kB / 0.7444 GB, free: 4.301 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001004/0.2596, allocations: 52.88 kB / 0.7445 GB, free: 4.238 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.462e-06/0.2596, allocations: 0 / 0.7445 GB, free: 4.238 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.119e-06/0.2596, allocations: 4 kB / 0.7445 GB, free: 4.234 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.677e-06/0.2596, allocations: 3.906 kB / 0.7445 GB, free: 4.23 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001168/0.2597, allocations: 134.2 kB / 0.7446 GB, free: 4.062 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.2597, allocations: 0 / 0.7446 GB, free: 4.062 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.946e-05/0.2598, allocations: 19.95 kB / 0.7446 GB, free: 4.043 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.204e-06/0.2598, allocations: 192 / 0.7446 GB, free: 4.043 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.871e-06/0.2598, allocations: 0 / 0.7446 GB, free: 4.043 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.2598, allocations: 0 / 0.7446 GB, free: 4.043 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.923e-06/0.2598, allocations: 0 / 0.7446 GB, free: 4.043 MB / 0.5294 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 9.228e-05/0.2599, allocations: 143.5 kB / 0.7447 GB, free: 3.887 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 3.295e-05/0.26, allocations: 81.09 kB / 0.7448 GB, free: 3.789 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.224e-05/0.26, allocations: 3.938 kB / 0.7448 GB, free: 3.785 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.798e-05/0.2601, allocations: 19.92 kB / 0.7449 GB, free: 3.766 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.222e-05/0.2601, allocations: 0 / 0.7449 GB, free: 3.766 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.52e-06/0.2601, allocations: 4 kB / 0.7449 GB, free: 3.762 MB / 0.5294 GB Notification: Performance of sort global known variables: time 2.553e-05/0.2602, allocations: 75.28 kB / 0.7449 GB, free: 3.688 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0002164/0.2604, allocations: 19.94 kB / 0.7449 GB, free: 3.668 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * 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 0.0001601/0.2605, allocations: 119.2 kB / 0.7451 GB, free: 3.539 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 6.664e-05/0.2606, allocations: 12 kB / 0.7451 GB, free: 3.527 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.283e-06/0.2606, allocations: 0 / 0.7451 GB, free: 3.527 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 2.102e-05/0.2606, allocations: 11.98 kB / 0.7451 GB, free: 3.516 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001422/0.2608, allocations: 4 kB / 0.7451 GB, free: 3.512 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001817/0.261, allocations: 61.56 kB / 0.7451 GB, free: 3.43 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002262/0.2612, allocations: 0.6959 MB / 0.7458 GB, free: 2.707 MB / 0.5294 GB Notification: Performance of SimCode: time 2.41e-07/0.2612, allocations: 0 / 0.7458 GB, free: 2.707 MB / 0.5294 GB Notification: Performance of Templates: time 0.002328/0.2636, allocations: 0.5652 MB / 0.7464 GB, free: 2.145 MB / 0.5294 GB make -j1 -f IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.SublimationPressureIce.makefile (rm -f IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.SublimationPressureIce.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.SublimationPressureIce.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.SublimationPressureIce.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.SublimationPressureIce.sim & ./IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.SublimationPressureIce -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.SublimationPressureIce.pipe 2>&1)