Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.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.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate,fileNamePrefix="Buildings_latest_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeHeatReverseFlowPrescribedHeatFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate,fileNamePrefix="Buildings_latest_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 10.0.0-master/package.mo): time 2.322/2.322, allocations: 390.4 MB / 397.7 MB, free: 11.3 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001171/0.001171, allocations: 177.3 kB / 490.8 MB, free: 1.965 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.809/1.809, allocations: 221.4 MB / 0.7863 GB, free: 13.75 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001006/0.001006, allocations: 98.86 kB / 0.9264 GB, free: 14.28 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 0.7281/0.7291, allocations: 149.1 MB / 1.072 GB, free: 182.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3403/1.069, allocations: 143 MB / 1.212 GB, free: 40.08 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.085/6.155, allocations: 1.919 GB / 3.131 GB, free: 388.7 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003712/6.155, allocations: 87.95 kB / 3.131 GB, free: 388.6 MB / 1.151 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.919/8.074, allocations: 0.5777 GB / 3.709 GB, free: 236 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.832e-05/8.074, allocations: 12 kB / 3.709 GB, free: 236 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003207/8.077, allocations: 454.2 kB / 3.709 GB, free: 235.5 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002269/8.08, allocations: 0.7902 MB / 3.71 GB, free: 234.7 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003556/8.08, allocations: 101.9 kB / 3.71 GB, free: 234.6 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002469/8.08, allocations: 51.89 kB / 3.71 GB, free: 234.6 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001519/8.082, allocations: 0.6795 MB / 3.711 GB, free: 233.9 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001653/8.084, allocations: 0.7902 MB / 3.711 GB, free: 233.1 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.128e-05/8.084, allocations: 0 / 3.711 GB, free: 233.1 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001155/8.084, allocations: 4 kB / 3.711 GB, free: 233.1 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.522e-05/8.084, allocations: 30 kB / 3.712 GB, free: 233 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006206/8.09, allocations: 3.319 MB / 3.715 GB, free: 229.6 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000636/8.091, allocations: 407.8 kB / 3.715 GB, free: 229.2 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003318/8.091, allocations: 241.8 kB / 3.715 GB, free: 229 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002081/8.091, allocations: 101.4 kB / 3.715 GB, free: 228.8 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.432e-05/8.091, allocations: 44.53 kB / 3.716 GB, free: 228.8 MB / 1.151 GB Notification: Performance of pre-optimization done (n=39): time 2.555e-06/8.091, allocations: 0 / 3.716 GB, free: 228.8 MB / 1.151 GB Notification: Performance of matching and sorting (n=41): time 0.004711/8.096, allocations: 1.477 MB / 3.717 GB, free: 227.3 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.448e-05/8.096, allocations: 55.41 kB / 3.717 GB, free: 227.2 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009191/8.097, allocations: 0.5036 MB / 3.717 GB, free: 226.7 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 9.03e-05/8.097, allocations: 25.7 kB / 3.718 GB, free: 226.7 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002001/8.097, allocations: 363 kB / 3.718 GB, free: 226.3 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001391/8.097, allocations: 138 kB / 3.718 GB, free: 226.2 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.257e-05/8.097, allocations: 3.938 kB / 3.718 GB, free: 226.2 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 0.0001279/8.098, allocations: 374.8 kB / 3.718 GB, free: 225.8 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003218/8.098, allocations: 209.2 kB / 3.719 GB, free: 225.6 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003422/8.098, allocations: 320.7 kB / 3.719 GB, free: 225.2 MB / 1.151 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.002687/8.101, allocations: 1.013 MB / 3.72 GB, free: 224.2 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.398e-06/8.101, allocations: 0 / 3.72 GB, free: 224.2 MB / 1.151 GB Notification: Performance of matching and sorting (n=63) (initialization): time 0.002268/8.103, allocations: 0.8269 MB / 3.721 GB, free: 223.4 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.743e-05/8.103, allocations: 8 kB / 3.721 GB, free: 223.4 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.628e-06/8.103, allocations: 0 / 3.721 GB, free: 223.4 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003534/8.104, allocations: 136.8 kB / 3.721 GB, free: 223.2 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006268/8.104, allocations: 135.9 kB / 3.721 GB, free: 223.1 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002478/8.107, allocations: 1.732 MB / 3.723 GB, free: 221.2 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001113/8.108, allocations: 87.84 kB / 3.723 GB, free: 221.2 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.188e-05/8.108, allocations: 24.05 kB / 3.723 GB, free: 221.1 MB / 1.151 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.0002901/8.108, allocations: 121.4 kB / 3.723 GB, free: 221 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002415/8.109, allocations: 71.16 kB / 3.723 GB, free: 220.9 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002536/8.109, allocations: 82.8 kB / 3.723 GB, free: 220.8 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.962e-06/8.109, allocations: 4 kB / 3.723 GB, free: 220.8 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.136e-06/8.109, allocations: 7.906 kB / 3.723 GB, free: 220.8 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002031/8.111, allocations: 0.7111 MB / 3.724 GB, free: 220.1 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003859/8.115, allocations: 1.717 MB / 3.725 GB, free: 218.3 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.841e-06/8.115, allocations: 4 kB / 3.725 GB, free: 218.3 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005648/8.115, allocations: 116.1 kB / 3.725 GB, free: 218.2 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003226/8.116, allocations: 136.8 kB / 3.726 GB, free: 218 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.396e-05/8.116, allocations: 11.98 kB / 3.726 GB, free: 218 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002135/8.118, allocations: 1.735 MB / 3.727 GB, free: 216.2 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.071e-06/8.118, allocations: 8 kB / 3.727 GB, free: 216.2 MB / 1.151 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002424/8.12, allocations: 1.278 MB / 3.729 GB, free: 214.8 MB / 1.151 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.00309/8.123, allocations: 1.974 MB / 3.731 GB, free: 212.6 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005043/8.124, allocations: 220.2 kB / 3.731 GB, free: 212.4 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001911/8.124, allocations: 11.97 kB / 3.731 GB, free: 212.4 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001047/8.125, allocations: 83.86 kB / 3.731 GB, free: 212.3 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.985e-05/8.125, allocations: 31.86 kB / 3.731 GB, free: 212.3 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.05e-05/8.125, allocations: 27.98 kB / 3.731 GB, free: 212.3 MB / 1.151 GB Notification: Performance of sort global known variables: time 0.0004933/8.126, allocations: 399.2 kB / 3.731 GB, free: 211.9 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.002526/8.128, allocations: 0.5073 MB / 3.732 GB, free: 211.4 MB / 1.151 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 (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.002152/8.131, allocations: 1.503 MB / 3.733 GB, free: 210 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.001041/8.132, allocations: 0.5874 MB / 3.734 GB, free: 209.4 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 5.159e-06/8.132, allocations: 0 / 3.734 GB, free: 209.4 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0004656/8.132, allocations: 341.8 kB / 3.734 GB, free: 209.1 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001947/8.134, allocations: 383.3 kB / 3.734 GB, free: 208.7 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004254/8.138, allocations: 1.427 MB / 3.736 GB, free: 207.2 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009523/8.139, allocations: 1.132 MB / 3.737 GB, free: 206 MB / 1.151 GB Notification: Performance of SimCode: time 1.052e-06/8.139, allocations: 0 / 3.737 GB, free: 206 MB / 1.151 GB (rm -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.pipe ; mkfifo Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.pipe >> ../files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeHeatReverseFlowPrescribedHeatFlowRate_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.fmu > Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.pipe 2>&1)