Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeHeatReverseFlowPrescribedHeatFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate,fileNamePrefix="Buildings_8_0_0_Buildings_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/Buildings 8.0.0/package.mo): time 2.307/2.307, allocations: 284.8 MB / 292.1 MB, free: 10.73 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002573/0.002572, allocations: 177.2 kB / 360.3 MB, free: 7.508 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.038/2.038, allocations: 205.1 MB / 0.6187 GB, free: 13.18 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001204/0.001204, allocations: 83.59 kB / 0.7317 GB, free: 45.09 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.3023/0.3036, allocations: 121.4 MB / 0.8502 GB, free: 3.902 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6685/0.9722, allocations: 115.2 MB / 0.9627 GB, free: 78.54 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.673/6.645, allocations: 2.073 GB / 3.036 GB, free: 272.7 MB / 0.9323 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002756/6.645, allocations: 89.11 kB / 3.036 GB, free: 272.7 MB / 0.9323 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 2.506/9.151, allocations: 0.5696 GB / 3.605 GB, free: 130.5 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.59e-05/9.151, allocations: 8.5 kB / 3.605 GB, free: 130.5 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006099/9.158, allocations: 454.2 kB / 3.606 GB, free: 130 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004877/9.163, allocations: 0.7739 MB / 3.606 GB, free: 129.2 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001194/9.164, allocations: 117.9 kB / 3.607 GB, free: 129.1 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005205/9.164, allocations: 44 kB / 3.607 GB, free: 129.1 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00367/9.168, allocations: 0.6716 MB / 3.607 GB, free: 128.4 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003721/9.172, allocations: 0.7942 MB / 3.608 GB, free: 127.6 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.983e-05/9.172, allocations: 7.844 kB / 3.608 GB, free: 127.5 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002128/9.172, allocations: 0 / 3.608 GB, free: 127.5 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.393e-05/9.172, allocations: 29.98 kB / 3.608 GB, free: 127.5 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01162/9.184, allocations: 3.268 MB / 3.611 GB, free: 124.1 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001138/9.185, allocations: 423 kB / 3.612 GB, free: 123.7 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006616/9.186, allocations: 233.8 kB / 3.612 GB, free: 123.5 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002563/9.186, allocations: 102.4 kB / 3.612 GB, free: 123.4 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.987e-05/9.186, allocations: 48.53 kB / 3.612 GB, free: 123.3 MB / 0.948 GB Notification: Performance of pre-optimization done (n=39): time 3.376e-06/9.186, allocations: 7.922 kB / 3.612 GB, free: 123.3 MB / 0.948 GB Notification: Performance of matching and sorting (n=41): time 0.0071/9.193, allocations: 1.462 MB / 3.613 GB, free: 121.8 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.943e-05/9.193, allocations: 55.41 kB / 3.613 GB, free: 121.7 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00127/9.195, allocations: 0.5035 MB / 3.614 GB, free: 121.2 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001756/9.195, allocations: 25.7 kB / 3.614 GB, free: 121.2 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001837/9.195, allocations: 359 kB / 3.614 GB, free: 120.8 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001845/9.195, allocations: 138 kB / 3.614 GB, free: 120.7 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.811e-05/9.195, allocations: 0 / 3.614 GB, free: 120.7 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001236/9.195, allocations: 374.8 kB / 3.615 GB, free: 120.3 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005504/9.196, allocations: 209.2 kB / 3.615 GB, free: 120.1 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00059/9.197, allocations: 322.5 kB / 3.615 GB, free: 119.7 MB / 0.948 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.004695/9.201, allocations: 1.018 MB / 3.616 GB, free: 118.7 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.489e-06/9.201, allocations: 0 / 3.616 GB, free: 118.7 MB / 0.948 GB Notification: Performance of matching and sorting (n=63) (initialization): time 0.003917/9.205, allocations: 0.8164 MB / 3.617 GB, free: 117.9 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 2.012e-05/9.205, allocations: 4 kB / 3.617 GB, free: 117.9 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.235e-05/9.205, allocations: 7.938 kB / 3.617 GB, free: 117.9 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00057/9.206, allocations: 132.9 kB / 3.617 GB, free: 117.7 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001246/9.207, allocations: 139.8 kB / 3.617 GB, free: 117.6 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006094/9.213, allocations: 1.739 MB / 3.619 GB, free: 115.8 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00324/9.217, allocations: 79.84 kB / 3.619 GB, free: 115.7 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002276/9.217, allocations: 24.3 kB / 3.619 GB, free: 115.6 MB / 0.948 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.0003875/9.217, allocations: 126.8 kB / 3.619 GB, free: 115.5 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003205/9.218, allocations: 75.16 kB / 3.619 GB, free: 115.4 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004002/9.218, allocations: 82.53 kB / 3.619 GB, free: 115.4 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.699e-06/9.218, allocations: 4 kB / 3.619 GB, free: 115.4 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.815e-06/9.218, allocations: 3.906 kB / 3.619 GB, free: 115.4 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00476/9.223, allocations: 0.7079 MB / 3.62 GB, free: 114.6 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006307/9.229, allocations: 1.708 MB / 3.622 GB, free: 112.8 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.255e-05/9.229, allocations: 0 / 3.622 GB, free: 112.8 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001156/9.23, allocations: 120.1 kB / 3.622 GB, free: 112.7 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005507/9.231, allocations: 136.8 kB / 3.622 GB, free: 112.6 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.575e-05/9.231, allocations: 11.98 kB / 3.622 GB, free: 112.6 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003671/9.235, allocations: 1.733 MB / 3.624 GB, free: 110.7 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.937e-06/9.235, allocations: 7.984 kB / 3.624 GB, free: 110.7 MB / 0.948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.004552/9.239, allocations: 1.291 MB / 3.625 GB, free: 109.3 MB / 0.948 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.005506/9.245, allocations: 2.011 MB / 3.627 GB, free: 107.1 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007927/9.246, allocations: 220.2 kB / 3.627 GB, free: 106.9 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002386/9.246, allocations: 7.984 kB / 3.627 GB, free: 106.9 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002/9.248, allocations: 87.83 kB / 3.627 GB, free: 106.8 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001984/9.248, allocations: 31.84 kB / 3.627 GB, free: 106.8 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001693/9.249, allocations: 31.92 kB / 3.627 GB, free: 106.7 MB / 0.948 GB Notification: Performance of sort global known variables: time 0.001117/9.25, allocations: 403 kB / 3.628 GB, free: 106.3 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.005515/9.255, allocations: 0.4928 MB / 3.628 GB, free: 105.8 MB / 0.948 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.003665/9.259, allocations: 1.506 MB / 3.63 GB, free: 104.4 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.00228/9.261, allocations: 0.5824 MB / 3.63 GB, free: 103.8 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.423e-05/9.261, allocations: 4 kB / 3.63 GB, free: 103.8 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.001098/9.263, allocations: 341.4 kB / 3.631 GB, free: 103.4 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005144/9.268, allocations: 387 kB / 3.631 GB, free: 103.1 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0107/9.278, allocations: 1.415 MB / 3.632 GB, free: 101.6 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001683/9.28, allocations: 1.125 MB / 3.633 GB, free: 100.4 MB / 0.948 GB Notification: Performance of SimCode: time 1.403e-06/9.28, allocations: 0 / 3.633 GB, free: 100.4 MB / 0.948 GB (rm -f Buildings_8.0.0_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeHeatReverseFlowPrescribedHeatFlowRate_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.fmu > Buildings_8.0.0_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.pipe 2>&1)