Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X,fileNamePrefix="Buildings_latest_Buildings_Fluid_Humidifiers_Validation_SprayAirWasher_X",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X,fileNamePrefix="Buildings_latest_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 10.0.0-master/package.mo): time 2.588/2.588, allocations: 390.4 MB / 397.7 MB, free: 11.25 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001176/0.001176, allocations: 185.3 kB / 490.8 MB, free: 1.949 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.496/1.496, allocations: 221.4 MB / 0.7863 GB, free: 13.67 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001161/0.001161, allocations: 84.69 kB / 0.9264 GB, free: 14.21 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 0.76/0.7613, allocations: 149.1 MB / 1.072 GB, free: 182.5 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3073/1.069, allocations: 143 MB / 1.212 GB, free: 40.04 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.15/6.218, allocations: 1.887 GB / 3.098 GB, free: 431.6 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003302/6.219, allocations: 83.84 kB / 3.099 GB, free: 431.6 MB / 1.151 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.003/8.222, allocations: 0.6055 GB / 3.704 GB, free: 267.1 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.128e-05/8.222, allocations: 10.28 kB / 3.704 GB, free: 267.1 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00149/8.223, allocations: 232.5 kB / 3.704 GB, free: 266.9 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002659/8.226, allocations: 0.8913 MB / 3.705 GB, free: 266 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.161e-05/8.226, allocations: 12 kB / 3.705 GB, free: 266 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.806e-05/8.226, allocations: 26.34 kB / 3.705 GB, free: 266 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006529/8.227, allocations: 349.4 kB / 3.705 GB, free: 265.6 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006655/8.227, allocations: 439 kB / 3.706 GB, free: 265.2 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.806e-05/8.227, allocations: 7.438 kB / 3.706 GB, free: 265.2 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.202e-05/8.227, allocations: 0 / 3.706 GB, free: 265.2 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.712e-05/8.227, allocations: 12.78 kB / 3.706 GB, free: 265.2 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003444/8.231, allocations: 2.239 MB / 3.708 GB, free: 262.8 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003401/8.231, allocations: 230.5 kB / 3.708 GB, free: 262.6 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001714/8.231, allocations: 124 kB / 3.708 GB, free: 262.4 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001026/8.232, allocations: 0.8202 MB / 3.709 GB, free: 261.5 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002199/8.233, allocations: 182.2 kB / 3.709 GB, free: 261.3 MB / 1.151 GB Notification: Performance of pre-optimization done (n=25): time 2.535e-06/8.233, allocations: 3.188 kB / 3.709 GB, free: 261.3 MB / 1.151 GB Notification: Performance of matching and sorting (n=25): time 0.001229/8.234, allocations: 405.2 kB / 3.71 GB, free: 260.9 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.025e-05/8.234, allocations: 102.8 kB / 3.71 GB, free: 260.7 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005134/8.235, allocations: 463.3 kB / 3.71 GB, free: 260.3 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 3.631e-05/8.235, allocations: 25.7 kB / 3.71 GB, free: 260.3 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001441/8.235, allocations: 255.2 kB / 3.711 GB, free: 260 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 6.882e-05/8.235, allocations: 86.69 kB / 3.711 GB, free: 259.9 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.768e-05/8.235, allocations: 0 / 3.711 GB, free: 259.9 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 9.596e-05/8.235, allocations: 362.8 kB / 3.711 GB, free: 259.6 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001518/8.235, allocations: 96.72 kB / 3.711 GB, free: 259.5 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002217/8.235, allocations: 287.2 kB / 3.711 GB, free: 259.1 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004981/8.236, allocations: 220.6 kB / 3.712 GB, free: 258.9 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.456e-06/8.236, allocations: 0 / 3.712 GB, free: 258.9 MB / 1.151 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0008539/8.237, allocations: 475 kB / 3.712 GB, free: 258.4 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004004/8.237, allocations: 1.824 MB / 3.714 GB, free: 256.5 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.763e-05/8.237, allocations: 7.938 kB / 3.714 GB, free: 256.5 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.693e-05/8.237, allocations: 11.06 kB / 3.714 GB, free: 256.5 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003296/8.238, allocations: 79.89 kB / 3.714 GB, free: 256.4 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.214e-05/8.238, allocations: 15.92 kB / 3.714 GB, free: 256.4 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004521/8.238, allocations: 42.33 kB / 3.714 GB, free: 256.3 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.701e-05/8.238, allocations: 20 kB / 3.714 GB, free: 256.3 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 8.896e-06/8.238, allocations: 4 kB / 3.714 GB, free: 256.3 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007335/8.239, allocations: 392.2 kB / 3.714 GB, free: 255.9 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.553e-06/8.239, allocations: 4 kB / 3.714 GB, free: 255.9 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.261e-05/8.239, allocations: 10.39 kB / 3.714 GB, free: 255.9 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003056/8.239, allocations: 85.23 kB / 3.714 GB, free: 255.8 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.316e-06/8.239, allocations: 11.94 kB / 3.714 GB, free: 255.8 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003906/8.24, allocations: 42.52 kB / 3.715 GB, free: 255.8 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.429e-05/8.24, allocations: 20 kB / 3.715 GB, free: 255.8 MB / 1.151 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 0.0001295/8.24, allocations: 120.8 kB / 3.715 GB, free: 255.6 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.831e-05/8.24, allocations: 51.34 kB / 3.715 GB, free: 255.6 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007637/8.241, allocations: 366.7 kB / 3.715 GB, free: 255.2 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.061e-06/8.241, allocations: 0 / 3.715 GB, free: 255.2 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.514e-06/8.241, allocations: 4 kB / 3.715 GB, free: 255.2 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.917e-06/8.241, allocations: 6.984 kB / 3.715 GB, free: 255.2 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001654/8.242, allocations: 1.145 MB / 3.716 GB, free: 254 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.597e-06/8.242, allocations: 0 / 3.716 GB, free: 254 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002118/8.243, allocations: 47.72 kB / 3.716 GB, free: 254 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.663e-06/8.243, allocations: 4 kB / 3.716 GB, free: 254 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.868e-05/8.243, allocations: 11.98 kB / 3.716 GB, free: 254 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.779e-06/8.243, allocations: 3.938 kB / 3.716 GB, free: 254 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.619e-06/8.243, allocations: 4 kB / 3.716 GB, free: 254 MB / 1.151 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0007729/8.243, allocations: 0.6228 MB / 3.717 GB, free: 253.2 MB / 1.151 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001057/8.244, allocations: 1.086 MB / 3.718 GB, free: 252.1 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002176/8.245, allocations: 164.3 kB / 3.718 GB, free: 251.9 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.621e-05/8.245, allocations: 4 kB / 3.718 GB, free: 251.9 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000272/8.245, allocations: 7.984 kB / 3.718 GB, free: 251.9 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.323e-05/8.245, allocations: 27.48 kB / 3.718 GB, free: 251.9 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.573e-05/8.245, allocations: 15.92 kB / 3.718 GB, free: 251.8 MB / 1.151 GB Notification: Performance of sort global known variables: time 0.0003628/8.246, allocations: 346.9 kB / 3.718 GB, free: 251.5 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.002991/8.249, allocations: 0.721 MB / 3.719 GB, free: 250.8 MB / 1.151 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.002531/8.251, allocations: 1.793 MB / 3.721 GB, free: 249.4 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.0007343/8.252, allocations: 460.4 kB / 3.721 GB, free: 248.9 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/8.252, allocations: 320 / 3.721 GB, free: 248.9 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0001547/8.252, allocations: 131.7 kB / 3.721 GB, free: 248.8 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009473/8.253, allocations: 180.7 kB / 3.722 GB, free: 248.6 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003892/8.257, allocations: 1.529 MB / 3.723 GB, free: 247.1 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004792/8.257, allocations: 0.9623 MB / 3.724 GB, free: 246.1 MB / 1.151 GB Notification: Performance of SimCode: time 3.91e-07/8.257, allocations: 1.969 kB / 3.724 GB, free: 246.1 MB / 1.151 GB (rm -f Buildings_latest_Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X.pipe >> ../files/Buildings_latest_Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Humidifiers_Validation_SprayAirWasher_X_fmu --startTime=0 --stopTime=1080 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Humidifiers_Validation_SprayAirWasher_X.fmu > Buildings_latest_Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X.pipe 2>&1)