Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X_dynamic.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.Validation.SprayAirWasher_X_dynamic,fileNamePrefix="Buildings_8_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_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.1.4-maint.8.1.x/package.mo): time 1.636/1.636, allocations: 289.8 MB / 297.1 MB, free: 6.598 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.001231/0.001231, allocations: 177.3 kB / 366.3 MB, free: 1.961 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.527/1.527, allocations: 205.1 MB / 0.6256 GB, free: 5.809 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.001128/0.001128, allocations: 73.42 kB / 0.7395 GB, free: 39.65 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.3082/0.3094, allocations: 122.4 MB / 0.8591 GB, free: 13.26 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7101/1.019, allocations: 116.3 MB / 0.9726 GB, free: 68.54 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.675/5.695, allocations: 2.081 GB / 3.054 GB, free: 356.1 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002525/5.695, allocations: 88.89 kB / 3.054 GB, free: 356.1 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 3.272/8.967, allocations: 0.9684 GB / 4.022 GB, free: 108.3 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.874e-05/8.967, allocations: 8 kB / 4.022 GB, free: 108.3 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001355/8.969, allocations: 238.8 kB / 4.023 GB, free: 108 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00212/8.971, allocations: 0.8816 MB / 4.023 GB, free: 107.1 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.657e-05/8.971, allocations: 15.94 kB / 4.023 GB, free: 107.1 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.934e-05/8.971, allocations: 24 kB / 4.023 GB, free: 107.1 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006106/8.971, allocations: 369.5 kB / 4.024 GB, free: 106.7 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006027/8.972, allocations: 431 kB / 4.024 GB, free: 106.3 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.483e-05/8.972, allocations: 4 kB / 4.024 GB, free: 106.3 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.126e-05/8.972, allocations: 4 kB / 4.024 GB, free: 106.3 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.203e-05/8.972, allocations: 24.67 kB / 4.024 GB, free: 106.2 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002707/8.975, allocations: 2.256 MB / 4.026 GB, free: 103.8 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002965/8.975, allocations: 226.6 kB / 4.027 GB, free: 103.5 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001437/8.975, allocations: 128.8 kB / 4.027 GB, free: 103.4 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009274/8.976, allocations: 0.8339 MB / 4.028 GB, free: 102.4 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002169/8.977, allocations: 184.9 kB / 4.028 GB, free: 102.2 MB / 0.948 GB Notification: Performance of pre-optimization done (n=26): time 2.344e-06/8.977, allocations: 0 / 4.028 GB, free: 102.2 MB / 0.948 GB Notification: Performance of matching and sorting (n=26): time 0.0011/8.978, allocations: 413.6 kB / 4.028 GB, free: 101.8 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.463e-05/8.978, allocations: 107 kB / 4.028 GB, free: 101.7 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004602/8.978, allocations: 454.2 kB / 4.029 GB, free: 101.2 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 3.145e-05/8.978, allocations: 29.7 kB / 4.029 GB, free: 101.2 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001176/8.978, allocations: 251.6 kB / 4.029 GB, free: 100.9 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 5.42e-05/8.978, allocations: 86.75 kB / 4.029 GB, free: 100.9 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.835e-05/8.978, allocations: 0 / 4.029 GB, free: 100.9 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 9.896e-05/8.979, allocations: 366.8 kB / 4.029 GB, free: 100.5 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001422/8.979, allocations: 108.9 kB / 4.03 GB, free: 100.4 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002351/8.979, allocations: 304.3 kB / 4.03 GB, free: 100 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004506/8.979, allocations: 226.5 kB / 4.03 GB, free: 99.78 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.297e-06/8.979, allocations: 0 / 4.03 GB, free: 99.78 MB / 0.948 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0007763/8.98, allocations: 476.5 kB / 4.031 GB, free: 99.3 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003813/8.981, allocations: 1.833 MB / 4.032 GB, free: 97.33 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.846e-06/8.981, allocations: 4 kB / 4.032 GB, free: 97.32 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.315e-05/8.981, allocations: 8 kB / 4.032 GB, free: 97.32 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003562/8.981, allocations: 83.91 kB / 4.032 GB, free: 97.23 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.167e-05/8.981, allocations: 15.92 kB / 4.032 GB, free: 97.22 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004147/8.981, allocations: 43.61 kB / 4.032 GB, free: 97.18 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.263e-05/8.981, allocations: 27.98 kB / 4.032 GB, free: 97.15 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 6.092e-06/8.981, allocations: 3.906 kB / 4.032 GB, free: 97.14 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006624/8.982, allocations: 397.9 kB / 4.033 GB, free: 96.76 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.759e-06/8.982, allocations: 4 kB / 4.033 GB, free: 96.75 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.053e-06/8.982, allocations: 8 kB / 4.033 GB, free: 96.75 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003125/8.982, allocations: 87.83 kB / 4.033 GB, free: 96.66 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.719e-06/8.982, allocations: 4.562 kB / 4.033 GB, free: 96.66 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003143/8.983, allocations: 39.73 kB / 4.033 GB, free: 96.62 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.555e-05/8.983, allocations: 23.98 kB / 4.033 GB, free: 96.59 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.0001013/8.983, allocations: 117.6 kB / 4.033 GB, free: 96.47 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.593e-05/8.983, allocations: 59.34 kB / 4.033 GB, free: 96.41 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007471/8.984, allocations: 374.1 kB / 4.034 GB, free: 96.04 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.917e-06/8.984, allocations: 4.234 kB / 4.034 GB, free: 96.04 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.202e-06/8.984, allocations: 0 / 4.034 GB, free: 96.04 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.015e-06/8.984, allocations: 3.984 kB / 4.034 GB, free: 96.04 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001487/8.985, allocations: 1.165 MB / 4.035 GB, free: 94.8 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.515e-06/8.985, allocations: 0 / 4.035 GB, free: 94.8 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002433/8.986, allocations: 47.91 kB / 4.035 GB, free: 94.75 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.17e-06/8.986, allocations: 8 kB / 4.035 GB, free: 94.74 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.587e-05/8.986, allocations: 8 kB / 4.035 GB, free: 94.73 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.496e-06/8.986, allocations: 4 kB / 4.035 GB, free: 94.73 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.667e-06/8.986, allocations: 4 kB / 4.035 GB, free: 94.73 MB / 0.948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0008782/8.987, allocations: 0.7779 MB / 4.036 GB, free: 93.86 MB / 0.948 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001293/8.988, allocations: 1.363 MB / 4.037 GB, free: 92.39 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001728/8.988, allocations: 164.3 kB / 4.037 GB, free: 92.21 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.554e-05/8.988, allocations: 3.906 kB / 4.037 GB, free: 92.21 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002688/8.988, allocations: 16.05 kB / 4.037 GB, free: 92.19 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.143e-05/8.988, allocations: 19.98 kB / 4.037 GB, free: 92.17 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.334e-05/8.989, allocations: 11.98 kB / 4.037 GB, free: 92.16 MB / 0.948 GB Notification: Performance of sort global known variables: time 0.0003231/8.989, allocations: 346.9 kB / 4.037 GB, free: 91.82 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.003028/8.992, allocations: 0.7335 MB / 4.038 GB, free: 91.09 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.002655/8.995, allocations: 1.784 MB / 4.04 GB, free: 89.3 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0008568/8.995, allocations: 477.3 kB / 4.04 GB, free: 88.83 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 3.316e-06/8.995, allocations: 4.125 kB / 4.04 GB, free: 88.83 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001759/8.996, allocations: 134.9 kB / 4.04 GB, free: 88.7 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001049/8.997, allocations: 197.8 kB / 4.041 GB, free: 88.51 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004179/9.001, allocations: 1.583 MB / 4.042 GB, free: 86.87 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004633/9.001, allocations: 0.9644 MB / 4.043 GB, free: 85.88 MB / 0.948 GB Notification: Performance of SimCode: time 5.81e-07/9.001, allocations: 0 / 4.043 GB, free: 85.88 MB / 0.948 GB (rm -f Buildings_8_Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X_dynamic.pipe ; mkfifo Buildings_8_Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X_dynamic.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X_dynamic.pipe >> ../files/Buildings_8_Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X_dynamic.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_Humidifiers_Validation_SprayAirWasher_X_dynamic_fmu --startTime=0 --stopTime=1080 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_Humidifiers_Validation_SprayAirWasher_X_dynamic.fmu > Buildings_8_Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X_dynamic.pipe 2>&1)