Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_3.0.0_Buildings.Fluid.MassExchangers.Examples.Humidifier_u.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo", uses=false) Using package Modelica_StateGraph2 with version 2.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo) 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 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/package.mo) Running command: translateModel(Buildings.Fluid.MassExchangers.Examples.Humidifier_u,tolerance=1e-05,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.MassExchangers.Examples.Humidifier_u") translateModel(Buildings.Fluid.MassExchangers.Examples.Humidifier_u,tolerance=1e-05,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.MassExchangers.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 3.0.0/package.mo): time 0.7478/0.7478, allocations: 132.4 MB / 139.7 MB, free: 15.52 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001326/0.001326, allocations: 168.6 kB / 171.6 MB, free: 2.02 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.417/1.417, allocations: 170.5 MB / 373.9 MB, free: 15.88 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.00172/0.00172, allocations: 116 kB / 444.4 MB, free: 9.426 MB / 346.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:257:38-257:110:writable] Warning: The file was not encoded in UTF-8: "

An important practical aspect of state machines is the abilit...". Defaulting to 7-bit ASCII with unknown characters replaced by '?'. To change encoding when loading a file: loadFile(encoding="ISO-XXXX-YY"). To change it in a package: add a file package.encoding at the top-level. Note: The Modelica Language Specification only allows files encoded in UTF-8. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:761:36-761:108:writable] Warning: The file was not encoded in UTF-8: "

