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.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,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_Humidifiers_Validation_SprayAirWasher_X",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_Humidifiers_Validation_SprayAirWasher_X",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.245/1.245, allocations: 249.4 MB / 256.7 MB, free: 7.066 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.001018/0.001018, allocations: 177.3 kB / 316 MB, free: 3.57 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.253/1.253, allocations: 205.1 MB / 0.5667 GB, free: 15.7 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.0009135/0.0009136, allocations: 92.45 kB / 0.671 GB, free: 4.824 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.3536/0.3546, allocations: 112.5 MB / 0.7808 GB, free: 103 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1748/0.5293, allocations: 106.3 MB / 0.8847 GB, free: 12.58 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.78/4.309, allocations: 2.199 GB / 3.084 GB, free: 204.9 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001915/4.309, allocations: 87.89 kB / 3.084 GB, free: 204.8 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 1.673/5.982, allocations: 0.5805 GB / 3.665 GB, free: 182.5 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 3.264e-05/5.982, allocations: 7.594 kB / 3.665 GB, free: 182.5 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00131/5.983, allocations: 241.4 kB / 3.665 GB, free: 182.5 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00208/5.985, allocations: 0.8699 MB / 3.666 GB, free: 182.2 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.037e-05/5.985, allocations: 11.22 kB / 3.666 GB, free: 182.2 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.039e-05/5.985, allocations: 29.59 kB / 3.666 GB, free: 182.2 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006625/5.986, allocations: 367.4 kB / 3.666 GB, free: 182.2 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006701/5.987, allocations: 432.9 kB / 3.667 GB, free: 182.1 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.772e-05/5.987, allocations: 6.188 kB / 3.667 GB, free: 182.1 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.005e-05/5.987, allocations: 0 / 3.667 GB, free: 182.1 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.709e-05/5.987, allocations: 17.44 kB / 3.667 GB, free: 182.1 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002749/5.99, allocations: 2.229 MB / 3.669 GB, free: 180.8 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003312/5.99, allocations: 228.8 kB / 3.669 GB, free: 180.8 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001629/5.99, allocations: 122 kB / 3.669 GB, free: 180.8 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009111/5.991, allocations: 0.8234 MB / 3.67 GB, free: 179.9 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002213/5.991, allocations: 190.9 kB / 3.67 GB, free: 179.9 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=25): time 2.435e-06/5.991, allocations: 0 / 3.67 GB, free: 179.9 MB / 0.8698 GB Notification: Performance of matching and sorting (n=25): time 0.001122/5.992, allocations: 401.5 kB / 3.67 GB, free: 179.8 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.418e-05/5.993, allocations: 106.5 kB / 3.671 GB, free: 179.7 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006017/5.993, allocations: 456.4 kB / 3.671 GB, free: 179.6 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 4.24e-05/5.993, allocations: 25.7 kB / 3.671 GB, free: 179.5 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001544/5.993, allocations: 262.3 kB / 3.671 GB, free: 179.4 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 5.694e-05/5.993, allocations: 77.92 kB / 3.671 GB, free: 179.4 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.654e-05/5.993, allocations: 0 / 3.671 GB, free: 179.4 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 7.83e-05/5.994, allocations: 366.5 kB / 3.672 GB, free: 179 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001392/5.994, allocations: 104.9 kB / 3.672 GB, free: 179 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002141/5.994, allocations: 282.2 kB / 3.672 GB, free: 178.8 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004717/5.994, allocations: 222.3 kB / 3.672 GB, free: 178.8 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.677e-06/5.994, allocations: 6.469 kB / 3.672 GB, free: 178.8 MB / 0.8698 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.000795/5.995, allocations: 469.3 kB / 3.673 GB, free: 178.8 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003696/5.996, allocations: 1.834 MB / 3.675 GB, free: 176.9 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.055e-05/5.996, allocations: 3.688 kB / 3.675 GB, free: 176.9 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.97e-05/5.996, allocations: 11 kB / 3.675 GB, free: 176.9 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003288/5.996, allocations: 82.75 kB / 3.675 GB, free: 176.9 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.391e-05/5.996, allocations: 10.34 kB / 3.675 GB, free: 176.9 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004166/5.996, allocations: 44.5 kB / 3.675 GB, free: 176.8 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.903e-05/5.996, allocations: 25.58 kB / 3.675 GB, free: 176.8 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 8.607e-06/5.996, allocations: 7.875 kB / 3.675 GB, free: 176.8 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006673/5.997, allocations: 387 kB / 3.675 GB, free: 176.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.322e-06/5.997, allocations: 3.562 kB / 3.675 GB, free: 176.8 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.003e-06/5.997, allocations: 6.75 kB / 3.675 GB, free: 176.8 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002994/5.997, allocations: 80.62 kB / 3.675 GB, free: 176.8 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.871e-06/5.997, allocations: 10.95 kB / 3.675 GB, free: 176.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003391/5.998, allocations: 38.03 kB / 3.675 GB, free: 176.8 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.509e-05/5.998, allocations: 21 kB / 3.675 GB, free: 176.8 MB / 0.8698 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 (45): * Single equations (assignments): 45 * 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 9.635e-05/5.998, allocations: 124.7 kB / 3.675 GB, free: 176.7 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.692e-05/5.998, allocations: 58.91 kB / 3.675 GB, free: 176.7 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006756/5.999, allocations: 368.6 kB / 3.676 GB, free: 176.6 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.929e-06/5.999, allocations: 3.25 kB / 3.676 GB, free: 176.6 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.2e-06/5.999, allocations: 3.906 kB / 3.676 GB, free: 176.6 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.25e-06/5.999, allocations: 0 / 3.676 GB, free: 176.6 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001392/6, allocations: 1.156 MB / 3.677 GB, free: 176.1 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.026e-06/6, allocations: 0 / 3.677 GB, free: 176.1 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002033/6, allocations: 44.36 kB / 3.677 GB, free: 176.1 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.809e-06/6, allocations: 3.812 kB / 3.677 GB, free: 176.1 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.113e-05/6, allocations: 7.297 kB / 3.677 GB, free: 176.1 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.238e-06/6, allocations: 7.188 kB / 3.677 GB, free: 176.1 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.158e-06/6, allocations: 8.969 kB / 3.677 GB, free: 176.1 MB / 0.8698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0006523/6.001, allocations: 0.6269 MB / 3.678 GB, free: 175.8 MB / 0.8698 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0008949/6.002, allocations: 1.075 MB / 3.679 GB, free: 175 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001837/6.002, allocations: 163.4 kB / 3.679 GB, free: 174.9 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.136e-05/6.002, allocations: 2.625 kB / 3.679 GB, free: 174.9 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002744/6.003, allocations: 16.47 kB / 3.679 GB, free: 174.9 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.476e-05/6.003, allocations: 17.62 kB / 3.679 GB, free: 174.9 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.003e-05/6.003, allocations: 15.08 kB / 3.679 GB, free: 174.9 MB / 0.8698 GB Notification: Performance of sort global known variables: time 0.0003009/6.003, allocations: 353.2 kB / 3.679 GB, free: 174.8 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.002895/6.006, allocations: 0.7185 MB / 3.68 GB, free: 174.8 MB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 0 () * 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 (26): * Single equations (assignments): 24 * 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.002744/6.009, allocations: 1.784 MB / 3.682 GB, free: 174.3 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0008334/6.009, allocations: 473.9 kB / 3.682 GB, free: 174.3 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 4.168e-06/6.009, allocations: 0 / 3.682 GB, free: 174.3 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001814/6.01, allocations: 121.6 kB / 3.682 GB, free: 174.3 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001129/6.011, allocations: 187 kB / 3.682 GB, free: 174.3 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004003/6.015, allocations: 1.525 MB / 3.684 GB, free: 174 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004666/6.015, allocations: 0.9674 MB / 3.685 GB, free: 173.3 MB / 0.8698 GB Notification: Performance of SimCode: time 4.51e-07/6.015, allocations: 0 / 3.685 GB, free: 173.3 MB / 0.8698 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_Humidifiers_Validation_SprayAirWasher_X_fmu --startTime=0 --stopTime=1080 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_Humidifiers_Validation_SprayAirWasher_X.fmu > Buildings_maint.7.0.x_Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X.pipe 2>&1)