Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X_dynamic.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X_dynamic,fileNamePrefix="Buildings_maint_7_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_7_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 7.0.3-maint.7.0.x/package.mo): time 1.244/1.244, allocations: 249.4 MB / 256.7 MB, free: 6.98 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009647/0.0009647, allocations: 184.4 kB / 316 MB, free: 3.582 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.1/1.1, allocations: 205.1 MB / 0.5667 GB, free: 15.65 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008379/0.0008378, allocations: 103.2 kB / 0.671 GB, free: 4.781 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.317/0.3178, allocations: 112.5 MB / 0.7808 GB, free: 103 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1567/0.4745, allocations: 106.3 MB / 0.8846 GB, free: 12.59 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.963/4.438, allocations: 2.2 GB / 3.084 GB, free: 164.1 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002079/4.438, allocations: 82.02 kB / 3.084 GB, free: 164.1 MB / 0.8698 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.845/7.283, allocations: 0.9351 GB / 4.019 GB, free: 165.8 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 3.209e-05/7.283, allocations: 7.875 kB / 4.019 GB, free: 165.8 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001324/7.284, allocations: 230.7 kB / 4.02 GB, free: 165.8 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002107/7.287, allocations: 0.8842 MB / 4.02 GB, free: 165.5 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.606e-05/7.287, allocations: 11.53 kB / 4.02 GB, free: 165.5 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.414e-05/7.287, allocations: 38.03 kB / 4.02 GB, free: 165.5 MB / 0.9011 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006029/7.287, allocations: 362 kB / 4.021 GB, free: 165.5 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000599/7.288, allocations: 439.2 kB / 4.021 GB, free: 165.5 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.344e-05/7.288, allocations: 3.281 kB / 4.021 GB, free: 165.5 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.955e-05/7.288, allocations: 3.781 kB / 4.021 GB, free: 165.5 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.533e-05/7.288, allocations: 18.62 kB / 4.021 GB, free: 165.5 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002549/7.291, allocations: 2.244 MB / 4.023 GB, free: 164.1 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002892/7.291, allocations: 231.2 kB / 4.024 GB, free: 164.1 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001393/7.291, allocations: 129.8 kB / 4.024 GB, free: 164.1 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008665/7.292, allocations: 0.8288 MB / 4.025 GB, free: 163.3 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002103/7.292, allocations: 189.3 kB / 4.025 GB, free: 163.2 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=26): time 2.114e-06/7.292, allocations: 0 / 4.025 GB, free: 163.2 MB / 0.9011 GB Notification: Performance of matching and sorting (n=26): time 0.001088/7.293, allocations: 414.2 kB / 4.025 GB, free: 163.1 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.778e-05/7.293, allocations: 110 kB / 4.025 GB, free: 163 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004756/7.294, allocations: 459.1 kB / 4.026 GB, free: 162.9 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 3.858e-05/7.294, allocations: 25.7 kB / 4.026 GB, free: 162.8 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001336/7.294, allocations: 249.6 kB / 4.026 GB, free: 162.7 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 7.211e-05/7.294, allocations: 86.05 kB / 4.026 GB, free: 162.7 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.787e-05/7.294, allocations: 0 / 4.026 GB, free: 162.7 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 9.309e-05/7.294, allocations: 369 kB / 4.026 GB, free: 162.4 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001489/7.294, allocations: 106.9 kB / 4.027 GB, free: 162.4 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002296/7.295, allocations: 294.3 kB / 4.027 GB, free: 162.1 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004766/7.295, allocations: 227.4 kB / 4.027 GB, free: 162.1 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.917e-06/7.295, allocations: 0 / 4.027 GB, free: 162.1 MB / 0.9011 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0008351/7.296, allocations: 482.3 kB / 4.027 GB, free: 162.1 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003244/7.296, allocations: 1.836 MB / 4.029 GB, free: 160.2 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.094e-05/7.296, allocations: 10.91 kB / 4.029 GB, free: 160.2 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.85e-05/7.296, allocations: 7.531 kB / 4.029 GB, free: 160.2 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003352/7.297, allocations: 84.66 kB / 4.029 GB, free: 160.2 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.06e-05/7.297, allocations: 6.125 kB / 4.029 GB, free: 160.2 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004328/7.297, allocations: 46.14 kB / 4.029 GB, free: 160.1 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.046e-05/7.297, allocations: 23.92 kB / 4.029 GB, free: 160.1 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 7.674e-06/7.297, allocations: 3.938 kB / 4.029 GB, free: 160.1 MB / 0.9011 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007134/7.298, allocations: 398.1 kB / 4.03 GB, free: 160.1 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.723e-06/7.298, allocations: 7.312 kB / 4.03 GB, free: 160.1 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.287e-06/7.298, allocations: 7.531 kB / 4.03 GB, free: 160.1 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003116/7.298, allocations: 85.72 kB / 4.03 GB, free: 160.1 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.386e-06/7.298, allocations: 9.906 kB / 4.03 GB, free: 160.1 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003764/7.299, allocations: 42.11 kB / 4.03 GB, free: 160.1 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.375e-05/7.299, allocations: 24.73 kB / 4.03 GB, free: 160.1 MB / 0.9011 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.0001247/7.299, allocations: 121.5 kB / 4.03 GB, free: 160 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.523e-05/7.299, allocations: 52.97 kB / 4.03 GB, free: 160 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007135/7.3, allocations: 376.1 kB / 4.031 GB, free: 159.9 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.48e-06/7.3, allocations: 3.875 kB / 4.031 GB, free: 159.9 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.189e-06/7.3, allocations: 0 / 4.031 GB, free: 159.9 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.14e-06/7.3, allocations: 0 / 4.031 GB, free: 159.9 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001559/7.301, allocations: 1.161 MB / 4.032 GB, free: 159.4 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.44e-06/7.301, allocations: 3.875 kB / 4.032 GB, free: 159.4 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002368/7.301, allocations: 45.19 kB / 4.032 GB, free: 159.4 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.164e-06/7.302, allocations: 6.625 kB / 4.032 GB, free: 159.4 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.753e-05/7.302, allocations: 7.516 kB / 4.032 GB, free: 159.4 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.931e-06/7.302, allocations: 8.375 kB / 4.032 GB, free: 159.4 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.451e-06/7.302, allocations: 10.81 kB / 4.032 GB, free: 159.4 MB / 0.9011 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0008979/7.302, allocations: 0.7636 MB / 4.033 GB, free: 159.1 MB / 0.9011 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001288/7.304, allocations: 1.367 MB / 4.034 GB, free: 158.3 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002118/7.304, allocations: 165.2 kB / 4.034 GB, free: 158.2 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001032/7.304, allocations: 9.406 kB / 4.034 GB, free: 158.2 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002948/7.304, allocations: 14.06 kB / 4.034 GB, free: 158.2 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.381e-05/7.304, allocations: 25.41 kB / 4.034 GB, free: 158.2 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.376e-05/7.305, allocations: 13.56 kB / 4.034 GB, free: 158.2 MB / 0.9011 GB Notification: Performance of sort global known variables: time 0.0003412/7.305, allocations: 350.4 kB / 4.034 GB, free: 158.1 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.002893/7.308, allocations: 0.7238 MB / 4.035 GB, free: 158.1 MB / 0.9011 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.002242/7.31, allocations: 1.782 MB / 4.037 GB, free: 157.6 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.0007936/7.311, allocations: 485.4 kB / 4.037 GB, free: 157.6 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 3.987e-06/7.311, allocations: 2.906 kB / 4.037 GB, free: 157.6 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.0001744/7.311, allocations: 126 kB / 4.037 GB, free: 157.6 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001013/7.312, allocations: 196.3 kB / 4.038 GB, free: 157.6 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003828/7.316, allocations: 1.581 MB / 4.039 GB, free: 157.3 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004812/7.316, allocations: 0.9782 MB / 4.04 GB, free: 156.6 MB / 0.9011 GB Notification: Performance of SimCode: time 4.21e-07/7.316, allocations: 0 / 4.04 GB, free: 156.6 MB / 0.9011 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X_dynamic.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X_dynamic.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X_dynamic.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X_dynamic.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_Humidifiers_Validation_SprayAirWasher_X_dynamic_fmu --startTime=0 --stopTime=1080 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_Humidifiers_Validation_SprayAirWasher_X_dynamic.fmu > Buildings_maint.7.0.x_Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X_dynamic.pipe 2>&1)