Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X_dynamic.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X_dynamic,fileNamePrefix="Buildings_9_Buildings_Fluid_Humidifiers_Validation_SprayAirWasher_X_dynamic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X_dynamic,fileNamePrefix="Buildings_9_Buildings_Fluid_Humidifiers_Validation_SprayAirWasher_X_dynamic",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 9.1.1-maint.9.1.x/package.mo): time 1.999/1.999, allocations: 387.2 MB / 394.5 MB, free: 13.25 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001094/0.001094, allocations: 180.8 kB / 487 MB, free: 0.6992 MB / 378.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.358/1.358, allocations: 221.4 MB / 0.7819 GB, free: 6.723 MB / 0.573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001072/0.001071, allocations: 91.38 kB / 0.9213 GB, free: 43.64 MB / 0.6198 GB Notification: Performance of FrontEnd - loaded program: time 0.3246/0.3257, allocations: 148.5 MB / 1.066 GB, free: 7.449 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8904/1.216, allocations: 142.3 MB / 1.205 GB, free: 72.55 MB / 0.7917 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.062/5.278, allocations: 1.886 GB / 3.091 GB, free: 181.6 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003757/5.278, allocations: 84.67 kB / 3.092 GB, free: 181.5 MB / 1.151 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 97 * Number of variables: 97 Notification: Performance of Generate backend data structure: time 3.065/8.344, allocations: 0.9758 GB / 4.067 GB, free: 67 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.012e-05/8.344, allocations: 12 kB / 4.067 GB, free: 66.99 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001266/8.345, allocations: 234.8 kB / 4.068 GB, free: 66.76 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002253/8.347, allocations: 0.8865 MB / 4.068 GB, free: 65.83 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.424e-05/8.347, allocations: 15.94 kB / 4.068 GB, free: 65.82 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.04e-05/8.347, allocations: 24 kB / 4.068 GB, free: 65.79 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005457/8.348, allocations: 333.5 kB / 4.069 GB, free: 65.47 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006194/8.349, allocations: 451.8 kB / 4.069 GB, free: 65 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.488e-05/8.349, allocations: 0 / 4.069 GB, free: 65 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.047e-05/8.349, allocations: 0 / 4.069 GB, free: 65 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.654e-05/8.349, allocations: 28.77 kB / 4.069 GB, free: 64.98 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002547/8.351, allocations: 2.26 MB / 4.071 GB, free: 62.54 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003083/8.352, allocations: 247.2 kB / 4.072 GB, free: 62.29 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001494/8.352, allocations: 128.8 kB / 4.072 GB, free: 62.16 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009228/8.353, allocations: 0.8261 MB / 4.073 GB, free: 61.17 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002353/8.353, allocations: 191.7 kB / 4.073 GB, free: 60.95 MB / 1.151 GB Notification: Performance of pre-optimization done (n=27): time 2.615e-06/8.353, allocations: 0 / 4.073 GB, free: 60.95 MB / 1.151 GB Notification: Performance of matching and sorting (n=27): time 0.001099/8.354, allocations: 415.6 kB / 4.073 GB, free: 60.54 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.627e-05/8.354, allocations: 107 kB / 4.073 GB, free: 60.41 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004578/8.354, allocations: 450.2 kB / 4.074 GB, free: 59.97 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 3.045e-05/8.355, allocations: 29.7 kB / 4.074 GB, free: 59.93 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001133/8.355, allocations: 247.7 kB / 4.074 GB, free: 59.69 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 6.151e-05/8.355, allocations: 98.69 kB / 4.074 GB, free: 59.59 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.78e-05/8.355, allocations: 3.938 kB / 4.074 GB, free: 59.59 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 9.585e-05/8.355, allocations: 362.8 kB / 4.074 GB, free: 59.22 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001496/8.355, allocations: 104.8 kB / 4.075 GB, free: 59.12 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002392/8.355, allocations: 300.2 kB / 4.075 GB, free: 58.75 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004412/8.356, allocations: 227.6 kB / 4.075 GB, free: 58.52 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.286e-06/8.356, allocations: 0 / 4.075 GB, free: 58.52 MB / 1.151 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.0007923/8.356, allocations: 493.6 kB / 4.075 GB, free: 58.04 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003708/8.357, allocations: 1.838 MB / 4.077 GB, free: 56.06 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.648e-06/8.357, allocations: 4.094 kB / 4.077 GB, free: 56.05 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.9e-05/8.357, allocations: 11.94 kB / 4.077 GB, free: 56.04 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003499/8.357, allocations: 91.83 kB / 4.077 GB, free: 55.95 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.202e-05/8.357, allocations: 7.938 kB / 4.077 GB, free: 55.95 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004171/8.358, allocations: 51.52 kB / 4.077 GB, free: 55.89 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.269e-05/8.358, allocations: 27.98 kB / 4.077 GB, free: 55.87 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 7.154e-06/8.358, allocations: 4 kB / 4.077 GB, free: 55.86 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006837/8.358, allocations: 395.4 kB / 4.078 GB, free: 55.48 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.041e-06/8.358, allocations: 8.562 kB / 4.078 GB, free: 55.47 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.072e-06/8.359, allocations: 4 kB / 4.078 GB, free: 55.46 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003245/8.359, allocations: 91.89 kB / 4.078 GB, free: 55.38 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.221e-06/8.359, allocations: 11.94 kB / 4.078 GB, free: 55.36 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003199/8.359, allocations: 31.73 kB / 4.078 GB, free: 55.33 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.759e-05/8.359, allocations: 24 kB / 4.078 GB, free: 55.31 MB / 1.151 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.XSet.nextTimeEvent,XSet.nextTimeEvent,$PRE.XSet.nextTimeEventScaled,XSet.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (49): * Single equations (assignments): 49 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001127/8.359, allocations: 128.5 kB / 4.078 GB, free: 55.18 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.707e-05/8.359, allocations: 63.23 kB / 4.078 GB, free: 55.12 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007379/8.36, allocations: 370.1 kB / 4.079 GB, free: 54.75 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.971e-06/8.36, allocations: 4 kB / 4.079 GB, free: 54.75 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.871e-06/8.36, allocations: 0 / 4.079 GB, free: 54.75 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.194e-06/8.36, allocations: 4 kB / 4.079 GB, free: 54.74 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001476/8.362, allocations: 1.177 MB / 4.08 GB, free: 53.49 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.517e-06/8.362, allocations: 4 kB / 4.08 GB, free: 53.49 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002508/8.362, allocations: 47.91 kB / 4.08 GB, free: 53.44 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.562e-06/8.362, allocations: 7.906 kB / 4.08 GB, free: 53.43 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.616e-05/8.362, allocations: 4.281 kB / 4.08 GB, free: 53.43 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.997e-06/8.362, allocations: 15.92 kB / 4.08 GB, free: 53.41 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.666e-06/8.362, allocations: 4 kB / 4.08 GB, free: 53.41 MB / 1.151 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0008707/8.363, allocations: 0.7813 MB / 4.081 GB, free: 52.53 MB / 1.151 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001269/8.364, allocations: 1.385 MB / 4.082 GB, free: 51.04 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002016/8.364, allocations: 164.3 kB / 4.082 GB, free: 50.86 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.618e-05/8.364, allocations: 4 kB / 4.082 GB, free: 50.86 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002693/8.365, allocations: 7.984 kB / 4.082 GB, free: 50.85 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.18e-05/8.365, allocations: 23.89 kB / 4.082 GB, free: 50.83 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.277e-05/8.365, allocations: 20.05 kB / 4.082 GB, free: 50.81 MB / 1.151 GB Notification: Performance of sort global known variables: time 0.0003297/8.365, allocations: 346.9 kB / 4.082 GB, free: 50.47 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.002964/8.368, allocations: 0.7219 MB / 4.083 GB, free: 49.75 MB / 1.151 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 2 (hum.outCon.T,hum.outCon.Xi) * Number of discrete variables: 3 ($whenCondition1,XSet.nextTimeEvent,XSet.nextTimeEventScaled) * Number of discrete states: 2 (XSet.nextTimeEvent,XSet.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (28): * Single equations (assignments): 26 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00238/8.371, allocations: 1.79 MB / 4.085 GB, free: 47.99 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.000842/8.371, allocations: 491.9 kB / 4.085 GB, free: 47.51 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 3.597e-06/8.371, allocations: 0 / 4.085 GB, free: 47.51 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0001835/8.372, allocations: 134.1 kB / 4.086 GB, free: 47.38 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001069/8.373, allocations: 194.4 kB / 4.086 GB, free: 47.2 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004179/8.377, allocations: 1.654 MB / 4.087 GB, free: 45.49 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000448/8.377, allocations: 0.9686 MB / 4.088 GB, free: 44.49 MB / 1.151 GB Notification: Performance of SimCode: time 9.12e-07/8.377, allocations: 0 / 4.088 GB, free: 44.49 MB / 1.151 GB (rm -f Buildings_9_Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X_dynamic.pipe ; mkfifo Buildings_9_Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X_dynamic.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X_dynamic.pipe >> ../files/Buildings_9_Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X_dynamic.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X_dynamic_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_Humidifiers_Validation_SprayAirWasher_X_dynamic_fmu --startTime=0 --stopTime=1080 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_Humidifiers_Validation_SprayAirWasher_X_dynamic.fmu > Buildings_9_Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X_dynamic.pipe 2>&1)