Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X_dynamic.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.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.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X_dynamic,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_Humidifiers_Validation_SprayAirWasher_X_dynamic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X_dynamic,fileNamePrefix="Buildings_maint_8_0_x_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 8.0.1-maint.8.0.x/package.mo): time 1.38/1.38, allocations: 285.5 MB / 292.8 MB, free: 10.49 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.001042/0.001042, allocations: 181.3 kB / 361.1 MB, free: 7.121 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.132/1.132, allocations: 205.1 MB / 0.6195 GB, free: 10.33 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.0008161/0.0008161, allocations: 94.25 kB / 0.7326 GB, free: 44.19 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2003/0.2011, allocations: 121.4 MB / 0.8511 GB, free: 2.836 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4828/0.6839, allocations: 115.3 MB / 0.9637 GB, free: 78.01 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.269/3.953, allocations: 2.08 GB / 3.044 GB, free: 74.98 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002417/3.953, allocations: 87.95 kB / 3.044 GB, free: 74.9 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: 97 * Number of variables: 97 Notification: Performance of Generate backend data structure: time 2.926/6.879, allocations: 0.9684 GB / 4.013 GB, free: 194.5 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.287e-05/6.879, allocations: 9.219 kB / 4.013 GB, free: 194.5 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00126/6.881, allocations: 236.6 kB / 4.013 GB, free: 194.4 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002279/6.883, allocations: 0.8761 MB / 4.014 GB, free: 193.8 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.819e-05/6.883, allocations: 15.41 kB / 4.014 GB, free: 193.8 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.913e-05/6.883, allocations: 28.98 kB / 4.014 GB, free: 193.8 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006446/6.884, allocations: 372.2 kB / 4.014 GB, free: 193.6 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006423/6.884, allocations: 432.8 kB / 4.014 GB, free: 193.4 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.504e-05/6.884, allocations: 4.422 kB / 4.014 GB, free: 193.4 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.007e-05/6.884, allocations: 7.266 kB / 4.014 GB, free: 193.4 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.521e-05/6.885, allocations: 20.22 kB / 4.014 GB, free: 193.4 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002561/6.887, allocations: 2.251 MB / 4.017 GB, free: 191.4 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003166/6.887, allocations: 232 kB / 4.017 GB, free: 191.2 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001437/6.888, allocations: 124.8 kB / 4.017 GB, free: 191.1 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008566/6.888, allocations: 0.8248 MB / 4.018 GB, free: 190.1 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002109/6.889, allocations: 186.3 kB / 4.018 GB, free: 189.9 MB / 0.948 GB Notification: Performance of pre-optimization done (n=26): time 2.325e-06/6.889, allocations: 0 / 4.018 GB, free: 189.9 MB / 0.948 GB Notification: Performance of matching and sorting (n=26): time 0.0009777/6.89, allocations: 408.9 kB / 4.018 GB, free: 189.5 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.452e-05/6.89, allocations: 111 kB / 4.018 GB, free: 189.4 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004177/6.89, allocations: 458.2 kB / 4.019 GB, free: 188.9 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 2.866e-05/6.89, allocations: 29.55 kB / 4.019 GB, free: 188.9 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001118/6.89, allocations: 255 kB / 4.019 GB, free: 188.6 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 5.459e-05/6.89, allocations: 89.64 kB / 4.019 GB, free: 188.5 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.641e-05/6.89, allocations: 0 / 4.019 GB, free: 188.5 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 8.41e-05/6.89, allocations: 366.8 kB / 4.02 GB, free: 188.2 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001402/6.891, allocations: 100.8 kB / 4.02 GB, free: 188.1 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002243/6.891, allocations: 295.9 kB / 4.02 GB, free: 187.7 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004197/6.891, allocations: 227 kB / 4.02 GB, free: 187.5 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/6.891, allocations: 0 / 4.02 GB, free: 187.5 MB / 0.948 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0007472/6.892, allocations: 487.4 kB / 4.021 GB, free: 187 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002833/6.892, allocations: 1.828 MB / 4.022 GB, free: 185.1 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.806e-06/6.892, allocations: 15.62 kB / 4.022 GB, free: 185.1 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.689e-05/6.892, allocations: 8 kB / 4.022 GB, free: 185 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003253/6.893, allocations: 83.83 kB / 4.023 GB, free: 185 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.06e-05/6.893, allocations: 4 kB / 4.023 GB, free: 185 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003713/6.893, allocations: 49.52 kB / 4.023 GB, free: 184.9 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.675e-05/6.893, allocations: 27.98 kB / 4.023 GB, free: 184.9 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 5.36e-06/6.893, allocations: 4 kB / 4.023 GB, free: 184.9 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006535/6.894, allocations: 395.8 kB / 4.023 GB, free: 184.5 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.029e-06/6.894, allocations: 10.42 kB / 4.023 GB, free: 184.5 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.221e-06/6.894, allocations: 8 kB / 4.023 GB, free: 184.5 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003031/6.894, allocations: 75.91 kB / 4.023 GB, free: 184.4 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.394e-06/6.894, allocations: 15.92 kB / 4.023 GB, free: 184.4 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003051/6.894, allocations: 38.11 kB / 4.023 GB, free: 184.4 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.54e-05/6.895, allocations: 20 kB / 4.023 GB, free: 184.3 MB / 0.948 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 (47): * Single equations (assignments): 47 * 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.000103/6.895, allocations: 141.5 kB / 4.023 GB, free: 184.2 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.165e-05/6.895, allocations: 51.34 kB / 4.023 GB, free: 184.2 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006864/6.895, allocations: 363.5 kB / 4.024 GB, free: 183.8 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.021e-06/6.895, allocations: 7.984 kB / 4.024 GB, free: 183.8 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.631e-06/6.895, allocations: 0 / 4.024 GB, free: 183.8 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.34e-06/6.895, allocations: 0 / 4.024 GB, free: 183.8 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001473/6.897, allocations: 1.168 MB / 4.025 GB, free: 182.6 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.278e-06/6.897, allocations: 4 kB / 4.025 GB, free: 182.6 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002425/6.897, allocations: 43.91 kB / 4.025 GB, free: 182.5 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.28e-06/6.897, allocations: 4 kB / 4.025 GB, free: 182.5 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.429e-05/6.897, allocations: 7.906 kB / 4.025 GB, free: 182.5 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.48e-06/6.897, allocations: 14.98 kB / 4.025 GB, free: 182.5 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.528e-06/6.897, allocations: 4 kB / 4.025 GB, free: 182.5 MB / 0.948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0009023/6.898, allocations: 0.7686 MB / 4.026 GB, free: 181.6 MB / 0.948 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001316/6.899, allocations: 1.365 MB / 4.027 GB, free: 180.2 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001728/6.9, allocations: 160.4 kB / 4.027 GB, free: 180 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.986e-05/6.9, allocations: 11.98 kB / 4.027 GB, free: 180 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002694/6.9, allocations: 7.938 kB / 4.027 GB, free: 180 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.806e-05/6.9, allocations: 24.53 kB / 4.027 GB, free: 180 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.173e-05/6.9, allocations: 14.28 kB / 4.027 GB, free: 180 MB / 0.948 GB Notification: Performance of sort global known variables: time 0.000334/6.9, allocations: 350.9 kB / 4.028 GB, free: 179.6 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.003063/6.904, allocations: 0.7219 MB / 4.028 GB, free: 178.9 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 1 (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 (27): * Single equations (assignments): 25 * 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.002565/6.906, allocations: 1.789 MB / 4.03 GB, free: 177.5 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0007616/6.907, allocations: 484.7 kB / 4.03 GB, free: 177.1 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 4.839e-06/6.907, allocations: 3.438 kB / 4.03 GB, free: 177.1 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001951/6.907, allocations: 127.8 kB / 4.031 GB, free: 176.9 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001059/6.908, allocations: 209.5 kB / 4.031 GB, free: 176.8 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004515/6.913, allocations: 1.578 MB / 4.032 GB, free: 175.2 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005482/6.913, allocations: 0.9673 MB / 4.033 GB, free: 174.2 MB / 0.948 GB Notification: Performance of SimCode: time 1.142e-06/6.913, allocations: 0 / 4.033 GB, free: 174.2 MB / 0.948 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X_dynamic.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X_dynamic.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X_dynamic.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X_dynamic.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_Humidifiers_Validation_SprayAirWasher_X_dynamic_fmu --startTime=0 --stopTime=1080 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_Humidifiers_Validation_SprayAirWasher_X_dynamic.fmu > Buildings_maint.8.0.x_Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X_dynamic.pipe 2>&1)