Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Humidifiers.Examples.Humidifier_u.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Fluid.Humidifiers.Examples.Humidifier_u,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.Humidifiers.Examples.Humidifier_u") translateModel(Buildings.Fluid.Humidifiers.Examples.Humidifier_u,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.Humidifiers.Examples.Humidifier_u") [: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/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.432/1.432, allocations: 285.5 MB / 292.8 MB, free: 10.46 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001283/0.001283, allocations: 177.4 kB / 361.1 MB, free: 7.102 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.309/1.309, allocations: 205.1 MB / 0.6195 GB, free: 10.32 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009261/0.0009261, allocations: 96.45 kB / 0.7326 GB, free: 44.25 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 6.502e-06/6.532e-06, allocations: 0 / 0.8511 GB, free: 2.996 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6923/0.6923, allocations: 115.3 MB / 0.9637 GB, free: 78.3 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.201/4.893, allocations: 2.086 GB / 3.05 GB, free: 40.17 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000207/4.893, allocations: 84.61 kB / 3.05 GB, free: 40.09 MB / 0.948 GB Notification: Performance of FrontEnd: time 3.298/8.192, allocations: 1.036 GB / 4.086 GB, free: 89.66 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0001469/8.192, allocations: 48.75 kB / 4.086 GB, free: 89.61 MB / 0.948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 300 * Number of variables: 300 Notification: Performance of Generate backend data structure: time 0.003617/8.195, allocations: 2.078 MB / 4.089 GB, free: 87.46 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.898e-05/8.195, allocations: 8.031 kB / 4.089 GB, free: 87.46 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003605/8.199, allocations: 0.6337 MB / 4.089 GB, free: 86.82 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003044/8.202, allocations: 1.465 MB / 4.091 GB, free: 85.3 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003415/8.202, allocations: 122.3 kB / 4.091 GB, free: 85.18 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001703/8.203, allocations: 79.98 kB / 4.091 GB, free: 85.11 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00174/8.204, allocations: 1.016 MB / 4.092 GB, free: 84.09 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001724/8.206, allocations: 1.227 MB / 4.093 GB, free: 82.79 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.725e-05/8.206, allocations: 4 kB / 4.093 GB, free: 82.78 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001048/8.206, allocations: 4 kB / 4.093 GB, free: 82.78 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.829e-05/8.206, allocations: 42.27 kB / 4.093 GB, free: 82.73 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008215/8.215, allocations: 6.131 MB / 4.099 GB, free: 76.32 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007249/8.215, allocations: 0.5345 MB / 4.1 GB, free: 75.78 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005266/8.216, allocations: 450.8 kB / 4.1 GB, free: 75.34 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006024/8.216, allocations: 482.1 kB / 4.1 GB, free: 74.77 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006268/8.217, allocations: 0.5039 MB / 4.101 GB, free: 74.25 MB / 0.948 GB Notification: Performance of pre-optimization done (n=79): time 3.858e-06/8.217, allocations: 0 / 4.101 GB, free: 74.25 MB / 0.948 GB Notification: Performance of matching and sorting (n=79): time 0.002844/8.22, allocations: 1.112 MB / 4.102 GB, free: 73.13 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.02e-05/8.22, allocations: 192.7 kB / 4.102 GB, free: 72.89 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001142/8.221, allocations: 0.9411 MB / 4.103 GB, free: 71.95 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 8.717e-05/8.221, allocations: 29.7 kB / 4.103 GB, free: 71.91 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003286/8.222, allocations: 0.5087 MB / 4.104 GB, free: 71.39 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.000213/8.222, allocations: 267.1 kB / 4.104 GB, free: 71.13 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.53e-05/8.222, allocations: 0 / 4.104 GB, free: 71.13 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 5.671e-05/8.222, allocations: 337.9 kB / 4.104 GB, free: 70.8 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004406/8.222, allocations: 329.9 kB / 4.105 GB, free: 70.47 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005519/8.223, allocations: 0.5797 MB / 4.105 GB, free: 69.79 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007712/8.224, allocations: 470.6 kB / 4.106 GB, free: 69.33 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.779e-06/8.224, allocations: 4 kB / 4.106 GB, free: 69.33 MB / 0.948 GB Notification: Performance of matching and sorting (n=104) (initialization): time 0.001814/8.226, allocations: 1.106 MB / 4.107 GB, free: 68.21 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002645/8.226, allocations: 1.702 MB / 4.108 GB, free: 66.42 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.859e-06/8.226, allocations: 8 kB / 4.108 GB, free: 66.41 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001703/8.226, allocations: 40.84 kB / 4.108 GB, free: 66.37 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009322/8.227, allocations: 215.7 kB / 4.109 GB, free: 66.16 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003781/8.227, allocations: 0.5992 MB / 4.109 GB, free: 65.53 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001549/8.229, allocations: 167.2 kB / 4.109 GB, free: 65.37 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.924e-05/8.229, allocations: 40.06 kB / 4.109 GB, free: 65.33 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 8.265e-06/8.229, allocations: 4 kB / 4.109 GB, free: 65.32 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001505/8.231, allocations: 0.915 MB / 4.11 GB, free: 64.41 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.969e-06/8.231, allocations: 4 kB / 4.11 GB, free: 64.4 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001358/8.231, allocations: 48.83 kB / 4.11 GB, free: 64.35 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008988/8.232, allocations: 219.9 kB / 4.11 GB, free: 64.14 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001074/8.233, allocations: 1.462 MB / 4.112 GB, free: 62.55 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001559/8.234, allocations: 159.4 kB / 4.112 GB, free: 62.4 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.842e-05/8.234, allocations: 40.05 kB / 4.112 GB, free: 62.36 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition1,TSet.a,TSet.b,TSet.last,$PRE.TSet.nextEvent,TSet.nextEvent,TSet.nextEventScaled,con2.I.trigger_internal,con1.I.trigger_internal) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (95): * Single equations (assignments): 93 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 4} Notification: Performance of prepare postOptimizeDAE: time 0.0002551/8.235, allocations: 162.5 kB / 4.112 GB, free: 62.19 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002188/8.235, allocations: 154.2 kB / 4.112 GB, free: 62.04 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001986/8.237, allocations: 1.043 MB / 4.113 GB, free: 60.98 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.103e-06/8.237, allocations: 8 kB / 4.113 GB, free: 60.97 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.196e-06/8.237, allocations: 0 / 4.113 GB, free: 60.97 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001357/8.238, allocations: 0.9484 MB / 4.114 GB, free: 59.99 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00407/8.242, allocations: 2.545 MB / 4.117 GB, free: 57.36 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.29e-06/8.242, allocations: 4 kB / 4.117 GB, free: 57.36 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009937/8.243, allocations: 188 kB / 4.117 GB, free: 57.18 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001027/8.243, allocations: 40.84 kB / 4.117 GB, free: 57.13 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.539e-05/8.244, allocations: 23.89 kB / 4.117 GB, free: 57.11 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002699/8.244, allocations: 0.5914 MB / 4.118 GB, free: 56.49 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.957e-06/8.244, allocations: 8.062 kB / 4.118 GB, free: 56.48 MB / 0.948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00214/8.246, allocations: 1.827 MB / 4.119 GB, free: 54.54 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006155/8.247, allocations: 339 kB / 4.12 GB, free: 54.19 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000225/8.247, allocations: 19.89 kB / 4.12 GB, free: 54.17 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001236/8.248, allocations: 119.8 kB / 4.12 GB, free: 54.05 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.054e-05/8.248, allocations: 48.5 kB / 4.12 GB, free: 54 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.881e-05/8.248, allocations: 31.98 kB / 4.12 GB, free: 53.97 MB / 0.948 GB Notification: Performance of sort global known variables: time 0.0008783/8.249, allocations: 0.715 MB / 4.121 GB, free: 53.26 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.00256/8.252, allocations: 0.9619 MB / 4.122 GB, free: 52.3 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 6 (senTem1.T,con1.I.y,humDyn.vol.dynBal.U,humDyn.vol.dynBal.mXi[1],senTem2.T,con2.I.y) * Number of discrete variables: 6 ($whenCondition1,TSet.a,TSet.b,TSet.last,TSet.nextEvent,TSet.nextEventScaled) * Number of discrete states: 6 (TSet.nextEvent,TSet.last,TSet.nextEventScaled,TSet.b,TSet.a,$whenCondition1) * Top-level inputs: 0 Notification: Strong component statistics for simulation (70): * Single equations (assignments): 68 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.002808/8.255, allocations: 2.645 MB / 4.124 GB, free: 49.46 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.002114/8.257, allocations: 1.531 MB / 4.126 GB, free: 47.91 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 4.218e-06/8.257, allocations: 224 / 4.126 GB, free: 47.91 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0005723/8.257, allocations: 0.4895 MB / 4.126 GB, free: 47.41 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003024/8.26, allocations: 0.6683 MB / 4.127 GB, free: 46.75 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006333/8.267, allocations: 2.571 MB / 4.129 GB, free: 44.11 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001036/8.268, allocations: 1.477 MB / 4.131 GB, free: 42.6 MB / 0.948 GB Notification: Performance of SimCode: time 8.11e-07/8.268, allocations: 0 / 4.131 GB, free: 42.6 MB / 0.948 GB Notification: Performance of Templates: time 0.06262/8.33, allocations: 43.89 MB / 4.174 GB, free: 14.9 MB / 0.9636 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.Humidifiers.Examples.Humidifier_u.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Humidifiers.Examples.Humidifier_u.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Humidifiers.Examples.Humidifier_u.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Humidifiers.Examples.Humidifier_u.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Humidifiers.Examples.Humidifier_u.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.Humidifiers.Examples.Humidifier_u -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.Humidifiers.Examples.Humidifier_u.pipe 2>&1)