Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate.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.MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Validation_MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate,fileNamePrefix="BuildingSystems_BuildingSystems_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/BuildingSystems 2.0.0-master/package.mo): time 0.7162/0.7162, allocations: 141.8 MB / 149.1 MB, free: 3.773 MB / 122.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001157/0.001157, allocations: 179.5 kB / 181.9 MB, free: 15.54 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.289/1.289, allocations: 221.4 MB / 436 MB, free: 8.691 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.001015/0.001015, allocations: 100.3 kB / 0.507 GB, free: 24.25 MB / 394.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001782/0.001782, allocations: 280.6 kB / 0.5884 GB, free: 11.76 MB / 442.9 MB Notification: Performance of FrontEnd - loaded program: time 0.1771/0.179, allocations: 89.64 MB / 0.676 GB, free: 2.031 MB / 0.5107 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.387/0.566, allocations: 82.75 MB / 0.7568 GB, free: 112.3 MB / 0.5263 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.378/3.944, allocations: 1.879 GB / 2.636 GB, free: 184 MB / 0.6982 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002647/3.945, allocations: 91.92 kB / 2.636 GB, free: 183.9 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: 189 * Number of variables: 189 Notification: Performance of Generate backend data structure: time 1.773/5.718, allocations: 0.5784 GB / 3.214 GB, free: 131.8 MB / 0.6982 GB Notification: Performance of prepare preOptimizeDAE: time 4.197e-05/5.718, allocations: 15.03 kB / 3.214 GB, free: 131.8 MB / 0.6982 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002931/5.721, allocations: 447.2 kB / 3.215 GB, free: 131.3 MB / 0.6982 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001764/5.722, allocations: 0.7846 MB / 3.215 GB, free: 130.5 MB / 0.6982 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003288/5.723, allocations: 103.3 kB / 3.216 GB, free: 130.4 MB / 0.6982 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001702/5.723, allocations: 51.44 kB / 3.216 GB, free: 130.4 MB / 0.6982 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001219/5.724, allocations: 0.6756 MB / 3.216 GB, free: 129.7 MB / 0.6982 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001297/5.725, allocations: 0.8019 MB / 3.217 GB, free: 128.9 MB / 0.6982 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.497e-05/5.725, allocations: 0 / 3.217 GB, free: 128.9 MB / 0.6982 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.288e-05/5.726, allocations: 3.312 kB / 3.217 GB, free: 128.9 MB / 0.6982 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.654e-05/5.726, allocations: 30 kB / 3.217 GB, free: 128.8 MB / 0.6982 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005052/5.731, allocations: 3.267 MB / 3.22 GB, free: 125.5 MB / 0.6982 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007147/5.731, allocations: 472.3 kB / 3.221 GB, free: 125 MB / 0.6982 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002896/5.732, allocations: 245.8 kB / 3.221 GB, free: 124.8 MB / 0.6982 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000175/5.732, allocations: 103.6 kB / 3.221 GB, free: 124.7 MB / 0.6982 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.404e-05/5.732, allocations: 45.44 kB / 3.221 GB, free: 124.6 MB / 0.6982 GB Notification: Performance of pre-optimization done (n=39): time 1.884e-06/5.732, allocations: 0 / 3.221 GB, free: 124.6 MB / 0.6982 GB Notification: Performance of matching and sorting (n=41): time 0.002653/5.735, allocations: 1.29 MB / 3.222 GB, free: 123.3 MB / 0.6982 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.254e-05/5.735, allocations: 59.41 kB / 3.222 GB, free: 123.2 MB / 0.6982 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005279/5.735, allocations: 0.4996 MB / 3.223 GB, free: 122.7 MB / 0.6982 GB Notification: Performance of collectPreVariables (initialization): time 5.43e-05/5.735, allocations: 29.7 kB / 3.223 GB, free: 122.7 MB / 0.6982 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001248/5.735, allocations: 366.9 kB / 3.223 GB, free: 122.3 MB / 0.6982 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001049/5.735, allocations: 134 kB / 3.223 GB, free: 122.2 MB / 0.6982 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.052e-05/5.736, allocations: 2.688 kB / 3.223 GB, free: 122.2 MB / 0.6982 GB Notification: Performance of setup shared object (initialization): time 8.414e-05/5.736, allocations: 374.8 kB / 3.224 GB, free: 121.8 MB / 0.6982 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002801/5.736, allocations: 217.2 kB / 3.224 GB, free: 121.6 MB / 0.6982 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003293/5.736, allocations: 350.9 kB / 3.224 GB, free: 121.2 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.002366/5.739, allocations: 1.03 MB / 3.225 GB, free: 120.2 MB / 0.6982 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.946e-06/5.739, allocations: 0 / 3.225 GB, free: 120.2 MB / 0.6982 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.0009047/5.74, allocations: 0.637 MB / 3.226 GB, free: 119.6 MB / 0.6982 GB Notification: Performance of prepare postOptimizeDAE: time 1.448e-05/5.74, allocations: 12.53 kB / 3.226 GB, free: 119.6 MB / 0.6982 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.456e-06/5.74, allocations: 0 / 3.226 GB, free: 119.6 MB / 0.6982 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.285e-05/5.74, allocations: 15.89 kB / 3.226 GB, free: 119.5 MB / 0.6982 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007228/5.74, allocations: 165.7 kB / 3.226 GB, free: 119.4 MB / 0.6982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.099e-05/5.74, allocations: 8 kB / 3.226 GB, free: 119.4 MB / 0.6982 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009457/5.741, allocations: 85.67 kB / 3.226 GB, free: 119.3 MB / 0.6982 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.465e-05/5.741, allocations: 24 kB / 3.226 GB, free: 119.3 MB / 0.6982 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.0001443/5.742, allocations: 120.8 kB / 3.226 GB, free: 119.2 MB / 0.6982 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001252/5.742, allocations: 71.16 kB / 3.226 GB, free: 119.1 MB / 0.6982 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001764/5.742, allocations: 82 kB / 3.226 GB, free: 119 MB / 0.6982 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.23e-06/5.742, allocations: 4 kB / 3.226 GB, free: 119 MB / 0.6982 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.206e-06/5.742, allocations: 7.844 kB / 3.226 GB, free: 119 MB / 0.6982 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006221/5.742, allocations: 0.5312 MB / 3.227 GB, free: 118.4 MB / 0.6982 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002304/5.745, allocations: 1.514 MB / 3.228 GB, free: 116.9 MB / 0.6982 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.368e-06/5.745, allocations: 4 kB / 3.228 GB, free: 116.8 MB / 0.6982 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006734/5.746, allocations: 142.8 kB / 3.229 GB, free: 116.7 MB / 0.6982 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.388e-06/5.746, allocations: 11.92 kB / 3.229 GB, free: 116.7 MB / 0.6982 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.036e-05/5.746, allocations: 8 kB / 3.229 GB, free: 116.7 MB / 0.6982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.891e-06/5.746, allocations: 4 kB / 3.229 GB, free: 116.7 MB / 0.6982 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.416e-06/5.746, allocations: 7.219 kB / 3.229 GB, free: 116.7 MB / 0.6982 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001208/5.747, allocations: 1.117 MB / 3.23 GB, free: 115.4 MB / 0.6982 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001717/5.749, allocations: 1.865 MB / 3.232 GB, free: 113.4 MB / 0.6982 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003715/5.749, allocations: 212.2 kB / 3.232 GB, free: 113.2 MB / 0.6982 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001459/5.749, allocations: 11.98 kB / 3.232 GB, free: 113.2 MB / 0.6982 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009038/5.75, allocations: 81.16 kB / 3.232 GB, free: 113.1 MB / 0.6982 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.161e-05/5.75, allocations: 35.8 kB / 3.232 GB, free: 113.1 MB / 0.6982 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.068e-05/5.75, allocations: 31.55 kB / 3.232 GB, free: 113.1 MB / 0.6982 GB Notification: Performance of sort global known variables: time 0.0004055/5.751, allocations: 391.2 kB / 3.232 GB, free: 112.7 MB / 0.6982 GB Notification: Performance of remove unused functions: time 0.001932/5.752, allocations: 479.9 kB / 3.233 GB, free: 112.2 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 (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.001833/5.754, allocations: 1.517 MB / 3.234 GB, free: 110.9 MB / 0.6982 GB Notification: Performance of simCode: created initialization part: time 0.0007606/5.755, allocations: 0.5012 MB / 3.235 GB, free: 110.4 MB / 0.6982 GB Notification: Performance of simCode: created event and clocks part: time 4.419e-06/5.755, allocations: 0 / 3.235 GB, free: 110.4 MB / 0.6982 GB Notification: Performance of simCode: created simulation system equations: time 0.0003075/5.755, allocations: 236.9 kB / 3.235 GB, free: 110.2 MB / 0.6982 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001761/5.757, allocations: 385.5 kB / 3.235 GB, free: 109.8 MB / 0.6982 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00366/5.761, allocations: 1.392 MB / 3.237 GB, free: 108.4 MB / 0.6982 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008303/5.762, allocations: 1.14 MB / 3.238 GB, free: 107.2 MB / 0.6982 GB Notification: Performance of SimCode: time 4.41e-07/5.762, allocations: 0 / 3.238 GB, free: 107.2 MB / 0.6982 GB (rm -f BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Validation_MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Validation_MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate.fmu > BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate.pipe 2>&1)