Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Humidifiers.Examples.Humidifier_u.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Humidifiers.Examples.Humidifier_u,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_Humidifiers_Examples_Humidifier_u",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Humidifiers.Examples.Humidifier_u,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_Humidifiers_Examples_Humidifier_u",fmuType="me",version="2.0",platforms={"static"}) [: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.0/package.mo): time 2.826/2.826, allocations: 284.8 MB / 292.1 MB, free: 1.105 MB / 226.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002101/0.0021, allocations: 182.9 kB / 360.3 MB, free: 15.53 MB / 290.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.767/1.767, allocations: 205.1 MB / 0.6187 GB, free: 6.305 MB / 466.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001229/0.001228, allocations: 95.5 kB / 0.7317 GB, free: 47.09 MB / 0.5183 GB Notification: Performance of FrontEnd - loaded program: time 0.2854/0.2867, allocations: 121.4 MB / 0.8502 GB, free: 13.31 MB / 0.5964 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6939/0.9806, allocations: 115.2 MB / 0.9627 GB, free: 86.13 MB / 0.6746 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.023/6.004, allocations: 2.086 GB / 3.049 GB, free: 5.844 MB / 0.9402 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002697/6.004, allocations: 83.55 kB / 3.049 GB, free: 5.805 MB / 0.9402 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 5.511/11.51, allocations: 1.038 GB / 4.087 GB, free: 40.56 MB / 0.9402 GB Notification: Performance of prepare preOptimizeDAE: time 6.054e-05/11.51, allocations: 8 kB / 4.087 GB, free: 40.55 MB / 0.9402 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01034/11.52, allocations: 0.6337 MB / 4.088 GB, free: 39.91 MB / 0.9402 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008707/11.53, allocations: 1.466 MB / 4.089 GB, free: 38.4 MB / 0.9402 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007558/11.53, allocations: 122.3 kB / 4.09 GB, free: 38.28 MB / 0.9402 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005413/11.54, allocations: 79.91 kB / 4.09 GB, free: 38.2 MB / 0.9402 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003822/11.54, allocations: 1.02 MB / 4.091 GB, free: 37.18 MB / 0.9402 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004109/11.54, allocations: 1.223 MB / 4.092 GB, free: 35.88 MB / 0.9402 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.577e-05/11.54, allocations: 3.938 kB / 4.092 GB, free: 35.88 MB / 0.9402 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002059/11.54, allocations: 7.984 kB / 4.092 GB, free: 35.87 MB / 0.9402 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.014e-05/11.54, allocations: 46.27 kB / 4.092 GB, free: 35.82 MB / 0.9402 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01489/11.56, allocations: 6.133 MB / 4.098 GB, free: 29.39 MB / 0.9402 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001358/11.56, allocations: 0.5399 MB / 4.098 GB, free: 28.84 MB / 0.9402 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009657/11.56, allocations: 450.8 kB / 4.099 GB, free: 28.4 MB / 0.9402 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008885/11.56, allocations: 482.1 kB / 4.099 GB, free: 27.84 MB / 0.9402 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001115/11.56, allocations: 0.5039 MB / 4.1 GB, free: 27.32 MB / 0.9402 GB Notification: Performance of pre-optimization done (n=79): time 3.466e-06/11.56, allocations: 0 / 4.1 GB, free: 27.32 MB / 0.9402 GB Notification: Performance of matching and sorting (n=79): time 0.004879/11.57, allocations: 1.12 MB / 4.101 GB, free: 26.19 MB / 0.9402 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.934e-05/11.57, allocations: 192.6 kB / 4.101 GB, free: 25.96 MB / 0.9402 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002119/11.57, allocations: 0.9334 MB / 4.102 GB, free: 25.02 MB / 0.9402 GB Notification: Performance of collectPreVariables (initialization): time 0.0003377/11.57, allocations: 29.7 kB / 4.102 GB, free: 24.98 MB / 0.9402 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005109/11.57, allocations: 0.5048 MB / 4.103 GB, free: 24.47 MB / 0.9402 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003901/11.57, allocations: 264.1 kB / 4.103 GB, free: 24.21 MB / 0.9402 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.877e-05/11.57, allocations: 0 / 4.103 GB, free: 24.21 MB / 0.9402 GB Notification: Performance of setup shared object (initialization): time 8.884e-05/11.57, allocations: 337.9 kB / 4.103 GB, free: 23.87 MB / 0.9402 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008582/11.57, allocations: 333.9 kB / 4.103 GB, free: 23.55 MB / 0.9402 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00105/11.57, allocations: 0.5758 MB / 4.104 GB, free: 22.87 MB / 0.9402 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001489/11.57, allocations: 466.9 kB / 4.104 GB, free: 22.41 MB / 0.9402 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.378e-06/11.57, allocations: 7.938 kB / 4.104 GB, free: 22.41 MB / 0.9402 GB Notification: Performance of matching and sorting (n=104) (initialization): time 0.003602/11.58, allocations: 1.106 MB / 4.106 GB, free: 21.29 MB / 0.9402 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003565/11.58, allocations: 1.694 MB / 4.107 GB, free: 19.5 MB / 0.9402 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.464e-05/11.58, allocations: 8 kB / 4.107 GB, free: 19.5 MB / 0.9402 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002503/11.58, allocations: 40.84 kB / 4.107 GB, free: 19.45 MB / 0.9402 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001955/11.58, allocations: 215.7 kB / 4.107 GB, free: 19.24 MB / 0.9402 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006177/11.58, allocations: 0.6029 MB / 4.108 GB, free: 18.61 MB / 0.9402 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003122/11.59, allocations: 159.3 kB / 4.108 GB, free: 18.46 MB / 0.9402 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003443/11.59, allocations: 44.05 kB / 4.108 GB, free: 18.41 MB / 0.9402 GB Notification: Performance of prepare postOptimizeDAE: time 1.576e-05/11.59, allocations: 4 kB / 4.108 GB, free: 18.41 MB / 0.9402 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003159/11.59, allocations: 0.919 MB / 4.109 GB, free: 17.48 MB / 0.9402 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.752e-05/11.59, allocations: 11.84 kB / 4.109 GB, free: 17.47 MB / 0.9402 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00024/11.59, allocations: 44.83 kB / 4.109 GB, free: 17.43 MB / 0.9402 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001944/11.59, allocations: 215.9 kB / 4.109 GB, free: 17.21 MB / 0.9402 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001791/11.59, allocations: 1.462 MB / 4.111 GB, free: 15.64 MB / 0.9402 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003194/11.6, allocations: 155.4 kB / 4.111 GB, free: 15.48 MB / 0.9402 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003117/11.6, allocations: 40.05 kB / 4.111 GB, free: 15.45 MB / 0.9402 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.0004393/11.6, allocations: 164.4 kB / 4.111 GB, free: 15.28 MB / 0.9402 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005596/11.6, allocations: 150.2 kB / 4.111 GB, free: 15.13 MB / 0.9402 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003644/11.6, allocations: 1.054 MB / 4.112 GB, free: 14.05 MB / 0.9402 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.546e-05/11.6, allocations: 8 kB / 4.112 GB, free: 14.05 MB / 0.9402 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.09e-06/11.6, allocations: 3.938 kB / 4.112 GB, free: 14.04 MB / 0.9402 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002592/11.6, allocations: 0.9445 MB / 4.113 GB, free: 13.06 MB / 0.9402 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007714/11.61, allocations: 2.539 MB / 4.116 GB, free: 10.44 MB / 0.9402 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.431e-05/11.61, allocations: 7.984 kB / 4.116 GB, free: 10.43 MB / 0.9402 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001958/11.61, allocations: 196 kB / 4.116 GB, free: 10.24 MB / 0.9402 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001882/11.61, allocations: 36.84 kB / 4.116 GB, free: 10.2 MB / 0.9402 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001317/11.61, allocations: 15.98 kB / 4.116 GB, free: 10.19 MB / 0.9402 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005219/11.61, allocations: 0.5913 MB / 4.117 GB, free: 9.57 MB / 0.9402 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.071e-06/11.61, allocations: 8.062 kB / 4.117 GB, free: 9.562 MB / 0.9402 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.004506/11.62, allocations: 1.831 MB / 4.118 GB, free: 7.613 MB / 0.9402 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.006111/11.63, allocations: 2.887 MB / 4.121 GB, free: 4.609 MB / 0.9402 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001362/11.63, allocations: 343 kB / 4.122 GB, free: 4.254 MB / 0.9402 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000499/11.63, allocations: 15.89 kB / 4.122 GB, free: 4.238 MB / 0.9402 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002593/11.63, allocations: 127.8 kB / 4.122 GB, free: 4.113 MB / 0.9402 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001927/11.63, allocations: 48.5 kB / 4.122 GB, free: 4.066 MB / 0.9402 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001371/11.63, allocations: 31.98 kB / 4.122 GB, free: 4.035 MB / 0.9402 GB Notification: Performance of sort global known variables: time 0.001593/11.63, allocations: 0.7111 MB / 4.122 GB, free: 3.324 MB / 0.9402 GB Notification: Performance of remove unused functions: time 0.008276/11.64, allocations: 1.58 MB / 4.124 GB, free: 1.742 MB / 0.9402 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.005816/11.65, allocations: 2.642 MB / 4.127 GB, free: 14.92 MB / 0.9558 GB Notification: Performance of simCode: created initialization part: time 0.00545/11.65, allocations: 1.528 MB / 4.128 GB, free: 13.36 MB / 0.9558 GB Notification: Performance of simCode: created event and clocks part: time 1.273e-05/11.65, allocations: 3.938 kB / 4.128 GB, free: 13.36 MB / 0.9558 GB Notification: Performance of simCode: created simulation system equations: time 0.001443/11.65, allocations: 0.4921 MB / 4.129 GB, free: 12.86 MB / 0.9558 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007014/11.66, allocations: 0.6682 MB / 4.129 GB, free: 12.2 MB / 0.9558 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01359/11.67, allocations: 2.553 MB / 4.132 GB, free: 9.566 MB / 0.9558 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002483/11.68, allocations: 1.493 MB / 4.133 GB, free: 8.043 MB / 0.9558 GB Notification: Performance of SimCode: time 1.814e-06/11.68, allocations: 0 / 4.133 GB, free: 8.043 MB / 0.9558 GB (rm -f Buildings_8.0.0_Buildings.Fluid.Humidifiers.Examples.Humidifier_u.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Humidifiers.Examples.Humidifier_u.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Humidifiers.Examples.Humidifier_u.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Humidifiers.Examples.Humidifier_u.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_Humidifiers_Examples_Humidifier_u_fmu --startTime=0 --stopTime=1200 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_Humidifiers_Examples_Humidifier_u.fmu > Buildings_8.0.0_Buildings.Fluid.Humidifiers.Examples.Humidifier_u.pipe 2>&1)