Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X_dynamic.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.Validation.SprayAirWasher_X_dynamic,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_Humidifiers_Validation_SprayAirWasher_X_dynamic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X_dynamic,fileNamePrefix="Buildings_8_0_0_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.0/package.mo): time 2.709/2.709, allocations: 284.8 MB / 292.1 MB, free: 10.77 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.001859/0.001858, allocations: 189.2 kB / 360.3 MB, free: 7.527 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.03/2.03, allocations: 205.1 MB / 0.6187 GB, free: 13.29 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.001217/0.001216, allocations: 94.02 kB / 0.7317 GB, free: 45.14 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2998/0.3011, allocations: 121.4 MB / 0.8502 GB, free: 3.957 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6717/0.9728, allocations: 115.2 MB / 0.9627 GB, free: 78.78 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.233/6.206, allocations: 2.08 GB / 3.043 GB, free: 271.1 MB / 0.9323 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003021/6.206, allocations: 84.59 kB / 3.043 GB, free: 271.1 MB / 0.9323 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 4.437/10.64, allocations: 0.9684 GB / 4.011 GB, free: 79.6 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.427e-05/10.64, allocations: 8 kB / 4.011 GB, free: 79.59 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003363/10.65, allocations: 230.9 kB / 4.012 GB, free: 79.36 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005018/10.65, allocations: 0.8738 MB / 4.012 GB, free: 78.45 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.849e-05/10.65, allocations: 12 kB / 4.012 GB, free: 78.44 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001875/10.65, allocations: 31.98 kB / 4.012 GB, free: 78.41 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001529/10.65, allocations: 365.5 kB / 4.013 GB, free: 78.05 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001455/10.65, allocations: 438.9 kB / 4.013 GB, free: 77.6 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.757e-05/10.65, allocations: 0 / 4.013 GB, free: 77.6 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.066e-05/10.66, allocations: 7.906 kB / 4.013 GB, free: 77.59 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.289e-05/10.66, allocations: 12.78 kB / 4.013 GB, free: 77.58 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006013/10.66, allocations: 2.249 MB / 4.015 GB, free: 75.14 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007475/10.66, allocations: 242.6 kB / 4.016 GB, free: 74.89 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003749/10.66, allocations: 124.8 kB / 4.016 GB, free: 74.77 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002129/10.66, allocations: 0.8307 MB / 4.017 GB, free: 73.77 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005748/10.67, allocations: 190 kB / 4.017 GB, free: 73.56 MB / 0.948 GB Notification: Performance of pre-optimization done (n=26): time 4.359e-06/10.67, allocations: 3.938 kB / 4.017 GB, free: 73.56 MB / 0.948 GB Notification: Performance of matching and sorting (n=26): time 0.002657/10.67, allocations: 399.8 kB / 4.017 GB, free: 73.16 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.79e-05/10.67, allocations: 107 kB / 4.017 GB, free: 73.04 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001159/10.67, allocations: 462.2 kB / 4.018 GB, free: 72.58 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 9.497e-05/10.67, allocations: 29.7 kB / 4.018 GB, free: 72.54 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.000269/10.67, allocations: 255.6 kB / 4.018 GB, free: 72.29 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001391/10.67, allocations: 86.75 kB / 4.018 GB, free: 72.2 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.982e-05/10.67, allocations: 0 / 4.018 GB, free: 72.2 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001519/10.67, allocations: 366.8 kB / 4.018 GB, free: 71.84 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003801/10.67, allocations: 100.8 kB / 4.019 GB, free: 71.73 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005482/10.67, allocations: 300.3 kB / 4.019 GB, free: 71.35 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001217/10.67, allocations: 222.5 kB / 4.019 GB, free: 71.14 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.504e-06/10.67, allocations: 0 / 4.019 GB, free: 71.14 MB / 0.948 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.002101/10.67, allocations: 480.8 kB / 4.019 GB, free: 70.66 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004671/10.67, allocations: 1.833 MB / 4.021 GB, free: 68.68 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.801e-05/10.67, allocations: 4 kB / 4.021 GB, free: 68.68 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.516e-05/10.67, allocations: 8 kB / 4.021 GB, free: 68.67 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009832/10.68, allocations: 87.83 kB / 4.021 GB, free: 68.59 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.852e-05/10.68, allocations: 11.98 kB / 4.021 GB, free: 68.57 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001148/10.68, allocations: 47.58 kB / 4.021 GB, free: 68.53 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001024/10.68, allocations: 20 kB / 4.021 GB, free: 68.51 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.54e-05/10.68, allocations: 4 kB / 4.021 GB, free: 68.5 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00186/10.68, allocations: 402.2 kB / 4.022 GB, free: 68.11 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.152e-05/10.68, allocations: 8 kB / 4.022 GB, free: 68.11 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.849e-05/10.68, allocations: 8 kB / 4.022 GB, free: 68.1 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000822/10.68, allocations: 83.83 kB / 4.022 GB, free: 68.02 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.292e-05/10.68, allocations: 4 kB / 4.022 GB, free: 68.01 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001022/10.68, allocations: 43.95 kB / 4.022 GB, free: 67.97 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001046/10.68, allocations: 23.98 kB / 4.022 GB, free: 67.95 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.0002508/10.68, allocations: 120.8 kB / 4.022 GB, free: 67.82 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002136/10.68, allocations: 59.25 kB / 4.022 GB, free: 67.76 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001906/10.68, allocations: 374.1 kB / 4.023 GB, free: 67.39 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.083e-05/10.68, allocations: 4 kB / 4.023 GB, free: 67.38 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.016e-05/10.68, allocations: 0 / 4.023 GB, free: 67.38 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.588e-06/10.68, allocations: 7.938 kB / 4.023 GB, free: 67.38 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003558/10.69, allocations: 1.161 MB / 4.024 GB, free: 66.14 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.564e-06/10.69, allocations: 4.125 kB / 4.024 GB, free: 66.14 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005978/10.69, allocations: 47.86 kB / 4.024 GB, free: 66.09 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.424e-05/10.69, allocations: 4 kB / 4.024 GB, free: 66.09 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.274e-05/10.69, allocations: 7.984 kB / 4.024 GB, free: 66.08 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.817e-06/10.69, allocations: 4 kB / 4.024 GB, free: 66.07 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.267e-06/10.69, allocations: 11.94 kB / 4.024 GB, free: 66.06 MB / 0.948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002214/10.69, allocations: 0.7757 MB / 4.025 GB, free: 65.2 MB / 0.948 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.003152/10.69, allocations: 1.359 MB / 4.026 GB, free: 63.73 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005109/10.69, allocations: 164.2 kB / 4.026 GB, free: 63.55 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001904/10.69, allocations: 4 kB / 4.026 GB, free: 63.55 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000769/10.7, allocations: 15.98 kB / 4.026 GB, free: 63.54 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001116/10.7, allocations: 19.98 kB / 4.026 GB, free: 63.52 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.759e-05/10.7, allocations: 23.89 kB / 4.026 GB, free: 63.49 MB / 0.948 GB Notification: Performance of sort global known variables: time 0.000871/10.7, allocations: 346.9 kB / 4.026 GB, free: 63.16 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.007396/10.7, allocations: 0.7258 MB / 4.027 GB, free: 62.43 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.004679/10.71, allocations: 1.784 MB / 4.029 GB, free: 60.7 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.001746/10.71, allocations: 476.7 kB / 4.029 GB, free: 60.24 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 8.636e-06/10.71, allocations: 4 kB / 4.029 GB, free: 60.23 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.000421/10.71, allocations: 128.8 kB / 4.029 GB, free: 60.11 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002607/10.71, allocations: 192.4 kB / 4.03 GB, free: 59.92 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008593/10.72, allocations: 1.583 MB / 4.031 GB, free: 58.28 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009805/10.72, allocations: 0.9799 MB / 4.032 GB, free: 57.27 MB / 0.948 GB Notification: Performance of SimCode: time 1.533e-06/10.72, allocations: 0 / 4.032 GB, free: 57.27 MB / 0.948 GB (rm -f Buildings_8.0.0_Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X_dynamic.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X_dynamic.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X_dynamic.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X_dynamic.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_Humidifiers_Validation_SprayAirWasher_X_dynamic_fmu --startTime=0 --stopTime=1080 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_Humidifiers_Validation_SprayAirWasher_X_dynamic.fmu > Buildings_8.0.0_Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X_dynamic.pipe 2>&1)