Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Humidifiers.Validation.SprayAirWasher_X_dynamic.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.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 BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Humidifiers.Validation.SprayAirWasher_X_dynamic,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Humidifiers_Validation_SprayAirWasher_X_dynamic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Humidifiers.Validation.SprayAirWasher_X_dynamic,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_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/BuildSysPro 3.5.0/package.mo): time 0.8073/0.8073, allocations: 127.3 MB / 134.6 MB, free: 4.086 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002843/0.002843, allocations: 185.3 kB / 164.4 MB, free: 6.891 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.824/1.824, allocations: 205.1 MB / 399.1 MB, free: 6.09 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001264/0.001264, allocations: 91.55 kB / 476.3 MB, free: 8.855 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.3616/0.3629, allocations: 82.88 MB / 0.5461 GB, free: 42.68 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2004/0.5634, allocations: 76.75 MB / 0.621 GB, free: 13.86 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.14/5.703, allocations: 2.155 GB / 2.776 GB, free: 57.08 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002575/5.704, allocations: 87.95 kB / 2.776 GB, free: 57 MB / 0.6355 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.675/9.378, allocations: 0.955 GB / 3.731 GB, free: 85.82 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.94e-05/9.378, allocations: 12 kB / 3.731 GB, free: 85.8 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001606/9.38, allocations: 242.9 kB / 3.731 GB, free: 85.57 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001872/9.382, allocations: 0.6204 MB / 3.732 GB, free: 84.92 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.541e-05/9.382, allocations: 16 kB / 3.732 GB, free: 84.91 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001449/9.382, allocations: 31.91 kB / 3.732 GB, free: 84.88 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008436/9.383, allocations: 385.4 kB / 3.732 GB, free: 84.5 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007429/9.384, allocations: 439 kB / 3.733 GB, free: 84.05 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.079e-05/9.384, allocations: 4 kB / 3.733 GB, free: 84.05 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.357e-05/9.384, allocations: 0 / 3.733 GB, free: 84.05 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.214e-05/9.384, allocations: 16.78 kB / 3.733 GB, free: 84.03 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003698/9.388, allocations: 2.279 MB / 3.735 GB, free: 81.58 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003902/9.388, allocations: 281.2 kB / 3.735 GB, free: 81.3 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001811/9.388, allocations: 120.8 kB / 3.735 GB, free: 81.18 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001064/9.389, allocations: 0.836 MB / 3.736 GB, free: 80.18 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002458/9.389, allocations: 194.8 kB / 3.736 GB, free: 79.96 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=26): time 3.316e-06/9.389, allocations: 0 / 3.736 GB, free: 79.96 MB / 0.6511 GB Notification: Performance of matching and sorting (n=26): time 0.00137/9.391, allocations: 431.6 kB / 3.737 GB, free: 79.54 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.451e-05/9.391, allocations: 111 kB / 3.737 GB, free: 79.4 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006365/9.392, allocations: 462.1 kB / 3.737 GB, free: 78.94 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 5.063e-05/9.392, allocations: 29.7 kB / 3.737 GB, free: 78.91 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001566/9.392, allocations: 251.7 kB / 3.738 GB, free: 78.66 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 7.934e-05/9.392, allocations: 83.3 kB / 3.738 GB, free: 78.57 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.234e-05/9.392, allocations: 4 kB / 3.738 GB, free: 78.57 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001144/9.392, allocations: 358.8 kB / 3.738 GB, free: 78.21 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001864/9.392, allocations: 124.8 kB / 3.738 GB, free: 78.09 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002697/9.392, allocations: 289.8 kB / 3.738 GB, free: 77.73 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005908/9.393, allocations: 239.7 kB / 3.739 GB, free: 77.49 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.122e-06/9.393, allocations: 4 kB / 3.739 GB, free: 77.49 MB / 0.6511 GB Notification: Performance of matching and sorting (n=50) (initialization): time 0.000958/9.394, allocations: 0.5084 MB / 3.739 GB, free: 76.97 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.83e-05/9.394, allocations: 4 kB / 3.739 GB, free: 76.97 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.057e-06/9.394, allocations: 4 kB / 3.739 GB, free: 76.96 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.175e-05/9.394, allocations: 8 kB / 3.739 GB, free: 76.96 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003686/9.395, allocations: 91.83 kB / 3.739 GB, free: 76.87 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.178e-06/9.395, allocations: 7.281 kB / 3.739 GB, free: 76.86 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004266/9.395, allocations: 51.77 kB / 3.739 GB, free: 76.81 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.645e-05/9.395, allocations: 23.98 kB / 3.739 GB, free: 76.79 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,$PRE.XSet.nextTimeEvent,XSet.nextTimeEvent,$PRE.XSet.nextTimeEventScaled,XSet.nextTimeEventScaled,senHum.i_x) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (50): * Single equations (assignments): 49 * Array equations: 0 * Algorithm blocks: 1 * 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.0001006/9.395, allocations: 120.8 kB / 3.739 GB, free: 76.66 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.79e-05/9.395, allocations: 59.25 kB / 3.74 GB, free: 76.61 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007488/9.396, allocations: 386.1 kB / 3.74 GB, free: 76.22 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.061e-06/9.396, allocations: 4 kB / 3.74 GB, free: 76.22 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.049e-06/9.396, allocations: 4 kB / 3.74 GB, free: 76.21 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.602e-06/9.396, allocations: 0 / 3.74 GB, free: 76.21 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001503/9.398, allocations: 1.156 MB / 3.741 GB, free: 75 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.918e-06/9.398, allocations: 4 kB / 3.741 GB, free: 74.99 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002607/9.398, allocations: 43.92 kB / 3.741 GB, free: 74.95 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.059e-06/9.398, allocations: 4 kB / 3.741 GB, free: 74.95 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.638e-05/9.398, allocations: 7.984 kB / 3.741 GB, free: 74.94 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.187e-06/9.398, allocations: 11.94 kB / 3.741 GB, free: 74.93 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.579e-06/9.398, allocations: 4 kB / 3.741 GB, free: 74.92 MB / 0.6511 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0008841/9.399, allocations: 0.7772 MB / 3.742 GB, free: 74.05 MB / 0.6511 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001412/9.4, allocations: 1.371 MB / 3.743 GB, free: 72.59 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001709/9.4, allocations: 168.2 kB / 3.743 GB, free: 72.41 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.409e-05/9.4, allocations: 4 kB / 3.743 GB, free: 72.4 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002851/9.401, allocations: 11.98 kB / 3.743 GB, free: 72.39 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.071e-05/9.401, allocations: 19.83 kB / 3.743 GB, free: 72.37 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.636e-05/9.401, allocations: 20.05 kB / 3.743 GB, free: 72.35 MB / 0.6511 GB Notification: Performance of sort global known variables: time 0.0003707/9.401, allocations: 346.9 kB / 3.744 GB, free: 72.02 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.001702/9.403, allocations: 459.9 kB / 3.744 GB, free: 71.57 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * 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.0023/9.405, allocations: 1.826 MB / 3.746 GB, free: 69.95 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0004684/9.406, allocations: 334.7 kB / 3.746 GB, free: 69.61 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/9.406, allocations: 4.125 kB / 3.746 GB, free: 69.61 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0001615/9.406, allocations: 131.8 kB / 3.746 GB, free: 69.48 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000897/9.407, allocations: 201.6 kB / 3.747 GB, free: 69.29 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001706/9.409, allocations: 0.8402 MB / 3.747 GB, free: 68.4 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004659/9.409, allocations: 0.9649 MB / 3.748 GB, free: 67.41 MB / 0.6511 GB Notification: Performance of SimCode: time 3.61e-07/9.409, allocations: 0 / 3.748 GB, free: 67.41 MB / 0.6511 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Humidifiers.Validation.SprayAirWasher_X_dynamic.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Humidifiers.Validation.SprayAirWasher_X_dynamic.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Humidifiers.Validation.SprayAirWasher_X_dynamic.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Humidifiers.Validation.SprayAirWasher_X_dynamic.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Fluid_Humidifiers_Validation_SprayAirWasher_X_dynamic_fmu --startTime=0 --stopTime=1080 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Fluid_Humidifiers_Validation_SprayAirWasher_X_dynamic.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.Humidifiers.Validation.SprayAirWasher_X_dynamic.pipe 2>&1)