Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_1.6_Buildings.Fluid.MassExchangers.Examples.HumidifierPrescribed.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Using package Buildings with version 1.6 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo) Running command: translateModel(Buildings.Fluid.MassExchangers.Examples.HumidifierPrescribed,tolerance=1e-05,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.MassExchangers.Examples.HumidifierPrescribed") translateModel(Buildings.Fluid.MassExchangers.Examples.HumidifierPrescribed,tolerance=1e-05,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.MassExchangers.Examples.HumidifierPrescribed") [: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 1.6.0+build.1/package.mo): time 0.512/0.512, allocations: 94.73 MB / 102 MB, free: 4.051 MB / 82.85 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001399/0.001399, allocations: 179.8 kB / 125.3 MB, free: 2.516 MB / 98.85 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.207/1.207, allocations: 170.5 MB / 319 MB, free: 10.36 MB / 242.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001821/0.001821, allocations: 109.2 kB / 381 MB, free: 12.49 MB / 306.8 MB Notification: Performance of FrontEnd - loaded program: time 6.783e-06/7.003e-06, allocations: 0 / 448.6 MB, free: 72.4 MB / 338.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1109/0.111, allocations: 61.51 MB / 0.4981 GB, free: 10.97 MB / 338.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 11.07/11.18, allocations: 5.268 GB / 5.766 GB, free: 94.66 MB / 0.5184 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002311/11.18, allocations: 89.59 kB / 5.766 GB, free: 94.58 MB / 0.5184 GB Notification: Performance of FrontEnd: time 2.859/14.04, allocations: 0.7365 GB / 6.502 GB, free: 65.52 MB / 0.534 GB Notification: Performance of Transformations before backend: time 0.0004629/14.04, allocations: 52.03 kB / 6.502 GB, free: 65.51 MB / 0.534 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 357 * Number of variables: 357 Notification: Performance of Generate backend data structure: time 0.009173/14.05, allocations: 2.267 MB / 6.505 GB, free: 64.5 MB / 0.534 GB Notification: Performance of prepare preOptimizeDAE: time 5.046e-05/14.05, allocations: 10.22 kB / 6.505 GB, free: 64.5 MB / 0.534 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00205/14.05, allocations: 247.5 kB / 6.505 GB, free: 64.39 MB / 0.534 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.07109/14.12, allocations: 23.71 MB / 6.528 GB, free: 62.61 MB / 0.534 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001319/14.12, allocations: 44.53 kB / 6.528 GB, free: 62.61 MB / 0.534 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007498/14.13, allocations: 86.38 kB / 6.528 GB, free: 62.61 MB / 0.534 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003715/14.13, allocations: 1.418 MB / 6.53 GB, free: 62.6 MB / 0.534 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003817/14.13, allocations: 1.434 MB / 6.531 GB, free: 62.48 MB / 0.534 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.883e-05/14.13, allocations: 0 / 6.531 GB, free: 62.48 MB / 0.534 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002849/14.13, allocations: 3.906 kB / 6.531 GB, free: 62.47 MB / 0.534 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.45e-05/14.13, allocations: 35.28 kB / 6.531 GB, free: 62.47 MB / 0.534 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01216/14.15, allocations: 5.818 MB / 6.537 GB, free: 60.8 MB / 0.534 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009698/14.15, allocations: 0.6178 MB / 6.537 GB, free: 60.79 MB / 0.534 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007593/14.15, allocations: 0.4971 MB / 6.538 GB, free: 60.78 MB / 0.534 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005317/14.15, allocations: 401.8 kB / 6.538 GB, free: 60.4 MB / 0.534 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00104/14.15, allocations: 0.7092 MB / 6.539 GB, free: 60.23 MB / 0.534 GB Notification: Performance of pre-optimization done (n=103): time 4.648e-06/14.15, allocations: 0 / 6.539 GB, free: 60.23 MB / 0.534 GB Notification: Performance of matching and sorting (n=110): time 0.0132/14.16, allocations: 4.12 MB / 6.543 GB, free: 59.25 MB / 0.534 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001473/14.16, allocations: 428.9 kB / 6.543 GB, free: 58.75 MB / 0.534 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002178/14.16, allocations: 1.108 MB / 6.544 GB, free: 58.59 MB / 0.534 GB Notification: Performance of collectPreVariables (initialization): time 0.0001967/14.16, allocations: 29.55 kB / 6.544 GB, free: 58.56 MB / 0.534 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006001/14.17, allocations: 0.5636 MB / 6.545 GB, free: 58.25 MB / 0.534 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004007/14.17, allocations: 362.9 kB / 6.545 GB, free: 58.01 MB / 0.534 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.018e-05/14.17, allocations: 8.75 kB / 6.545 GB, free: 58.01 MB / 0.534 GB Notification: Performance of setup shared object (initialization): time 0.0001069/14.17, allocations: 354.7 kB / 6.546 GB, free: 57.7 MB / 0.534 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008069/14.17, allocations: 499.5 kB / 6.546 GB, free: 57.7 MB / 0.534 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009923/14.17, allocations: 0.7766 MB / 6.547 GB, free: 57.41 MB / 0.534 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002256/14.17, allocations: 0.828 MB / 6.548 GB, free: 57.4 MB / 0.534 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.512e-06/14.17, allocations: 1.719 kB / 6.548 GB, free: 57.4 MB / 0.534 GB Notification: Performance of matching and sorting (n=146) (initialization): time 0.004799/14.17, allocations: 1.869 MB / 6.549 GB, free: 57.23 MB / 0.534 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003882/14.18, allocations: 1.253 MB / 6.551 GB, free: 55.95 MB / 0.534 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.069e-05/14.18, allocations: 11.48 kB / 6.551 GB, free: 55.95 MB / 0.534 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001124/14.18, allocations: 345.2 kB / 6.551 GB, free: 55.91 MB / 0.534 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001259/14.18, allocations: 257.6 kB / 6.551 GB, free: 55.91 MB / 0.534 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009313/14.19, allocations: 7.255 MB / 6.558 GB, free: 50.66 MB / 0.534 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001959/14.19, allocations: 113.2 kB / 6.558 GB, free: 50.65 MB / 0.534 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002855/14.19, allocations: 57.94 kB / 6.559 GB, free: 50.65 MB / 0.534 GB Notification: Performance of prepare postOptimizeDAE: time 1.034e-05/14.19, allocations: 5.312 kB / 6.559 GB, free: 50.65 MB / 0.534 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004368/14.19, allocations: 1.827 MB / 6.56 GB, free: 50.46 MB / 0.534 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.168e-05/14.19, allocations: 7.203 kB / 6.56 GB, free: 50.46 MB / 0.534 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001029/14.19, allocations: 350.1 kB / 6.561 GB, free: 50.43 MB / 0.534 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001168/14.2, allocations: 250.2 kB / 6.561 GB, free: 50.43 MB / 0.534 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005851/14.2, allocations: 7.121 MB / 6.568 GB, free: 44.95 MB / 0.534 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001693/14.2, allocations: 105.7 kB / 6.568 GB, free: 44.94 MB / 0.534 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001822/14.2, allocations: 59.14 kB / 6.568 GB, free: 44.94 MB / 0.534 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 8 (humSte.vol.i_w,humDyn.vol.i_w,$whenCondition1,TSet.a,TSet.b,TSet.last,$PRE.TSet.nextEvent,TSet.nextEvent) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (128): * Single equations (assignments): 120 * Array equations: 0 * Algorithm blocks: 3 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 2,(1,100.0%) 2,(2,100.0%) 5} * Non-linear torn systems: 1 {1 4} Notification: Performance of prepare postOptimizeDAE: time 0.0004799/14.2, allocations: 163.1 kB / 6.568 GB, free: 44.8 MB / 0.534 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004655/14.2, allocations: 161.1 kB / 6.568 GB, free: 44.72 MB / 0.534 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004698/14.21, allocations: 1.911 MB / 6.57 GB, free: 44.57 MB / 0.534 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.481e-05/14.21, allocations: 13.66 kB / 6.57 GB, free: 44.57 MB / 0.534 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.155e-05/14.21, allocations: 0 / 6.57 GB, free: 44.57 MB / 0.534 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.527e-05/14.21, allocations: 7.266 kB / 6.57 GB, free: 44.57 MB / 0.534 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002589/14.21, allocations: 1.435 MB / 6.572 GB, free: 44.4 MB / 0.534 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.531e-06/14.21, allocations: 0 / 6.572 GB, free: 44.4 MB / 0.534 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001052/14.21, allocations: 211.1 kB / 6.572 GB, free: 44.39 MB / 0.534 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001105/14.21, allocations: 300.3 kB / 6.572 GB, free: 44.36 MB / 0.534 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001052/14.21, allocations: 27.23 kB / 6.572 GB, free: 44.36 MB / 0.534 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004538/14.22, allocations: 5.877 MB / 6.578 GB, free: 39.66 MB / 0.534 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.057e-06/14.22, allocations: 3.703 kB / 6.578 GB, free: 39.66 MB / 0.534 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.004969/14.22, allocations: 2.466 MB / 6.58 GB, free: 39.43 MB / 0.534 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001117/14.23, allocations: 428.9 kB / 6.581 GB, free: 39.25 MB / 0.534 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005091/14.23, allocations: 10.62 kB / 6.581 GB, free: 39.25 MB / 0.534 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001374/14.23, allocations: 96.94 kB / 6.581 GB, free: 39.25 MB / 0.534 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001427/14.23, allocations: 62.72 kB / 6.581 GB, free: 39.25 MB / 0.534 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001288/14.23, allocations: 55.7 kB / 6.581 GB, free: 39.24 MB / 0.534 GB Notification: Performance of sort global known variables: time 0.001393/14.23, allocations: 0.8432 MB / 6.582 GB, free: 39.13 MB / 0.534 GB Notification: Performance of remove unused functions: time 0.005908/14.23, allocations: 1.42 MB / 6.583 GB, free: 38.95 MB / 0.534 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (senTem1.T,con1.I.y,humDyn.vol.dynBal.medium.Xi[1],humDyn.vol.dynBal.medium.T,senTem2.T,con2.I.y) * Number of discrete variables: 5 ($whenCondition1,TSet.a,TSet.b,TSet.last,TSet.nextEvent) * Number of discrete states: 5 (TSet.last,TSet.nextEvent,TSet.b,TSet.a,$whenCondition1) * Top-level inputs: 0 Notification: Strong component statistics for simulation (104): * Single equations (assignments): 96 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(2,100.0%) 5,(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 1 {1 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.00527/14.24, allocations: 2.302 MB / 6.585 GB, free: 38.52 MB / 0.534 GB Notification: Performance of simCode: created initialization part: time 0.005663/14.25, allocations: 3.034 MB / 6.588 GB, free: 37.57 MB / 0.534 GB Notification: Performance of simCode: created event and clocks part: time 9.228e-06/14.25, allocations: 5.812 kB / 6.588 GB, free: 37.57 MB / 0.534 GB Notification: Performance of simCode: created simulation system equations: time 0.001965/14.25, allocations: 1.061 MB / 6.589 GB, free: 37.21 MB / 0.534 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004278/14.25, allocations: 0.7113 MB / 6.59 GB, free: 37.18 MB / 0.534 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007814/14.26, allocations: 2.756 MB / 6.593 GB, free: 36.57 MB / 0.534 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002191/14.26, allocations: 1.621 MB / 6.594 GB, free: 35.84 MB / 0.534 GB Notification: Performance of SimCode: time 8.82e-07/14.26, allocations: 0 / 6.594 GB, free: 35.84 MB / 0.534 GB Notification: Performance of Templates: time 0.1161/14.38, allocations: 58.32 MB / 6.651 GB, free: 1.301 MB / 0.534 GB make -j1 -f Buildings_1.6_Buildings.Fluid.MassExchangers.Examples.HumidifierPrescribed.makefile (rm -f Buildings_1.6_Buildings.Fluid.MassExchangers.Examples.HumidifierPrescribed.pipe ; mkfifo Buildings_1.6_Buildings.Fluid.MassExchangers.Examples.HumidifierPrescribed.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Fluid.MassExchangers.Examples.HumidifierPrescribed.pipe >> ../files/Buildings_1.6_Buildings.Fluid.MassExchangers.Examples.HumidifierPrescribed.sim & ./Buildings_1.6_Buildings.Fluid.MassExchangers.Examples.HumidifierPrescribed -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Fluid.MassExchangers.Examples.HumidifierPrescribed.pipe 2>&1)