Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Humidifiers.Examples.Humidifier_u.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Humidifiers.Examples.Humidifier_u,fileNamePrefix="Buildings_8_Buildings_Fluid_Humidifiers_Examples_Humidifier_u",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Humidifiers.Examples.Humidifier_u,fileNamePrefix="Buildings_8_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.1.4-maint.8.1.x/package.mo): time 1.746/1.746, allocations: 289.8 MB / 297.1 MB, free: 6.66 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.001099/0.001099, allocations: 179.9 kB / 366.3 MB, free: 1.996 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.597/1.597, allocations: 205.1 MB / 0.6256 GB, free: 5.832 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.0009379/0.000938, allocations: 86.95 kB / 0.7395 GB, free: 39.66 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2747/0.2757, allocations: 122.4 MB / 0.8591 GB, free: 13.27 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6607/0.9364, allocations: 116.3 MB / 0.9726 GB, free: 68.71 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.039/5.975, allocations: 2.087 GB / 3.06 GB, free: 351.6 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003625/5.976, allocations: 85.69 kB / 3.06 GB, free: 351.6 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 3.176/9.152, allocations: 1.038 GB / 4.098 GB, free: 5.379 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.788e-05/9.152, allocations: 8 kB / 4.098 GB, free: 5.371 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004272/9.156, allocations: 0.6337 MB / 4.099 GB, free: 4.734 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003571/9.159, allocations: 1.47 MB / 4.101 GB, free: 3.211 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003683/9.16, allocations: 134.3 kB / 4.101 GB, free: 3.078 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002361/9.16, allocations: 83.83 kB / 4.101 GB, free: 2.996 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002011/9.162, allocations: 1.012 MB / 4.102 GB, free: 1.98 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001871/9.164, allocations: 1.235 MB / 4.103 GB, free: 0.6719 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.865e-05/9.164, allocations: 3.938 kB / 4.103 GB, free: 0.668 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001108/9.164, allocations: 0 / 4.103 GB, free: 0.668 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.53e-05/9.164, allocations: 46.25 kB / 4.103 GB, free: 0.6211 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01159/9.176, allocations: 6.13 MB / 4.109 GB, free: 10.19 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009427/9.177, allocations: 0.5342 MB / 4.109 GB, free: 9.648 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007486/9.178, allocations: 452.5 kB / 4.11 GB, free: 9.207 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008771/9.178, allocations: 474.1 kB / 4.11 GB, free: 8.652 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00094/9.179, allocations: 0.5038 MB / 4.111 GB, free: 8.129 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=79): time 3.236e-06/9.179, allocations: 4 kB / 4.111 GB, free: 8.125 MB / 0.9636 GB Notification: Performance of matching and sorting (n=79): time 0.003738/9.183, allocations: 1.116 MB / 4.112 GB, free: 6.996 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001143/9.183, allocations: 192.6 kB / 4.112 GB, free: 6.766 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001791/9.185, allocations: 0.9373 MB / 4.113 GB, free: 5.82 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 0.0001439/9.185, allocations: 25.7 kB / 4.113 GB, free: 5.789 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.000627/9.186, allocations: 0.5049 MB / 4.114 GB, free: 5.277 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003381/9.186, allocations: 260.1 kB / 4.114 GB, free: 5.02 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.858e-05/9.186, allocations: 0 / 4.114 GB, free: 5.02 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.0001582/9.187, allocations: 341.9 kB / 4.114 GB, free: 4.68 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000647/9.187, allocations: 329.9 kB / 4.114 GB, free: 4.359 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007793/9.188, allocations: 0.5826 MB / 4.115 GB, free: 3.676 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001006/9.189, allocations: 466.5 kB / 4.115 GB, free: 3.223 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.478e-06/9.189, allocations: 0 / 4.115 GB, free: 3.223 MB / 0.9636 GB Notification: Performance of matching and sorting (n=104) (initialization): time 0.002491/9.191, allocations: 1.118 MB / 4.117 GB, free: 2.094 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 0.0009097/9.192, allocations: 1.693 MB / 4.118 GB, free: 316 kB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.391e-05/9.192, allocations: 12 kB / 4.118 GB, free: 304 kB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002089/9.193, allocations: 56.69 kB / 4.118 GB, free: 244 kB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001019/9.194, allocations: 199.8 kB / 4.118 GB, free: 44 kB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.5386/9.732, allocations: 0.6085 MB / 4.119 GB, free: 217.5 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002239/9.735, allocations: 162.4 kB / 4.119 GB, free: 217.5 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001502/9.735, allocations: 37.78 kB / 4.119 GB, free: 217.5 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.055e-05/9.735, allocations: 3.719 kB / 4.119 GB, free: 217.5 MB / 0.9636 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0017/9.736, allocations: 0.9195 MB / 4.12 GB, free: 217.5 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.063e-06/9.736, allocations: 3.188 kB / 4.12 GB, free: 217.5 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001465/9.737, allocations: 48.36 kB / 4.12 GB, free: 217.5 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009087/9.738, allocations: 211.2 kB / 4.12 GB, free: 217.5 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001198/9.739, allocations: 1.465 MB / 4.122 GB, free: 216.2 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001696/9.74, allocations: 163 kB / 4.122 GB, free: 216.2 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.26e-05/9.741, allocations: 39.22 kB / 4.122 GB, free: 216.2 MB / 0.9636 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.0002764/9.741, allocations: 158.3 kB / 4.122 GB, free: 216.1 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002379/9.741, allocations: 150.1 kB / 4.122 GB, free: 216.1 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002032/9.743, allocations: 1.051 MB / 4.123 GB, free: 216 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.933e-06/9.743, allocations: 7.406 kB / 4.123 GB, free: 216 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.558e-06/9.743, allocations: 6.594 kB / 4.123 GB, free: 216 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001323/9.745, allocations: 0.9375 MB / 4.124 GB, free: 215.9 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004418/9.749, allocations: 2.545 MB / 4.127 GB, free: 215.5 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.851e-06/9.749, allocations: 3.125 kB / 4.127 GB, free: 215.5 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009994/9.75, allocations: 191 kB / 4.127 GB, free: 215.5 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001183/9.75, allocations: 46.95 kB / 4.127 GB, free: 215.5 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.089e-05/9.75, allocations: 17.25 kB / 4.127 GB, free: 215.5 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003248/9.751, allocations: 0.5881 MB / 4.128 GB, free: 215 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.562e-06/9.751, allocations: 6.781 kB / 4.128 GB, free: 215 MB / 0.9636 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002803/9.753, allocations: 1.828 MB / 4.129 GB, free: 214.5 MB / 0.9636 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.004138/9.758, allocations: 2.895 MB / 4.132 GB, free: 213.7 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00103/9.759, allocations: 344.2 kB / 4.133 GB, free: 213.5 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002714/9.759, allocations: 9.719 kB / 4.133 GB, free: 213.5 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001309/9.76, allocations: 122.7 kB / 4.133 GB, free: 213.5 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001434/9.76, allocations: 49.28 kB / 4.133 GB, free: 213.5 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.008e-05/9.76, allocations: 29.53 kB / 4.133 GB, free: 213.5 MB / 0.9636 GB Notification: Performance of sort global known variables: time 0.00134/9.762, allocations: 0.7151 MB / 4.133 GB, free: 213.4 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0056/9.767, allocations: 1.576 MB / 4.135 GB, free: 213.3 MB / 0.9636 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.004512/9.772, allocations: 2.647 MB / 4.138 GB, free: 212.6 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.002815/9.775, allocations: 1.527 MB / 4.139 GB, free: 212.4 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 8.005e-06/9.775, allocations: 6.188 kB / 4.139 GB, free: 212.4 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.000684/9.775, allocations: 0.4885 MB / 4.14 GB, free: 212.3 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003787/9.779, allocations: 0.6603 MB / 4.14 GB, free: 212.3 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008094/9.787, allocations: 2.568 MB / 4.143 GB, free: 211.7 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001387/9.789, allocations: 1.499 MB / 4.144 GB, free: 211 MB / 0.9636 GB Notification: Performance of SimCode: time 2.495e-06/9.789, allocations: 2.625 kB / 4.144 GB, free: 211 MB / 0.9636 GB (rm -f Buildings_8_Buildings.Fluid.Humidifiers.Examples.Humidifier_u.pipe ; mkfifo Buildings_8_Buildings.Fluid.Humidifiers.Examples.Humidifier_u.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Humidifiers.Examples.Humidifier_u.pipe >> ../files/Buildings_8_Buildings.Fluid.Humidifiers.Examples.Humidifier_u.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_Humidifiers_Examples_Humidifier_u_fmu --startTime=0 --stopTime=1200 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_Humidifiers_Examples_Humidifier_u.fmu > Buildings_8_Buildings.Fluid.Humidifiers.Examples.Humidifier_u.pipe 2>&1)