Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Validation_MixingVolumeHeatReverseFlowPrescribedHeatFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Validation_MixingVolumeHeatReverseFlowPrescribedHeatFlowRate",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/BuildingSystems 2.0.0-master/package.mo): time 0.6957/0.6957, allocations: 141.8 MB / 149.1 MB, free: 12.95 MB / 138.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001033/0.001033, allocations: 187 kB / 181.9 MB, free: 9.645 MB / 154.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.252/1.252, allocations: 221.4 MB / 436 MB, free: 2.109 MB / 330.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009104/0.0009104, allocations: 106.6 kB / 0.507 GB, free: 10.89 MB / 394.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001961/0.001961, allocations: 274.1 kB / 0.5884 GB, free: 7.727 MB / 474.9 MB Notification: Performance of FrontEnd - loaded program: time 0.3744/0.3764, allocations: 89.63 MB / 0.676 GB, free: 168.3 MB / 0.5419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.141/0.5174, allocations: 82.79 MB / 0.7568 GB, free: 118.9 MB / 0.5419 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.307/3.824, allocations: 1.879 GB / 2.635 GB, free: 116.2 MB / 0.6982 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002733/3.825, allocations: 91.94 kB / 2.636 GB, free: 116.1 MB / 0.6982 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 187 * Number of variables: 187 Notification: Performance of Generate backend data structure: time 1.775/5.6, allocations: 0.5769 GB / 3.212 GB, free: 63.81 MB / 0.6982 GB Notification: Performance of prepare preOptimizeDAE: time 3.589e-05/5.6, allocations: 8 kB / 3.212 GB, free: 63.8 MB / 0.6982 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002901/5.603, allocations: 446.2 kB / 3.213 GB, free: 63.37 MB / 0.6982 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001722/5.605, allocations: 0.7771 MB / 3.214 GB, free: 62.55 MB / 0.6982 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003307/5.605, allocations: 113.9 kB / 3.214 GB, free: 62.44 MB / 0.6982 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001654/5.605, allocations: 47.94 kB / 3.214 GB, free: 62.39 MB / 0.6982 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001217/5.607, allocations: 0.6678 MB / 3.214 GB, free: 61.72 MB / 0.6982 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001244/5.608, allocations: 0.7902 MB / 3.215 GB, free: 60.91 MB / 0.6982 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.571e-05/5.608, allocations: 4 kB / 3.215 GB, free: 60.9 MB / 0.6982 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.549e-05/5.608, allocations: 4 kB / 3.215 GB, free: 60.9 MB / 0.6982 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.503e-05/5.608, allocations: 29.98 kB / 3.215 GB, free: 60.87 MB / 0.6982 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004969/5.613, allocations: 3.281 MB / 3.218 GB, free: 57.43 MB / 0.6982 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005833/5.614, allocations: 424 kB / 3.219 GB, free: 57 MB / 0.6982 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000285/5.614, allocations: 249.1 kB / 3.219 GB, free: 56.76 MB / 0.6982 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001739/5.614, allocations: 99.39 kB / 3.219 GB, free: 56.65 MB / 0.6982 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.1e-05/5.614, allocations: 46.56 kB / 3.219 GB, free: 56.59 MB / 0.6982 GB Notification: Performance of pre-optimization done (n=39): time 2.595e-06/5.614, allocations: 0 / 3.219 GB, free: 56.59 MB / 0.6982 GB Notification: Performance of matching and sorting (n=41): time 0.003811/5.618, allocations: 1.453 MB / 3.221 GB, free: 55.08 MB / 0.6982 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.788e-05/5.618, allocations: 59.34 kB / 3.221 GB, free: 55.01 MB / 0.6982 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005299/5.619, allocations: 0.4996 MB / 3.221 GB, free: 54.5 MB / 0.6982 GB Notification: Performance of collectPreVariables (initialization): time 5.465e-05/5.619, allocations: 29.7 kB / 3.221 GB, free: 54.47 MB / 0.6982 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001245/5.619, allocations: 354.9 kB / 3.222 GB, free: 54.12 MB / 0.6982 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001/5.619, allocations: 142 kB / 3.222 GB, free: 53.98 MB / 0.6982 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.959e-05/5.619, allocations: 0 / 3.222 GB, free: 53.98 MB / 0.6982 GB Notification: Performance of setup shared object (initialization): time 7.983e-05/5.619, allocations: 370.8 kB / 3.222 GB, free: 53.61 MB / 0.6982 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002816/5.619, allocations: 213.2 kB / 3.222 GB, free: 53.4 MB / 0.6982 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003141/5.62, allocations: 326.4 kB / 3.223 GB, free: 53.03 MB / 0.6982 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.002446/5.622, allocations: 1.015 MB / 3.224 GB, free: 52 MB / 0.6982 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/5.622, allocations: 0 / 3.224 GB, free: 52 MB / 0.6982 GB Notification: Performance of matching and sorting (n=63) (initialization): time 0.002051/5.624, allocations: 0.8192 MB / 3.224 GB, free: 51.17 MB / 0.6982 GB Notification: Performance of prepare postOptimizeDAE: time 1.574e-05/5.624, allocations: 6.969 kB / 3.224 GB, free: 51.17 MB / 0.6982 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.011e-05/5.624, allocations: 4 kB / 3.224 GB, free: 51.16 MB / 0.6982 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003471/5.624, allocations: 140.9 kB / 3.224 GB, free: 51.02 MB / 0.6982 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006119/5.625, allocations: 139.8 kB / 3.225 GB, free: 50.89 MB / 0.6982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002127/5.627, allocations: 1.732 MB / 3.226 GB, free: 49.04 MB / 0.6982 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009399/5.628, allocations: 79.91 kB / 3.226 GB, free: 48.96 MB / 0.6982 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.669e-05/5.628, allocations: 28.03 kB / 3.226 GB, free: 48.93 MB / 0.6982 GB Warning: Assuming redundant initial conditions for the following 1 initial equations: volDyn.dynBal.medium.p = volDyn.dynBal.p_start Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: volSte.heatPort.Q_flow:VARIABLE(flow=true unit = "W" ) "Heat flow rate (positive if flowing from outside into the component)" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (59): * Single equations (assignments): 58 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 4} Notification: Performance of prepare postOptimizeDAE: time 0.0001892/5.628, allocations: 124.8 kB / 3.227 GB, free: 48.8 MB / 0.6982 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001293/5.629, allocations: 71.16 kB / 3.227 GB, free: 48.73 MB / 0.6982 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001576/5.629, allocations: 82.53 kB / 3.227 GB, free: 48.65 MB / 0.6982 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.998e-06/5.629, allocations: 4 kB / 3.227 GB, free: 48.64 MB / 0.6982 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.637e-06/5.629, allocations: 0 / 3.227 GB, free: 48.64 MB / 0.6982 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001783/5.631, allocations: 0.7115 MB / 3.227 GB, free: 47.9 MB / 0.6982 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003303/5.634, allocations: 1.697 MB / 3.229 GB, free: 46.12 MB / 0.6982 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.462e-06/5.634, allocations: 11.94 kB / 3.229 GB, free: 46.11 MB / 0.6982 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005505/5.634, allocations: 123.8 kB / 3.229 GB, free: 45.98 MB / 0.6982 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002915/5.635, allocations: 132.7 kB / 3.229 GB, free: 45.85 MB / 0.6982 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.171e-05/5.635, allocations: 15.98 kB / 3.229 GB, free: 45.84 MB / 0.6982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00194/5.637, allocations: 1.728 MB / 3.231 GB, free: 43.99 MB / 0.6982 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.389e-06/5.637, allocations: 7.938 kB / 3.231 GB, free: 43.98 MB / 0.6982 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002242/5.639, allocations: 1.299 MB / 3.232 GB, free: 42.54 MB / 0.6982 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.002701/5.642, allocations: 2.013 MB / 3.234 GB, free: 40.39 MB / 0.6982 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003169/5.642, allocations: 216.2 kB / 3.234 GB, free: 40.16 MB / 0.6982 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001141/5.642, allocations: 11.98 kB / 3.234 GB, free: 40.14 MB / 0.6982 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008695/5.643, allocations: 91.83 kB / 3.235 GB, free: 40.05 MB / 0.6982 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.922e-05/5.643, allocations: 27.97 kB / 3.235 GB, free: 40.03 MB / 0.6982 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.754e-05/5.643, allocations: 27.92 kB / 3.235 GB, free: 40 MB / 0.6982 GB Notification: Performance of sort global known variables: time 0.0003662/5.644, allocations: 399.1 kB / 3.235 GB, free: 39.62 MB / 0.6982 GB Notification: Performance of remove unused functions: time 0.001866/5.645, allocations: 0.4961 MB / 3.235 GB, free: 39.12 MB / 0.6982 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 2 (volDyn.dynBal.U,volDyn.dynBal.mXi[1]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (37): * Single equations (assignments): 36 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.001482/5.647, allocations: 1.512 MB / 3.237 GB, free: 37.55 MB / 0.6982 GB Notification: Performance of simCode: created initialization part: time 0.0008373/5.648, allocations: 0.5812 MB / 3.237 GB, free: 36.96 MB / 0.6982 GB Notification: Performance of simCode: created event and clocks part: time 3.236e-06/5.648, allocations: 0 / 3.237 GB, free: 36.96 MB / 0.6982 GB Notification: Performance of simCode: created simulation system equations: time 0.0003842/5.648, allocations: 347.7 kB / 3.238 GB, free: 36.61 MB / 0.6982 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001613/5.65, allocations: 381.2 kB / 3.238 GB, free: 36.25 MB / 0.6982 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003344/5.653, allocations: 1.404 MB / 3.24 GB, free: 34.77 MB / 0.6982 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006257/5.654, allocations: 1.125 MB / 3.241 GB, free: 33.62 MB / 0.6982 GB Notification: Performance of SimCode: time 8.62e-07/5.654, allocations: 0 / 3.241 GB, free: 33.62 MB / 0.6982 GB (rm -f BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Validation_MixingVolumeHeatReverseFlowPrescribedHeatFlowRate_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Validation_MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.fmu > BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.pipe 2>&1)