Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.CoupledVolumesGlycol47.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.CoupledVolumesGlycol47,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Validation_CoupledVolumesGlycol47",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.MixingVolumes.Validation.CoupledVolumesGlycol47,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Validation_CoupledVolumesGlycol47",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.7205/0.7205, allocations: 141.8 MB / 149.1 MB, free: 5.379 MB / 126.2 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001045/0.001045, allocations: 177.2 kB / 181.9 MB, free: 5.148 MB / 158.2 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.236/1.236, allocations: 221.4 MB / 436 MB, free: 9.621 MB / 334.2 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009154/0.0009153, allocations: 104.5 kB / 0.507 GB, free: 6.305 MB / 414.2 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001736/0.001736, allocations: 273.6 kB / 0.5884 GB, free: 51.2 MB / 414.2 MB Notification: Performance of FrontEnd - loaded program: time 0.1598/0.1616, allocations: 89.64 MB / 0.676 GB, free: 9.469 MB / 462.2 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3265/0.4881, allocations: 82.76 MB / 0.7568 GB, free: 28.65 MB / 462.2 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.9576/1.446, allocations: 491.8 MB / 1.237 GB, free: 180.3 MB / 0.7014 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002317/1.446, allocations: 88.97 kB / 1.237 GB, free: 180.2 MB / 0.7014 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 112 * Number of variables: 112 Notification: Performance of Generate backend data structure: time 1.511/2.957, allocations: 0.5388 GB / 1.776 GB, free: 173.8 MB / 0.7014 GB Notification: Performance of prepare preOptimizeDAE: time 3.682e-05/2.957, allocations: 11.88 kB / 1.776 GB, free: 173.8 MB / 0.7014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001163/2.959, allocations: 138.6 kB / 1.776 GB, free: 173.8 MB / 0.7014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009194/2.968, allocations: 4.281 MB / 1.78 GB, free: 173.4 MB / 0.7014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.492e-05/2.968, allocations: 18.41 kB / 1.78 GB, free: 173.4 MB / 0.7014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001299/2.968, allocations: 26.81 kB / 1.78 GB, free: 173.4 MB / 0.7014 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006641/2.969, allocations: 298 kB / 1.781 GB, free: 173.4 MB / 0.7014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007567/2.969, allocations: 451.9 kB / 1.781 GB, free: 173.3 MB / 0.7014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.269e-05/2.969, allocations: 0 / 1.781 GB, free: 173.3 MB / 0.7014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.926e-05/2.97, allocations: 3.344 kB / 1.781 GB, free: 173.3 MB / 0.7014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.107e-05/2.97, allocations: 9.25 kB / 1.781 GB, free: 173.3 MB / 0.7014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002556/2.972, allocations: 2.206 MB / 1.783 GB, free: 172.1 MB / 0.7014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002554/2.972, allocations: 190.6 kB / 1.783 GB, free: 172 MB / 0.7014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001574/2.973, allocations: 129.7 kB / 1.784 GB, free: 172 MB / 0.7014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001037/2.974, allocations: 2.297 MB / 1.786 GB, free: 169.4 MB / 0.7014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.952e-05/2.974, allocations: 41.56 kB / 1.786 GB, free: 169.4 MB / 0.7014 GB Notification: Performance of pre-optimization done (n=31): time 2.775e-06/2.974, allocations: 0 / 1.786 GB, free: 169.4 MB / 0.7014 GB Notification: Performance of matching and sorting (n=43): time 0.005633/2.979, allocations: 1.751 MB / 1.788 GB, free: 168.7 MB / 0.7014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.769e-05/2.979, allocations: 64.2 kB / 1.788 GB, free: 168.7 MB / 0.7014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005942/2.98, allocations: 417.4 kB / 1.788 GB, free: 168.6 MB / 0.7014 GB Notification: Performance of collectPreVariables (initialization): time 4.855e-05/2.98, allocations: 25.7 kB / 1.788 GB, free: 168.5 MB / 0.7014 GB Notification: Performance of collectInitialEqns (initialization): time 0.000174/2.98, allocations: 245.2 kB / 1.788 GB, free: 168.4 MB / 0.7014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001419/2.98, allocations: 151.6 kB / 1.788 GB, free: 168.3 MB / 0.7014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.063e-05/2.98, allocations: 0 / 1.788 GB, free: 168.3 MB / 0.7014 GB Notification: Performance of setup shared object (initialization): time 0.0001178/2.98, allocations: 360.7 kB / 1.789 GB, free: 168 MB / 0.7014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002104/2.981, allocations: 136 kB / 1.789 GB, free: 168 MB / 0.7014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002666/2.981, allocations: 259.5 kB / 1.789 GB, free: 167.9 MB / 0.7014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009713/2.982, allocations: 247.7 kB / 1.789 GB, free: 167.9 MB / 0.7014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.405e-06/2.982, allocations: 3.938 kB / 1.789 GB, free: 167.9 MB / 0.7014 GB Notification: Performance of matching and sorting (n=57) (initialization): time 0.001823/2.984, allocations: 0.6583 MB / 1.79 GB, free: 167.8 MB / 0.7014 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002371/2.984, allocations: 1.135 MB / 1.791 GB, free: 166.6 MB / 0.7014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.036e-05/2.984, allocations: 5.906 kB / 1.791 GB, free: 166.6 MB / 0.7014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005611/2.985, allocations: 175 kB / 1.791 GB, free: 166.6 MB / 0.7014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002578/2.985, allocations: 78.84 kB / 1.791 GB, free: 166.6 MB / 0.7014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001367/2.986, allocations: 1.415 MB / 1.793 GB, free: 165.5 MB / 0.7014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005262/2.987, allocations: 29.98 kB / 1.793 GB, free: 165.5 MB / 0.7014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.767e-05/2.987, allocations: 36.12 kB / 1.793 GB, free: 165.5 MB / 0.7014 GB Notification: Performance of prepare postOptimizeDAE: time 9.588e-06/2.987, allocations: 4.156 kB / 1.793 GB, free: 165.5 MB / 0.7014 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001658/2.989, allocations: 0.5467 MB / 1.793 GB, free: 165.3 MB / 0.7014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.715e-06/2.989, allocations: 2.812 kB / 1.793 GB, free: 165.3 MB / 0.7014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004857/2.989, allocations: 181.3 kB / 1.794 GB, free: 165.2 MB / 0.7014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002463/2.989, allocations: 73.95 kB / 1.794 GB, free: 165.2 MB / 0.7014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001275/2.991, allocations: 1.422 MB / 1.795 GB, free: 164 MB / 0.7014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005061/2.991, allocations: 27.11 kB / 1.795 GB, free: 164 MB / 0.7014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.838e-05/2.991, allocations: 40.81 kB / 1.795 GB, free: 164 MB / 0.7014 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: $DER.vol1.dynBal.medium.T:DUMMY_DER(fixed = false ) "Temperature of medium" type: Real vol1.ports[1].m_flow:VARIABLE(flow=true min = -100000.0 max = 100000.0 unit = "kg/s" ) "Mass flow rate from the connection point into the component" type: Real [1] Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: $DER.vol.dynBal.medium.T:DUMMY_DER(fixed = false ) "Temperature of medium" type: Real vol.dynBal.mb_flow:VARIABLE(unit = "kg/s" protected = true ) "Mass flows across boundaries" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (41): * Single equations (assignments): 39 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {2 8,2 6} Notification: Performance of prepare postOptimizeDAE: time 0.0002213/2.991, allocations: 123.8 kB / 1.795 GB, free: 163.9 MB / 0.7014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003396/2.992, allocations: 83.25 kB / 1.795 GB, free: 163.9 MB / 0.7014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002521/2.994, allocations: 0.9053 MB / 1.796 GB, free: 163.6 MB / 0.7014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.166e-05/2.994, allocations: 7.594 kB / 1.796 GB, free: 163.6 MB / 0.7014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.909e-06/2.994, allocations: 0 / 1.796 GB, free: 163.6 MB / 0.7014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001636/2.996, allocations: 0.7874 MB / 1.797 GB, free: 163.2 MB / 0.7014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002986/2.999, allocations: 1.491 MB / 1.798 GB, free: 162.5 MB / 0.7014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.01e-06/2.999, allocations: 0 / 1.798 GB, free: 162.5 MB / 0.7014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001908/2.999, allocations: 49.64 kB / 1.798 GB, free: 162.5 MB / 0.7014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000488/3, allocations: 170.7 kB / 1.799 GB, free: 162.4 MB / 0.7014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.248e-05/3, allocations: 11.06 kB / 1.799 GB, free: 162.4 MB / 0.7014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001207/3.001, allocations: 1.414 MB / 1.8 GB, free: 161.3 MB / 0.7014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.087e-06/3.001, allocations: 3.969 kB / 1.8 GB, free: 161.3 MB / 0.7014 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002131/3.003, allocations: 1.047 MB / 1.801 GB, free: 160.8 MB / 0.7014 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.002737/3.006, allocations: 1.752 MB / 1.803 GB, free: 159.8 MB / 0.7014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003838/3.006, allocations: 210.2 kB / 1.803 GB, free: 159.6 MB / 0.7014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001412/3.006, allocations: 0 / 1.803 GB, free: 159.6 MB / 0.7014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004895/3.007, allocations: 22.34 kB / 1.803 GB, free: 159.6 MB / 0.7014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.271e-05/3.007, allocations: 30.34 kB / 1.803 GB, free: 159.6 MB / 0.7014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.455e-05/3.007, allocations: 26.34 kB / 1.803 GB, free: 159.6 MB / 0.7014 GB Notification: Performance of sort global known variables: time 0.0003953/3.007, allocations: 317.3 kB / 1.803 GB, free: 159.5 MB / 0.7014 GB Notification: Performance of remove unused functions: time 0.003565/3.011, allocations: 0.7 MB / 1.804 GB, free: 159.2 MB / 0.7014 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (vol.dynBal.medium.T_degC,vol1.dynBal.medium.T_degC) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (32): * Single equations (assignments): 27 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {2 7,2 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.001966/3.013, allocations: 0.6358 MB / 1.805 GB, free: 159 MB / 0.7014 GB Notification: Performance of simCode: created initialization part: time 0.00171/3.015, allocations: 0.7372 MB / 1.805 GB, free: 158.8 MB / 0.7014 GB Notification: Performance of simCode: created event and clocks part: time 4.008e-06/3.015, allocations: 0.5 kB / 1.805 GB, free: 158.8 MB / 0.7014 GB Notification: Performance of simCode: created simulation system equations: time 0.000667/3.015, allocations: 287.1 kB / 1.806 GB, free: 158.7 MB / 0.7014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001752/3.017, allocations: 290.6 kB / 1.806 GB, free: 158.6 MB / 0.7014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002597/3.02, allocations: 0.9742 MB / 1.807 GB, free: 158.2 MB / 0.7014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009508/3.021, allocations: 1.044 MB / 1.808 GB, free: 157.5 MB / 0.7014 GB Notification: Performance of SimCode: time 5.31e-07/3.021, allocations: 0 / 1.808 GB, free: 157.5 MB / 0.7014 GB (rm -f BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.CoupledVolumesGlycol47.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.CoupledVolumesGlycol47.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.CoupledVolumesGlycol47.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.CoupledVolumesGlycol47.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Validation_CoupledVolumesGlycol47_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Validation_CoupledVolumesGlycol47.fmu > BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.CoupledVolumesGlycol47.pipe 2>&1)