Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate.conf.json 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/IBPSA 4.0.0-master/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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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) Running command: "" <> buildModelFMU(IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_MixingVolumes_Validation_MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_MixingVolumes_Validation_MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate",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/Complex 4.0.0+maint.om/package.mo): time 0.001126/0.001126, allocations: 192.2 kB / 7.807 MB, free: 2.492 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4555/0.4555, allocations: 90.85 MB / 99.07 MB, free: 14.93 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.259/1.259, allocations: 221.4 MB / 342.8 MB, free: 5.426 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000984/0.0009842, allocations: 99.06 kB / 415.5 MB, free: 6.465 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1794/0.1804, allocations: 78.45 MB / 494 MB, free: 8.016 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3593/0.5397, allocations: 72.29 MB / 0.553 GB, free: 73.29 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 3.381/3.92, allocations: 1.872 GB / 2.425 GB, free: 173.5 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002372/3.921, allocations: 84.86 kB / 2.425 GB, free: 173.4 MB / 0.6042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 189 * Number of variables: 189 Notification: Performance of Generate backend data structure: time 1.596/5.517, allocations: 0.5805 GB / 3.006 GB, free: 46.09 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.264e-05/5.517, allocations: 8 kB / 3.006 GB, free: 46.09 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002609/5.519, allocations: 450.2 kB / 3.006 GB, free: 45.64 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001385/5.521, allocations: 0.8003 MB / 3.007 GB, free: 44.8 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003222/5.521, allocations: 109.9 kB / 3.007 GB, free: 44.7 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001033/5.521, allocations: 47.98 kB / 3.007 GB, free: 44.65 MB / 0.6042 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001062/5.522, allocations: 0.6834 MB / 3.008 GB, free: 43.96 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001169/5.524, allocations: 0.8019 MB / 3.009 GB, free: 43.13 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.323e-05/5.524, allocations: 0 / 3.009 GB, free: 43.13 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.047e-05/5.524, allocations: 3.984 kB / 3.009 GB, free: 43.13 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.152e-05/5.524, allocations: 29.94 kB / 3.009 GB, free: 43.1 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00464/5.528, allocations: 3.313 MB / 3.012 GB, free: 39.64 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004746/5.529, allocations: 309.3 kB / 3.012 GB, free: 39.34 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002899/5.529, allocations: 254 kB / 3.012 GB, free: 39.09 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001853/5.529, allocations: 107.3 kB / 3.012 GB, free: 38.97 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.907e-05/5.529, allocations: 42.47 kB / 3.013 GB, free: 38.92 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=39): time 2.064e-06/5.529, allocations: 0 / 3.013 GB, free: 38.92 MB / 0.6042 GB Notification: Performance of matching and sorting (n=41): time 0.002559/5.532, allocations: 1.301 MB / 3.014 GB, free: 37.56 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.916e-05/5.532, allocations: 55.41 kB / 3.014 GB, free: 37.5 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005141/5.533, allocations: 0.5113 MB / 3.014 GB, free: 36.98 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 4.804e-05/5.533, allocations: 29.7 kB / 3.014 GB, free: 36.95 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001208/5.533, allocations: 354.9 kB / 3.015 GB, free: 36.59 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 9.923e-05/5.533, allocations: 141.9 kB / 3.015 GB, free: 36.45 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.044e-05/5.533, allocations: 0 / 3.015 GB, free: 36.45 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 7.753e-05/5.533, allocations: 378.8 kB / 3.015 GB, free: 36.07 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000282/5.533, allocations: 217.2 kB / 3.015 GB, free: 35.86 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003376/5.534, allocations: 348.2 kB / 3.016 GB, free: 35.47 MB / 0.6042 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: volDyn.dynBal.medium.p = volDyn.dynBal.p_start (bou.p = volDyn.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.002425/5.536, allocations: 1.048 MB / 3.017 GB, free: 34.41 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/5.536, allocations: 0 / 3.017 GB, free: 34.41 MB / 0.6042 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.000939/5.537, allocations: 0.6429 MB / 3.017 GB, free: 33.75 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.288e-05/5.537, allocations: 4 kB / 3.017 GB, free: 33.75 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.656e-06/5.537, allocations: 4 kB / 3.017 GB, free: 33.75 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.047e-05/5.537, allocations: 8 kB / 3.017 GB, free: 33.74 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007485/5.538, allocations: 159.8 kB / 3.018 GB, free: 33.58 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.845e-06/5.538, allocations: 4 kB / 3.018 GB, free: 33.58 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009491/5.539, allocations: 99.67 kB / 3.018 GB, free: 33.48 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.648e-05/5.539, allocations: 27.98 kB / 3.018 GB, free: 33.45 MB / 0.6042 GB Warning: Assuming redundant initial conditions for the following 1 initial equations: volDyn.dynBal.medium.p = volDyn.dynBal.p_start Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (65): * Single equations (assignments): 65 * 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.0001374/5.539, allocations: 120.8 kB / 3.018 GB, free: 33.33 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000114/5.539, allocations: 71.16 kB / 3.018 GB, free: 33.26 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001906/5.539, allocations: 82.61 kB / 3.018 GB, free: 33.18 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.41e-06/5.539, allocations: 4 kB / 3.018 GB, free: 33.17 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.102e-06/5.539, allocations: 0 / 3.018 GB, free: 33.17 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006372/5.54, allocations: 0.539 MB / 3.018 GB, free: 32.6 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002084/5.542, allocations: 1.528 MB / 3.02 GB, free: 30.99 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.838e-06/5.542, allocations: 0 / 3.02 GB, free: 30.99 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006672/5.543, allocations: 135.9 kB / 3.02 GB, free: 30.86 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.866e-06/5.543, allocations: 8 kB / 3.02 GB, free: 30.85 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.157e-05/5.543, allocations: 7.984 kB / 3.02 GB, free: 30.84 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.959e-06/5.543, allocations: 11.94 kB / 3.02 GB, free: 30.83 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.129e-06/5.543, allocations: 8 kB / 3.02 GB, free: 30.82 MB / 0.6042 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001079/5.544, allocations: 1.098 MB / 3.021 GB, free: 29.58 MB / 0.6042 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001592/5.546, allocations: 1.838 MB / 3.023 GB, free: 27.61 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003292/5.546, allocations: 212.2 kB / 3.023 GB, free: 27.38 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001216/5.546, allocations: 7.984 kB / 3.023 GB, free: 27.37 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000869/5.547, allocations: 83.84 kB / 3.023 GB, free: 27.29 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.119e-05/5.547, allocations: 35.83 kB / 3.023 GB, free: 27.25 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.354e-05/5.547, allocations: 31.98 kB / 3.023 GB, free: 27.22 MB / 0.6042 GB Notification: Performance of sort global known variables: time 0.0003931/5.547, allocations: 399.1 kB / 3.024 GB, free: 26.84 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.00177/5.549, allocations: 479.9 kB / 3.024 GB, free: 26.37 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 2 (volDyn.dynBal.medium.Xi[1],volDyn.dynBal.U) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (41): * Single equations (assignments): 41 * 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 Backend phase and start with SimCode phase: time 0.001512/5.551, allocations: 1.51 MB / 3.026 GB, free: 24.81 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0007402/5.551, allocations: 0.4941 MB / 3.026 GB, free: 24.32 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/5.551, allocations: 4.188 kB / 3.026 GB, free: 24.32 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0002942/5.552, allocations: 235.7 kB / 3.026 GB, free: 24.09 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001723/5.553, allocations: 376.2 kB / 3.027 GB, free: 23.73 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0037/5.557, allocations: 1.411 MB / 3.028 GB, free: 22.25 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006725/5.558, allocations: 1.141 MB / 3.029 GB, free: 21.08 MB / 0.6042 GB Notification: Performance of SimCode: time 6.82e-07/5.558, allocations: 4 kB / 3.029 GB, free: 21.08 MB / 0.6042 GB (rm -f IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_MixingVolumes_Validation_MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_MixingVolumes_Validation_MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate.fmu > IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate.pipe 2>&1)