Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.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 BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeMFactor,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_MixingVolumes_Validation_MixingVolumeMFactor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeMFactor,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_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/BuildSysPro 3.5.0/package.mo): time 0.7523/0.7523, allocations: 127.4 MB / 134.6 MB, free: 4.07 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00129/0.00129, allocations: 183.7 kB / 164.4 MB, free: 6.867 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.867/1.867, allocations: 205.1 MB / 399.1 MB, free: 6.148 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00104/0.00104, allocations: 93.64 kB / 476.3 MB, free: 8.902 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.3675/0.3686, allocations: 82.88 MB / 0.5461 GB, free: 42.67 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1917/0.5603, allocations: 76.75 MB / 0.621 GB, free: 13.84 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.908/6.468, allocations: 2.152 GB / 2.773 GB, free: 45.29 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003449/6.469, allocations: 91.94 kB / 2.773 GB, free: 45.2 MB / 0.6355 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 3.026/9.494, allocations: 0.7577 GB / 3.531 GB, free: 25.74 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.735e-05/9.494, allocations: 11.94 kB / 3.531 GB, free: 25.73 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004476/9.499, allocations: 0.5093 MB / 3.532 GB, free: 25.21 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003776/9.503, allocations: 1.194 MB / 3.533 GB, free: 23.97 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.284e-05/9.503, allocations: 36 kB / 3.533 GB, free: 23.94 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004703/9.503, allocations: 68 kB / 3.533 GB, free: 23.87 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002358/9.506, allocations: 0.9649 MB / 3.534 GB, free: 22.9 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002452/9.508, allocations: 1.09 MB / 3.535 GB, free: 21.78 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.056e-05/9.508, allocations: 0 / 3.535 GB, free: 21.78 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001768/9.508, allocations: 7.906 kB / 3.535 GB, free: 21.77 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.817e-05/9.508, allocations: 38.2 kB / 3.535 GB, free: 21.73 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007163/9.516, allocations: 3.983 MB / 3.539 GB, free: 17.49 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000652/9.516, allocations: 477 kB / 3.539 GB, free: 17.02 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005329/9.517, allocations: 413.3 kB / 3.54 GB, free: 16.61 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00066/9.518, allocations: 466.1 kB / 3.54 GB, free: 16.06 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.655e-05/9.518, allocations: 43.22 kB / 3.54 GB, free: 16.01 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=72): time 4.358e-06/9.518, allocations: 0 / 3.54 GB, free: 16.01 MB / 0.6511 GB Notification: Performance of matching and sorting (n=75): time 0.00558/9.523, allocations: 1.933 MB / 3.542 GB, free: 14.02 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.228e-05/9.523, allocations: 60.06 kB / 3.542 GB, free: 13.95 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001055/9.524, allocations: 0.622 MB / 3.543 GB, free: 13.31 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 0.0001458/9.525, allocations: 29.7 kB / 3.543 GB, free: 13.28 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002382/9.525, allocations: 447.1 kB / 3.543 GB, free: 12.83 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002207/9.525, allocations: 256.2 kB / 3.543 GB, free: 12.58 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.846e-05/9.525, allocations: 0 / 3.543 GB, free: 12.58 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 8.543e-05/9.525, allocations: 334.3 kB / 3.544 GB, free: 12.25 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003993/9.526, allocations: 297.8 kB / 3.544 GB, free: 11.96 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005178/9.526, allocations: 486.1 kB / 3.545 GB, free: 11.4 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005139/9.527, allocations: 376.3 kB / 3.545 GB, free: 11.04 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.131e-06/9.527, allocations: 3.906 kB / 3.545 GB, free: 11.03 MB / 0.6511 GB Notification: Performance of matching and sorting (n=101) (initialization): time 0.001247/9.528, allocations: 0.8683 MB / 3.546 GB, free: 10.15 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.527e-05/9.528, allocations: 7.938 kB / 3.546 GB, free: 10.14 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.372e-05/9.528, allocations: 8.562 kB / 3.546 GB, free: 10.14 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.778e-05/9.528, allocations: 12 kB / 3.546 GB, free: 10.12 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007076/9.529, allocations: 163.8 kB / 3.546 GB, free: 9.965 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.489e-05/9.529, allocations: 11.94 kB / 3.546 GB, free: 9.953 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001262/9.53, allocations: 55.8 kB / 3.546 GB, free: 9.898 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.714e-05/9.53, allocations: 35.94 kB / 3.546 GB, free: 9.863 MB / 0.6511 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 (101): * Single equations (assignments): 101 * 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.0002103/9.53, allocations: 128.6 kB / 3.546 GB, free: 9.73 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002304/9.53, allocations: 102.8 kB / 3.546 GB, free: 9.629 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002892/9.531, allocations: 122.1 kB / 3.546 GB, free: 9.508 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.173e-06/9.531, allocations: 8 kB / 3.546 GB, free: 9.5 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.45e-05/9.531, allocations: 4 kB / 3.546 GB, free: 9.496 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001101/9.532, allocations: 0.9399 MB / 3.547 GB, free: 8.484 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003785/9.536, allocations: 2.36 MB / 3.55 GB, free: 5.996 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.027e-06/9.536, allocations: 8 kB / 3.55 GB, free: 5.988 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007118/9.536, allocations: 148.5 kB / 3.55 GB, free: 5.844 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003188/9.537, allocations: 93.61 kB / 3.55 GB, free: 5.746 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.202e-05/9.537, allocations: 15.98 kB / 3.55 GB, free: 5.73 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001923/9.539, allocations: 2.746 MB / 3.553 GB, free: 2.746 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.264e-06/9.539, allocations: 11.94 kB / 3.553 GB, free: 2.734 MB / 0.6511 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001959/9.541, allocations: 1.764 MB / 3.554 GB, free: 0.7305 MB / 0.6511 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.3896/9.93, allocations: 2.675 MB / 3.557 GB, free: 152.5 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001033/9.931, allocations: 285.7 kB / 3.557 GB, free: 152.4 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000166/9.932, allocations: 15.03 kB / 3.557 GB, free: 152.4 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001117/9.933, allocations: 67.98 kB / 3.557 GB, free: 152.4 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.879e-05/9.933, allocations: 56.45 kB / 3.557 GB, free: 152.4 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.073e-05/9.933, allocations: 40.05 kB / 3.557 GB, free: 152.4 MB / 0.6511 GB Notification: Performance of sort global known variables: time 0.0006842/9.934, allocations: 481.8 kB / 3.558 GB, free: 152.3 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.002827/9.936, allocations: 0.6492 MB / 3.558 GB, free: 152.3 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 25 * 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 (71): * Single equations (assignments): 69 * 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.002505/9.939, allocations: 1.89 MB / 3.56 GB, free: 151.8 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.001165/9.94, allocations: 0.6985 MB / 3.561 GB, free: 151.8 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 6.782e-06/9.94, allocations: 0 / 3.561 GB, free: 151.8 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0007538/9.941, allocations: 0.5721 MB / 3.561 GB, free: 151.6 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003226/9.944, allocations: 0.6204 MB / 3.562 GB, free: 151.6 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003783/9.948, allocations: 2.097 MB / 3.564 GB, free: 151 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001044/9.949, allocations: 1.374 MB / 3.565 GB, free: 150.3 MB / 0.6511 GB Notification: Performance of SimCode: time 7.71e-07/9.949, allocations: 3.375 kB / 3.565 GB, free: 150.3 MB / 0.6511 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Fluid_MixingVolumes_Validation_MixingVolumeMFactor_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Fluid_MixingVolumes_Validation_MixingVolumeMFactor.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.pipe 2>&1)