Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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 Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate,fileNamePrefix="Buildings_maint_7_0_x_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 7.0.3-maint.7.0.x/package.mo): time 1.273/1.273, allocations: 249.4 MB / 256.7 MB, free: 7.07 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009639/0.0009639, allocations: 188.3 kB / 316 MB, free: 3.57 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.126/1.126, allocations: 205.1 MB / 0.5667 GB, free: 15.62 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008518/0.0008517, allocations: 93.02 kB / 0.671 GB, free: 4.766 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.3268/0.3277, allocations: 112.5 MB / 0.7808 GB, free: 103 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1504/0.4781, allocations: 106.3 MB / 0.8847 GB, free: 12.56 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.711/4.189, allocations: 2.193 GB / 3.077 GB, free: 126.8 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002768/4.19, allocations: 91.94 kB / 3.077 GB, free: 126.7 MB / 0.8542 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 195 * Number of variables: 195 Notification: Performance of Generate backend data structure: time 1.664/5.853, allocations: 0.5573 GB / 3.635 GB, free: 179.3 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 5.03e-05/5.853, allocations: 16.38 kB / 3.635 GB, free: 179.3 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002727/5.856, allocations: 439.2 kB / 3.635 GB, free: 179.2 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001661/5.858, allocations: 0.8007 MB / 3.636 GB, free: 178.8 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003444/5.858, allocations: 104.5 kB / 3.636 GB, free: 178.7 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001138/5.858, allocations: 45.44 kB / 3.636 GB, free: 178.7 MB / 0.8542 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001266/5.859, allocations: 0.6834 MB / 3.637 GB, free: 178.5 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001354/5.861, allocations: 0.8164 MB / 3.638 GB, free: 178.2 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.466e-05/5.861, allocations: 0 / 3.638 GB, free: 178.2 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.971e-05/5.861, allocations: 2.031 kB / 3.638 GB, free: 178.2 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.601e-05/5.861, allocations: 36.5 kB / 3.638 GB, free: 178.2 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005652/5.867, allocations: 3.27 MB / 3.641 GB, free: 176.2 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007709/5.867, allocations: 442.6 kB / 3.641 GB, free: 176.1 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000345/5.868, allocations: 247.8 kB / 3.641 GB, free: 176 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00019/5.868, allocations: 101.3 kB / 3.642 GB, free: 175.9 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.804e-05/5.868, allocations: 45.61 kB / 3.642 GB, free: 175.8 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=39): time 2.685e-06/5.868, allocations: 0 / 3.642 GB, free: 175.8 MB / 0.8542 GB Notification: Performance of matching and sorting (n=41): time 0.002954/5.871, allocations: 1.286 MB / 3.643 GB, free: 175.2 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.69e-05/5.871, allocations: 63.66 kB / 3.643 GB, free: 175.1 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007453/5.872, allocations: 0.5166 MB / 3.643 GB, free: 174.9 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 5.669e-05/5.872, allocations: 26.8 kB / 3.643 GB, free: 174.8 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.000225/5.872, allocations: 369.8 kB / 3.644 GB, free: 174.5 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001246/5.872, allocations: 137.4 kB / 3.644 GB, free: 174.4 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.899e-05/5.872, allocations: 0 / 3.644 GB, free: 174.4 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001297/5.872, allocations: 379.6 kB / 3.644 GB, free: 174.1 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003596/5.873, allocations: 217.8 kB / 3.645 GB, free: 174 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004374/5.873, allocations: 355 kB / 3.645 GB, free: 173.8 MB / 0.8542 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.00255/5.876, allocations: 0.9856 MB / 3.646 GB, free: 173.5 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.017e-06/5.876, allocations: 1.406 kB / 3.646 GB, free: 173.5 MB / 0.8542 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.001131/5.877, allocations: 0.6396 MB / 3.646 GB, free: 173.2 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.554e-05/5.877, allocations: 6.562 kB / 3.646 GB, free: 173.2 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.937e-06/5.877, allocations: 2.719 kB / 3.646 GB, free: 173.2 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.124e-05/5.877, allocations: 10.62 kB / 3.646 GB, free: 173.2 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007719/5.878, allocations: 167.5 kB / 3.647 GB, free: 173.2 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.056e-05/5.878, allocations: 6.5 kB / 3.647 GB, free: 173.2 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009875/5.879, allocations: 94.97 kB / 3.647 GB, free: 173.2 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.6e-05/5.879, allocations: 22.56 kB / 3.647 GB, free: 173.2 MB / 0.8542 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: 16 * 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.0001667/5.879, allocations: 123.3 kB / 3.647 GB, free: 173.1 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001333/5.879, allocations: 73.72 kB / 3.647 GB, free: 173 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002049/5.879, allocations: 76.25 kB / 3.647 GB, free: 173 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.835e-06/5.879, allocations: 8.266 kB / 3.647 GB, free: 173 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.074e-05/5.879, allocations: 0 / 3.647 GB, free: 173 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007396/5.88, allocations: 0.5246 MB / 3.648 GB, free: 172.7 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002661/5.883, allocations: 1.53 MB / 3.649 GB, free: 171.9 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.281e-06/5.883, allocations: 4.188 kB / 3.649 GB, free: 171.9 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007053/5.884, allocations: 144.1 kB / 3.649 GB, free: 171.9 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.448e-06/5.884, allocations: 6.406 kB / 3.649 GB, free: 171.9 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.932e-05/5.884, allocations: 8.141 kB / 3.649 GB, free: 171.9 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.935e-06/5.884, allocations: 8.703 kB / 3.649 GB, free: 171.9 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.661e-06/5.884, allocations: 3.344 kB / 3.649 GB, free: 171.9 MB / 0.8542 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001371/5.885, allocations: 1.12 MB / 3.65 GB, free: 171.1 MB / 0.8542 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001973/5.887, allocations: 1.864 MB / 3.652 GB, free: 169.8 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004396/5.887, allocations: 226 kB / 3.652 GB, free: 169.7 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001262/5.888, allocations: 10.3 kB / 3.652 GB, free: 169.7 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009204/5.889, allocations: 84.03 kB / 3.652 GB, free: 169.7 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.274e-05/5.889, allocations: 32.98 kB / 3.652 GB, free: 169.7 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.477e-05/5.889, allocations: 29.41 kB / 3.652 GB, free: 169.7 MB / 0.8542 GB Notification: Performance of sort global known variables: time 0.0005646/5.889, allocations: 403.8 kB / 3.653 GB, free: 169.5 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0021/5.891, allocations: 473 kB / 3.653 GB, free: 169.2 MB / 0.8542 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.002086/5.894, allocations: 1.511 MB / 3.655 GB, free: 168.8 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0009424/5.894, allocations: 0.4968 MB / 3.655 GB, free: 168.6 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 3.987e-06/5.894, allocations: 3.688 kB / 3.655 GB, free: 168.6 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0003612/5.895, allocations: 235.9 kB / 3.655 GB, free: 168.6 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001924/5.897, allocations: 378.5 kB / 3.656 GB, free: 168.5 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004217/5.901, allocations: 1.416 MB / 3.657 GB, free: 167.9 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000951/5.902, allocations: 1.14 MB / 3.658 GB, free: 167.2 MB / 0.8542 GB Notification: Performance of SimCode: time 1.102e-06/5.902, allocations: 1.188 kB / 3.658 GB, free: 167.2 MB / 0.8542 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate.fmu > Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate.pipe 2>&1)