The Modelica_StateGraph2 library is described in detail in (O...". Defaulting to 7-bit ASCII with unknown characters replaced by '?'. To change encoding when loading a file: loadFile(encoding="ISO-XXXX-YY"). To change it in a package: add a file package.encoding at the top-level. Note: The Modelica Language Specification only allows files encoded in UTF-8. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:1435:36-1435:108:writable] Warning: The file was not encoded in UTF-8: "

Main Authors:
SCode: time 0.49/0.49, allocations: 73.4 MB / 0.666 GB, free: 62.26 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.627/5.117, allocations: 2.146 GB / 2.812 GB, free: 45.21 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003134/5.118, allocations: 91.94 kB / 2.812 GB, free: 45.12 MB / 0.6198 GB Notification: Performance of FrontEnd: time 3.984/9.102, allocations: 0.9945 GB / 3.807 GB, free: 0.8945 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 0.0003372/9.102, allocations: 47.98 kB / 3.807 GB, free: 0.8477 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 333 * Number of variables: 333 Notification: Performance of Generate backend data structure: time 0.4015/9.504, allocations: 2.212 MB / 3.809 GB, free: 124.1 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.716e-05/9.504, allocations: 10.03 kB / 3.809 GB, free: 124.1 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004484/9.508, allocations: 0.6155 MB / 3.81 GB, free: 124 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004295/9.513, allocations: 1.603 MB / 3.811 GB, free: 123.7 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.508e-05/9.513, allocations: 43.28 kB / 3.811 GB, free: 123.7 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002136/9.513, allocations: 88 kB / 3.811 GB, free: 123.7 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002062/9.515, allocations: 1.09 MB / 3.812 GB, free: 123.7 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002186/9.517, allocations: 1.296 MB / 3.814 GB, free: 123.5 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.118e-05/9.517, allocations: 0 / 3.814 GB, free: 123.5 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001321/9.517, allocations: 3.969 kB / 3.814 GB, free: 123.5 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.658e-05/9.518, allocations: 47.58 kB / 3.814 GB, free: 123.5 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008493/9.526, allocations: 5.338 MB / 3.819 GB, free: 121.8 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001064/9.527, allocations: 0.7516 MB / 3.82 GB, free: 121.7 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000554/9.528, allocations: 407 kB / 3.82 GB, free: 121.7 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004255/9.528, allocations: 276.1 kB / 3.82 GB, free: 121.5 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007321/9.529, allocations: 0.6044 MB / 3.821 GB, free: 121.3 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=78): time 4.809e-06/9.529, allocations: 2.906 kB / 3.821 GB, free: 121.3 MB / 0.6355 GB Notification: Performance of matching and sorting (n=78): time 0.003385/9.532, allocations: 1.11 MB / 3.822 GB, free: 121.2 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001208/9.532, allocations: 478.9 kB / 3.822 GB, free: 120.6 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001295/9.534, allocations: 0.9295 MB / 3.823 GB, free: 120.4 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 9.999e-05/9.534, allocations: 32.45 kB / 3.823 GB, free: 120.4 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004352/9.534, allocations: 0.5691 MB / 3.824 GB, free: 120.2 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002548/9.535, allocations: 255.8 kB / 3.824 GB, free: 120 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.581e-05/9.535, allocations: 3.938 kB / 3.824 GB, free: 120 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 9.185e-05/9.535, allocations: 342.4 kB / 3.824 GB, free: 119.7 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004961/9.535, allocations: 344.7 kB / 3.825 GB, free: 119.7 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007786/9.536, allocations: 0.6458 MB / 3.825 GB, free: 119.4 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008547/9.537, allocations: 482.2 kB / 3.826 GB, free: 119.4 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.36e-06/9.537, allocations: 6.125 kB / 3.826 GB, free: 119.4 MB / 0.6355 GB Notification: Performance of matching and sorting (n=112) (initialization): time 0.00249/9.539, allocations: 1.18 MB / 3.827 GB, free: 119.3 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003804/9.54, allocations: 1.51 MB / 3.828 GB, free: 117.7 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.74e-05/9.54, allocations: 6.625 kB / 3.828 GB, free: 117.7 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002432/9.54, allocations: 69.39 kB / 3.829 GB, free: 117.7 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009068/9.541, allocations: 191 kB / 3.829 GB, free: 117.7 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004108/9.541, allocations: 0.5938 MB / 3.829 GB, free: 117.2 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001691/9.543, allocations: 159.6 kB / 3.829 GB, free: 117.2 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001033/9.543, allocations: 39.34 kB / 3.829 GB, free: 117.2 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.008e-05/9.543, allocations: 3.531 kB / 3.829 GB, free: 117.2 MB / 0.6355 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001738/9.545, allocations: 1.023 MB / 3.83 GB, free: 117.1 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.264e-06/9.545, allocations: 3.25 kB / 3.83 GB, free: 117.1 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001067/9.545, allocations: 38.45 kB / 3.831 GB, free: 117.1 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008582/9.546, allocations: 200.1 kB / 3.831 GB, free: 117.1 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001168/9.547, allocations: 1.424 MB / 3.832 GB, free: 115.8 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001516/9.549, allocations: 130.7 kB / 3.832 GB, free: 115.8 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.243e-05/9.549, allocations: 42.25 kB / 3.832 GB, free: 115.8 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * 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 (104): * Single equations (assignments): 100 * Array equations: 0 * Algorithm blocks: 3 * 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.0003485/9.549, allocations: 165.5 kB / 3.832 GB, free: 115.6 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002589/9.549, allocations: 148.6 kB / 3.833 GB, free: 115.6 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002379/9.552, allocations: 1.024 MB / 3.834 GB, free: 115.5 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.023e-05/9.552, allocations: 10.72 kB / 3.834 GB, free: 115.5 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.514e-06/9.552, allocations: 0 / 3.834 GB, free: 115.5 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00186/9.554, allocations: 0.9216 MB / 3.834 GB, free: 115.3 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004889/9.559, allocations: 2.379 MB / 3.837 GB, free: 114.8 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.242e-06/9.559, allocations: 3.938 kB / 3.837 GB, free: 114.8 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009722/9.56, allocations: 162.7 kB / 3.837 GB, free: 114.8 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001944/9.56, allocations: 48.75 kB / 3.837 GB, free: 114.8 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.392e-05/9.56, allocations: 13.75 kB / 3.837 GB, free: 114.8 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002064/9.562, allocations: 1.541 MB / 3.839 GB, free: 113.5 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.639e-06/9.562, allocations: 3.75 kB / 3.839 GB, free: 113.5 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00293/9.565, allocations: 1.668 MB / 3.84 GB, free: 113.2 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007762/9.566, allocations: 344.4 kB / 3.84 GB, free: 113 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002333/9.566, allocations: 9.406 kB / 3.84 GB, free: 113 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001153/9.567, allocations: 94.98 kB / 3.841 GB, free: 113 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001136/9.567, allocations: 45.02 kB / 3.841 GB, free: 113 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.648e-05/9.567, allocations: 30.92 kB / 3.841 GB, free: 113 MB / 0.6355 GB Notification: Performance of sort global known variables: time 0.001095/9.568, allocations: 0.706 MB / 3.841 GB, free: 112.9 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.003819/9.572, allocations: 0.9721 MB / 3.842 GB, free: 112.8 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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: 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 (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.005539/9.578, allocations: 2.577 MB / 3.845 GB, free: 112.1 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.003055/9.581, allocations: 1.654 MB / 3.846 GB, free: 111.7 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 7.945e-06/9.581, allocations: 6.219 kB / 3.846 GB, free: 111.7 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0006675/9.582, allocations: 0.5423 MB / 3.847 GB, free: 111.6 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003342/9.585, allocations: 0.6164 MB / 3.848 GB, free: 111.6 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006998/9.592, allocations: 2.555 MB / 3.85 GB, free: 111 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001165/9.593, allocations: 1.502 MB / 3.852 GB, free: 110.3 MB / 0.6355 GB Notification: Performance of SimCode: time 1.352e-06/9.593, allocations: 0 / 3.852 GB, free: 110.3 MB / 0.6355 GB Notification: Performance of Templates: time 0.07723/9.67, allocations: 44.7 MB / 3.895 GB, free: 109.4 MB / 0.6355 GB make -j1 -f Buildings_3.0.0_Buildings.Fluid.MassExchangers.Examples.Humidifier_u.makefile (rm -f Buildings_3.0.0_Buildings.Fluid.MassExchangers.Examples.Humidifier_u.pipe ; mkfifo Buildings_3.0.0_Buildings.Fluid.MassExchangers.Examples.Humidifier_u.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Fluid.MassExchangers.Examples.Humidifier_u.pipe >> ../files/Buildings_3.0.0_Buildings.Fluid.MassExchangers.Examples.Humidifier_u.sim & ./Buildings_3.0.0_Buildings.Fluid.MassExchangers.Examples.Humidifier_u -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Fluid.MassExchangers.Examples.Humidifier_u.pipe 2>&1)