Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate.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.MixingVolumes.Validation.MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate,fileNamePrefix="Buildings_latest_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate,fileNamePrefix="Buildings_latest_Buildings_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/Buildings 10.0.0-master/package.mo): time 2.184/2.184, allocations: 390.4 MB / 397.7 MB, free: 10.7 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001259/0.001259, allocations: 182.3 kB / 490.8 MB, free: 11.22 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.543/1.543, allocations: 221.4 MB / 0.7863 GB, free: 13.59 MB / 0.5886 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001048/0.001047, allocations: 98.11 kB / 0.9264 GB, free: 4.547 MB / 0.6667 GB Notification: Performance of FrontEnd - loaded program: time 0.4105/0.4116, allocations: 149.1 MB / 1.072 GB, free: 15.48 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.08/1.491, allocations: 143 MB / 1.212 GB, free: 155.8 MB / 0.8855 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.203/6.695, allocations: 1.92 GB / 3.131 GB, free: 182.4 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003367/6.695, allocations: 88.94 kB / 3.131 GB, free: 182.3 MB / 1.167 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.939/8.634, allocations: 0.5806 GB / 3.712 GB, free: 56.59 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 4.743e-05/8.634, allocations: 8 kB / 3.712 GB, free: 56.58 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003428/8.638, allocations: 454.2 kB / 3.712 GB, free: 56.13 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002856/8.64, allocations: 0.8006 MB / 3.713 GB, free: 55.29 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003861/8.641, allocations: 105.9 kB / 3.713 GB, free: 55.18 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003068/8.641, allocations: 51.84 kB / 3.713 GB, free: 55.13 MB / 1.167 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001869/8.643, allocations: 0.6911 MB / 3.714 GB, free: 54.44 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001564/8.645, allocations: 0.7942 MB / 3.715 GB, free: 53.62 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.888e-05/8.645, allocations: 7.922 kB / 3.715 GB, free: 53.61 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001121/8.645, allocations: 0 / 3.715 GB, free: 53.61 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.245e-05/8.645, allocations: 26 kB / 3.715 GB, free: 53.59 MB / 1.167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006137/8.651, allocations: 3.318 MB / 3.718 GB, free: 50.11 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000551/8.652, allocations: 310.5 kB / 3.718 GB, free: 49.8 MB / 1.167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003219/8.652, allocations: 246 kB / 3.719 GB, free: 49.56 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002357/8.652, allocations: 101.4 kB / 3.719 GB, free: 49.44 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.122e-05/8.652, allocations: 48.53 kB / 3.719 GB, free: 49.39 MB / 1.167 GB Notification: Performance of pre-optimization done (n=39): time 3.627e-06/8.652, allocations: 0 / 3.719 GB, free: 49.39 MB / 1.167 GB Notification: Performance of matching and sorting (n=41): time 0.003416/8.656, allocations: 1.303 MB / 3.72 GB, free: 48.03 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.416e-05/8.656, allocations: 55.41 kB / 3.72 GB, free: 47.96 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006961/8.656, allocations: 0.5113 MB / 3.721 GB, free: 47.45 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 7.577e-05/8.656, allocations: 29.7 kB / 3.721 GB, free: 47.41 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001572/8.657, allocations: 358.9 kB / 3.721 GB, free: 47.05 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001328/8.657, allocations: 138 kB / 3.721 GB, free: 46.91 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.074e-05/8.657, allocations: 0 / 3.721 GB, free: 46.91 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 0.0001323/8.657, allocations: 378.7 kB / 3.721 GB, free: 46.54 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003411/8.657, allocations: 217.2 kB / 3.722 GB, free: 46.32 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000372/8.658, allocations: 348.2 kB / 3.722 GB, free: 45.93 MB / 1.167 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.002641/8.66, allocations: 1.046 MB / 3.723 GB, free: 44.87 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.737e-06/8.66, allocations: 0 / 3.723 GB, free: 44.87 MB / 1.167 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.001054/8.661, allocations: 0.6386 MB / 3.724 GB, free: 44.22 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 2.011e-05/8.661, allocations: 7.984 kB / 3.724 GB, free: 44.21 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.022e-05/8.661, allocations: 4 kB / 3.724 GB, free: 44.21 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.231e-05/8.662, allocations: 8 kB / 3.724 GB, free: 44.2 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000763/8.662, allocations: 168.2 kB / 3.724 GB, free: 44.04 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.773e-05/8.662, allocations: 4 kB / 3.724 GB, free: 44.04 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001093/8.663, allocations: 87.77 kB / 3.724 GB, free: 43.95 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.753e-05/8.663, allocations: 28 kB / 3.724 GB, free: 43.92 MB / 1.167 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.0001796/8.664, allocations: 124.8 kB / 3.724 GB, free: 43.79 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001587/8.664, allocations: 75.06 kB / 3.724 GB, free: 43.72 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002333/8.664, allocations: 78.56 kB / 3.724 GB, free: 43.64 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.164e-06/8.664, allocations: 4 kB / 3.724 GB, free: 43.64 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.945e-06/8.664, allocations: 0 / 3.724 GB, free: 43.64 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006919/8.665, allocations: 0.5388 MB / 3.725 GB, free: 43.07 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00263/8.667, allocations: 1.512 MB / 3.726 GB, free: 41.47 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.419e-06/8.667, allocations: 0 / 3.726 GB, free: 41.47 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007296/8.668, allocations: 148.2 kB / 3.726 GB, free: 41.32 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.194e-05/8.668, allocations: 11.94 kB / 3.726 GB, free: 41.31 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.618e-05/8.668, allocations: 4 kB / 3.726 GB, free: 41.31 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.896e-06/8.668, allocations: 15.89 kB / 3.726 GB, free: 41.29 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.929e-06/8.668, allocations: 4 kB / 3.726 GB, free: 41.29 MB / 1.167 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001245/8.67, allocations: 1.094 MB / 3.727 GB, free: 40.05 MB / 1.167 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001875/8.671, allocations: 1.827 MB / 3.729 GB, free: 38.09 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005068/8.672, allocations: 220.2 kB / 3.729 GB, free: 37.86 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001787/8.672, allocations: 7.906 kB / 3.729 GB, free: 37.85 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009813/8.673, allocations: 91.86 kB / 3.729 GB, free: 37.76 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.372e-05/8.673, allocations: 31.86 kB / 3.729 GB, free: 37.73 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.98e-05/8.673, allocations: 27.98 kB / 3.73 GB, free: 37.7 MB / 1.167 GB Notification: Performance of sort global known variables: time 0.0005269/8.674, allocations: 395.2 kB / 3.73 GB, free: 37.32 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.002332/8.676, allocations: 480 kB / 3.73 GB, free: 36.85 MB / 1.167 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.002394/8.679, allocations: 1.521 MB / 3.732 GB, free: 35.28 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.0009526/8.68, allocations: 0.4948 MB / 3.732 GB, free: 34.79 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 7.604e-06/8.68, allocations: 0 / 3.732 GB, free: 34.79 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.0003931/8.68, allocations: 236.9 kB / 3.733 GB, free: 34.56 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001964/8.682, allocations: 382.3 kB / 3.733 GB, free: 34.2 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004508/8.686, allocations: 1.411 MB / 3.734 GB, free: 32.72 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008968/8.687, allocations: 1.141 MB / 3.735 GB, free: 31.55 MB / 1.167 GB Notification: Performance of SimCode: time 1.113e-06/8.687, allocations: 0 / 3.735 GB, free: 31.55 MB / 1.167 GB (rm -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate.pipe ; mkfifo Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate.pipe >> ../files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate.fmu > Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate.pipe 2>&1)