Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.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.MixingVolumeMFactor,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMFactor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMFactor",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.397/2.397, allocations: 284.8 MB / 292.1 MB, free: 10.74 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.001801/0.001801, allocations: 185.3 kB / 360.3 MB, free: 7.523 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.862/1.862, allocations: 205.1 MB / 0.6187 GB, free: 13.21 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.001311/0.00131, allocations: 96.17 kB / 0.7317 GB, free: 45.11 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2988/0.3001, allocations: 121.4 MB / 0.8502 GB, free: 3.93 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7775/1.078, allocations: 115.2 MB / 0.9627 GB, free: 78.62 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.631/6.709, allocations: 2.076 GB / 3.039 GB, free: 271.7 MB / 0.9323 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003681/6.709, allocations: 89.91 kB / 3.039 GB, free: 271.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: 272 * Number of variables: 272 Notification: Performance of Generate backend data structure: time 3.838/10.55, allocations: 0.7488 GB / 3.788 GB, free: 173.2 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.727e-05/10.55, allocations: 11.22 kB / 3.788 GB, free: 173.2 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0055/10.55, allocations: 0.4991 MB / 3.788 GB, free: 173.1 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003864/10.56, allocations: 1.108 MB / 3.789 GB, free: 172.8 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.997e-05/10.56, allocations: 36.97 kB / 3.789 GB, free: 172.8 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002517/10.56, allocations: 68.23 kB / 3.789 GB, free: 172.8 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002964/10.56, allocations: 0.9604 MB / 3.79 GB, free: 172.8 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003013/10.56, allocations: 1.073 MB / 3.791 GB, free: 172.7 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.36e-05/10.56, allocations: 0 / 3.791 GB, free: 172.7 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000169/10.56, allocations: 3.906 kB / 3.791 GB, free: 172.7 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.991e-05/10.56, allocations: 44.94 kB / 3.791 GB, free: 172.7 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01018/10.57, allocations: 3.967 MB / 3.795 GB, free: 171.2 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001042/10.58, allocations: 455.7 kB / 3.796 GB, free: 171.2 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008842/10.58, allocations: 435.3 kB / 3.796 GB, free: 171.2 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000562/10.58, allocations: 297.6 kB / 3.796 GB, free: 170.9 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.752e-05/10.58, allocations: 48.69 kB / 3.797 GB, free: 170.8 MB / 0.948 GB Notification: Performance of pre-optimization done (n=74): time 3.526e-06/10.58, allocations: 0 / 3.797 GB, free: 170.8 MB / 0.948 GB Notification: Performance of matching and sorting (n=77): time 0.007109/10.58, allocations: 1.976 MB / 3.798 GB, free: 170.4 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.391e-05/10.58, allocations: 58.47 kB / 3.798 GB, free: 170.3 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001177/10.59, allocations: 0.6083 MB / 3.799 GB, free: 170.2 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001446/10.59, allocations: 29.17 kB / 3.799 GB, free: 170.1 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002657/10.59, allocations: 437.8 kB / 3.8 GB, free: 169.9 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.000352/10.59, allocations: 268.6 kB / 3.8 GB, free: 169.8 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.193e-05/10.59, allocations: 0 / 3.8 GB, free: 169.8 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 9.198e-05/10.59, allocations: 334.1 kB / 3.8 GB, free: 169.5 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007511/10.59, allocations: 300.6 kB / 3.8 GB, free: 169.5 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000875/10.59, allocations: 0.4888 MB / 3.801 GB, free: 169.3 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009035/10.59, allocations: 384.6 kB / 3.801 GB, free: 169.3 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.021e-06/10.59, allocations: 3.938 kB / 3.801 GB, free: 169.3 MB / 0.948 GB Notification: Performance of matching and sorting (n=102) (initialization): time 0.002233/10.59, allocations: 0.8857 MB / 3.802 GB, free: 169.2 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 2.184e-05/10.59, allocations: 8.438 kB / 3.802 GB, free: 169.2 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.481e-05/10.59, allocations: 3.875 kB / 3.802 GB, free: 169.2 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.982e-05/10.59, allocations: 7.906 kB / 3.802 GB, free: 169.2 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001407/10.59, allocations: 173.9 kB / 3.802 GB, free: 169.2 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.543e-05/10.59, allocations: 11.33 kB / 3.802 GB, free: 169.2 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002351/10.6, allocations: 55.11 kB / 3.802 GB, free: 169.2 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001429/10.6, allocations: 33.53 kB / 3.802 GB, free: 169.2 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (102): * Single equations (assignments): 102 * 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.0003147/10.6, allocations: 131.8 kB / 3.803 GB, free: 169 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003272/10.6, allocations: 103.6 kB / 3.803 GB, free: 169 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00045/10.6, allocations: 117.2 kB / 3.803 GB, free: 169 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.159e-05/10.6, allocations: 7.219 kB / 3.803 GB, free: 169 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.281e-05/10.6, allocations: 7.406 kB / 3.803 GB, free: 169 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002107/10.6, allocations: 0.9729 MB / 3.804 GB, free: 168.6 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006637/10.61, allocations: 2.468 MB / 3.806 GB, free: 168.1 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.392e-05/10.61, allocations: 6.812 kB / 3.806 GB, free: 168.1 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001408/10.61, allocations: 145.7 kB / 3.806 GB, free: 168.1 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005456/10.61, allocations: 105.1 kB / 3.806 GB, free: 168.1 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.893e-05/10.61, allocations: 10.94 kB / 3.806 GB, free: 168.1 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00291/10.61, allocations: 2.78 MB / 3.809 GB, free: 165.7 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.038e-05/10.61, allocations: 14.12 kB / 3.809 GB, free: 165.7 MB / 0.948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003491/10.61, allocations: 1.859 MB / 3.811 GB, free: 164.8 MB / 0.948 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.004798/10.62, allocations: 2.784 MB / 3.814 GB, free: 163.6 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00096/10.62, allocations: 268.1 kB / 3.814 GB, free: 163.4 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002608/10.62, allocations: 18.61 kB / 3.814 GB, free: 163.4 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001959/10.62, allocations: 53.83 kB / 3.814 GB, free: 163.4 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002468/10.62, allocations: 55.47 kB / 3.814 GB, free: 163.4 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001982/10.62, allocations: 37.81 kB / 3.814 GB, free: 163.4 MB / 0.948 GB Notification: Performance of sort global known variables: time 0.001023/10.62, allocations: 472.5 kB / 3.814 GB, free: 163.3 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.004251/10.63, allocations: 0.6558 MB / 3.815 GB, free: 163.3 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 27 * Number of states: 6 (vol.dynBal.U,vol.dynBal.mXi[1],volMFactor.dynBal.U,volMFactor.dynBal.mXi[1],vol1.dynBal.U,vol1.dynBal.mXi[1]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (73): * Single equations (assignments): 71 * 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: 2 {(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002977/10.63, allocations: 1.865 MB / 3.817 GB, free: 162.9 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.001911/10.63, allocations: 0.7225 MB / 3.818 GB, free: 162.8 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.019e-05/10.63, allocations: 7.406 kB / 3.818 GB, free: 162.8 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.001224/10.63, allocations: 0.5809 MB / 3.818 GB, free: 162.6 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005985/10.64, allocations: 0.6215 MB / 3.819 GB, free: 162.6 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005708/10.65, allocations: 2.09 MB / 3.821 GB, free: 162 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001624/10.65, allocations: 1.357 MB / 3.822 GB, free: 161.3 MB / 0.948 GB Notification: Performance of SimCode: time 1.754e-06/10.65, allocations: 7.078 kB / 3.822 GB, free: 161.3 MB / 0.948 GB (rm -f Buildings_8.0.0_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMFactor_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMFactor.fmu > Buildings_8.0.0_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.pipe 2>&1)