Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.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.MixingVolumeMFactor,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMFactor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor,fileNamePrefix="Buildings_maint_7_0_x_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 7.0.3-maint.7.0.x/package.mo): time 1.242/1.242, allocations: 249.4 MB / 256.7 MB, free: 15.84 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001036/0.001036, allocations: 185.1 kB / 316 MB, free: 7.203 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.447/1.447, allocations: 205.1 MB / 0.5667 GB, free: 23.63 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.0008207/0.0008208, allocations: 91.5 kB / 0.671 GB, free: 0.9336 MB / 0.4948 GB Notification: Performance of FrontEnd - loaded program: time 0.2113/0.2121, allocations: 112.5 MB / 0.7808 GB, free: 364 kB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4116/0.6237, allocations: 106.3 MB / 0.8846 GB, free: 76.25 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.988/4.612, allocations: 2.195 GB / 3.079 GB, free: 274.7 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002172/4.612, allocations: 88.77 kB / 3.079 GB, free: 274.6 MB / 0.8698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 280 * Number of variables: 280 Notification: Performance of Generate backend data structure: time 2.016/6.628, allocations: 0.737 GB / 3.816 GB, free: 160.8 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 3.822e-05/6.628, allocations: 10.06 kB / 3.816 GB, free: 160.8 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003196/6.631, allocations: 0.5036 MB / 3.817 GB, free: 160.7 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001966/6.633, allocations: 1.128 MB / 3.818 GB, free: 160.4 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.838e-05/6.633, allocations: 35.97 kB / 3.818 GB, free: 160.4 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001351/6.634, allocations: 73.12 kB / 3.818 GB, free: 160.4 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001435/6.635, allocations: 0.9635 MB / 3.819 GB, free: 160.4 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001562/6.637, allocations: 1.09 MB / 3.82 GB, free: 160.3 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.728e-05/6.637, allocations: 0 / 3.82 GB, free: 160.3 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.441e-05/6.637, allocations: 3.5 kB / 3.82 GB, free: 160.3 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.64e-05/6.637, allocations: 45.64 kB / 3.82 GB, free: 160.3 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004752/6.642, allocations: 4.028 MB / 3.824 GB, free: 158.1 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004875/6.642, allocations: 449.3 kB / 3.824 GB, free: 158 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004241/6.642, allocations: 419.5 kB / 3.825 GB, free: 157.8 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003347/6.643, allocations: 297.5 kB / 3.825 GB, free: 157.5 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.184e-05/6.643, allocations: 46.59 kB / 3.825 GB, free: 157.5 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=73): time 2.345e-06/6.643, allocations: 3.375 kB / 3.825 GB, free: 157.5 MB / 0.8698 GB Notification: Performance of matching and sorting (n=76): time 0.003542/6.646, allocations: 1.956 MB / 3.827 GB, free: 156.5 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.915e-05/6.646, allocations: 59.62 kB / 3.827 GB, free: 156.4 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000609/6.647, allocations: 0.6255 MB / 3.828 GB, free: 156.2 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 5.698e-05/6.647, allocations: 28.73 kB / 3.828 GB, free: 156.1 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001604/6.647, allocations: 452.9 kB / 3.828 GB, free: 155.8 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001603/6.647, allocations: 252.2 kB / 3.828 GB, free: 155.6 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.196e-05/6.647, allocations: 0 / 3.828 GB, free: 155.6 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 6.54e-05/6.648, allocations: 339.4 kB / 3.829 GB, free: 155.3 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003554/6.648, allocations: 299.7 kB / 3.829 GB, free: 155.2 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004365/6.648, allocations: 492.5 kB / 3.829 GB, free: 154.8 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004365/6.649, allocations: 390.5 kB / 3.83 GB, free: 154.7 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/6.649, allocations: 0 / 3.83 GB, free: 154.7 MB / 0.8698 GB Notification: Performance of matching and sorting (n=102) (initialization): time 0.001057/6.65, allocations: 0.872 MB / 3.831 GB, free: 154.4 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.086e-05/6.65, allocations: 3.25 kB / 3.831 GB, free: 154.4 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.015e-06/6.65, allocations: 5.781 kB / 3.831 GB, free: 154.4 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.727e-05/6.65, allocations: 14.47 kB / 3.831 GB, free: 154.4 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006314/6.651, allocations: 167.7 kB / 3.831 GB, free: 154.4 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.548e-06/6.651, allocations: 15 kB / 3.831 GB, free: 154.3 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009475/6.652, allocations: 51.09 kB / 3.831 GB, free: 154.3 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.215e-05/6.652, allocations: 34.56 kB / 3.831 GB, free: 154.3 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * 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.0001337/6.652, allocations: 127.1 kB / 3.831 GB, free: 154.2 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001448/6.652, allocations: 110.8 kB / 3.831 GB, free: 154.2 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002052/6.652, allocations: 122.7 kB / 3.831 GB, free: 154.1 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.831e-06/6.652, allocations: 11.28 kB / 3.831 GB, free: 154.1 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.059e-05/6.652, allocations: 0 / 3.831 GB, free: 154.1 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001025/6.653, allocations: 0.9636 MB / 3.832 GB, free: 153.5 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003116/6.656, allocations: 2.42 MB / 3.835 GB, free: 152.3 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.431e-06/6.656, allocations: 3.438 kB / 3.835 GB, free: 152.3 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006393/6.657, allocations: 147.7 kB / 3.835 GB, free: 152.3 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003251/6.657, allocations: 100.4 kB / 3.835 GB, free: 152.3 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.136e-05/6.657, allocations: 20.06 kB / 3.835 GB, free: 152.3 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001859/6.659, allocations: 2.77 MB / 3.838 GB, free: 149.7 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.673e-06/6.659, allocations: 11.59 kB / 3.838 GB, free: 149.7 MB / 0.8698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001966/6.661, allocations: 1.803 MB / 3.839 GB, free: 148.4 MB / 0.8698 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.002537/6.664, allocations: 2.711 MB / 3.842 GB, free: 146.5 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006142/6.664, allocations: 292.4 kB / 3.842 GB, free: 146.3 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001577/6.665, allocations: 16.78 kB / 3.842 GB, free: 146.3 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009977/6.666, allocations: 60.31 kB / 3.842 GB, free: 146.3 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.123e-05/6.666, allocations: 58.95 kB / 3.842 GB, free: 146.3 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.161e-05/6.666, allocations: 43.03 kB / 3.842 GB, free: 146.3 MB / 0.8698 GB Notification: Performance of sort global known variables: time 0.0006912/6.666, allocations: 490.3 kB / 3.843 GB, free: 146.1 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.002328/6.669, allocations: 0.6665 MB / 3.844 GB, free: 145.8 MB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 26 * 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 (72): * Single equations (assignments): 70 * 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.002014/6.671, allocations: 1.871 MB / 3.845 GB, free: 145.2 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.001164/6.672, allocations: 0.7086 MB / 3.846 GB, free: 145 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 4.93e-06/6.672, allocations: 1.906 kB / 3.846 GB, free: 145 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0007688/6.673, allocations: 0.5699 MB / 3.847 GB, free: 144.7 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003013/6.676, allocations: 0.614 MB / 3.847 GB, free: 144.5 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003781/6.68, allocations: 2.121 MB / 3.849 GB, free: 143.6 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001219/6.681, allocations: 1.377 MB / 3.851 GB, free: 142.9 MB / 0.8698 GB Notification: Performance of SimCode: time 1.462e-06/6.681, allocations: 3.375 kB / 3.851 GB, free: 142.9 MB / 0.8698 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMFactor_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMFactor.fmu > Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.pipe 2>&1)