Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeSteadyStateMass.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.MixingVolumeSteadyStateMass,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeSteadyStateMass",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeSteadyStateMass,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeSteadyStateMass",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.284/1.284, allocations: 249.4 MB / 256.7 MB, free: 6.984 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009484/0.0009483, allocations: 177.2 kB / 316 MB, free: 3.578 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.197/1.197, allocations: 205.1 MB / 0.5667 GB, free: 15.64 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.0008034/0.0008034, allocations: 82.28 kB / 0.671 GB, free: 4.773 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.3372/0.338, allocations: 112.5 MB / 0.7808 GB, free: 103 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1542/0.4922, allocations: 106.3 MB / 0.8847 GB, free: 12.58 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.659/4.151, allocations: 2.195 GB / 3.079 GB, free: 169.1 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000215/4.151, allocations: 88.45 kB / 3.079 GB, free: 169 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: 106 * Number of variables: 106 Notification: Performance of Generate backend data structure: time 1.063/5.214, allocations: 358.5 MB / 3.429 GB, free: 140.6 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 3.787e-05/5.214, allocations: 11.94 kB / 3.429 GB, free: 140.6 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001027/5.215, allocations: 183 kB / 3.43 GB, free: 140.4 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008408/5.216, allocations: 0.5558 MB / 3.43 GB, free: 139.9 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.491e-05/5.216, allocations: 15.91 kB / 3.43 GB, free: 139.8 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.448e-05/5.216, allocations: 31.94 kB / 3.43 GB, free: 139.8 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005084/5.216, allocations: 357.9 kB / 3.43 GB, free: 139.5 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005269/5.217, allocations: 372.5 kB / 3.431 GB, free: 139.1 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.332e-05/5.217, allocations: 0 / 3.431 GB, free: 139.1 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.749e-05/5.217, allocations: 0 / 3.431 GB, free: 139.1 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.294e-05/5.217, allocations: 21 kB / 3.431 GB, free: 139.1 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002145/5.219, allocations: 1.981 MB / 3.433 GB, free: 136.9 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002291/5.219, allocations: 181.6 kB / 3.433 GB, free: 136.8 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000179/5.22, allocations: 164.9 kB / 3.433 GB, free: 136.6 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002552/5.22, allocations: 198.1 kB / 3.433 GB, free: 136.4 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.721e-05/5.22, allocations: 34.56 kB / 3.433 GB, free: 136.3 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=30): time 1.523e-06/5.22, allocations: 0 / 3.433 GB, free: 136.3 MB / 0.8698 GB Notification: Performance of matching and sorting (n=30): time 0.00089/5.221, allocations: 387.5 kB / 3.434 GB, free: 135.9 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.09e-05/5.221, allocations: 55.41 kB / 3.434 GB, free: 135.9 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002986/5.221, allocations: 333.1 kB / 3.434 GB, free: 135.6 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 3.002e-05/5.221, allocations: 25.7 kB / 3.434 GB, free: 135.5 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 8.858e-05/5.221, allocations: 220 kB / 3.434 GB, free: 135.3 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 6.262e-05/5.221, allocations: 106.4 kB / 3.434 GB, free: 135.2 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.41e-05/5.221, allocations: 0 / 3.434 GB, free: 135.2 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 7.374e-05/5.221, allocations: 354.8 kB / 3.435 GB, free: 134.8 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001343/5.222, allocations: 108 kB / 3.435 GB, free: 134.7 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001736/5.222, allocations: 192.9 kB / 3.435 GB, free: 134.5 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000165/5.222, allocations: 141.5 kB / 3.435 GB, free: 134.4 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/5.222, allocations: 0 / 3.435 GB, free: 134.4 MB / 0.8698 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0004093/5.222, allocations: 337 kB / 3.436 GB, free: 134 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 9.797e-05/5.222, allocations: 0.5388 MB / 3.436 GB, free: 133.5 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.53e-06/5.222, allocations: 0 / 3.436 GB, free: 133.5 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.48e-05/5.222, allocations: 4 kB / 3.436 GB, free: 133.5 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003371/5.223, allocations: 71.91 kB / 3.436 GB, free: 133.4 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.562e-06/5.223, allocations: 11.88 kB / 3.436 GB, free: 133.4 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005036/5.223, allocations: 55.64 kB / 3.436 GB, free: 133.3 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.952e-05/5.223, allocations: 12 kB / 3.436 GB, free: 133.3 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 4.859e-06/5.223, allocations: 4 kB / 3.436 GB, free: 133.3 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003562/5.224, allocations: 271.8 kB / 3.436 GB, free: 133 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.415e-06/5.224, allocations: 4 kB / 3.436 GB, free: 133 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.456e-06/5.224, allocations: 0 / 3.436 GB, free: 133 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002927/5.224, allocations: 75.84 kB / 3.437 GB, free: 133 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.384e-06/5.224, allocations: 4 kB / 3.437 GB, free: 133 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004182/5.225, allocations: 51.86 kB / 3.437 GB, free: 132.9 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.63e-05/5.225, allocations: 16 kB / 3.437 GB, free: 132.9 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (37): * Single equations (assignments): 37 * 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 8.491e-05/5.225, allocations: 112.9 kB / 3.437 GB, free: 132.8 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.337e-05/5.225, allocations: 51.42 kB / 3.437 GB, free: 132.7 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005558/5.225, allocations: 363 kB / 3.437 GB, free: 132.4 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.868e-06/5.225, allocations: 0 / 3.437 GB, free: 132.4 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.055e-06/5.225, allocations: 11.91 kB / 3.437 GB, free: 132.3 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004156/5.226, allocations: 401.2 kB / 3.437 GB, free: 131.9 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001219/5.227, allocations: 1.016 MB / 3.438 GB, free: 130.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.245e-06/5.227, allocations: 0 / 3.438 GB, free: 130.8 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002929/5.227, allocations: 59.91 kB / 3.439 GB, free: 130.8 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002064/5.228, allocations: 49.05 kB / 3.439 GB, free: 130.7 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.449e-05/5.228, allocations: 11.98 kB / 3.439 GB, free: 130.7 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009053/5.228, allocations: 1.389 MB / 3.44 GB, free: 129.2 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.946e-06/5.228, allocations: 4 kB / 3.44 GB, free: 129.2 MB / 0.8698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0006812/5.229, allocations: 0.7371 MB / 3.441 GB, free: 128.4 MB / 0.8698 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001079/5.23, allocations: 1.336 MB / 3.442 GB, free: 127 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001651/5.23, allocations: 164.6 kB / 3.442 GB, free: 126.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.492e-05/5.23, allocations: 0 / 3.442 GB, free: 126.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004336/5.231, allocations: 44 kB / 3.442 GB, free: 126.7 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.397e-05/5.231, allocations: 19.89 kB / 3.442 GB, free: 126.7 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.954e-05/5.231, allocations: 19.98 kB / 3.442 GB, free: 126.7 MB / 0.8698 GB Notification: Performance of sort global known variables: time 0.0002283/5.231, allocations: 263.1 kB / 3.442 GB, free: 126.5 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.002606/5.234, allocations: 0.628 MB / 3.443 GB, free: 125.8 MB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 2 (vol.dynBal.U,vol.dynBal.mXi[1]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (28): * Single equations (assignments): 27 * 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: 1 {(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001363/5.235, allocations: 1.266 MB / 3.444 GB, free: 124.7 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0005554/5.236, allocations: 442.5 kB / 3.445 GB, free: 124.2 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/5.236, allocations: 4.062 kB / 3.445 GB, free: 124.2 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0003077/5.236, allocations: 249.7 kB / 3.445 GB, free: 124 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001224/5.237, allocations: 266.9 kB / 3.445 GB, free: 123.7 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00134/5.239, allocations: 0.8273 MB / 3.446 GB, free: 122.9 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004188/5.239, allocations: 0.9686 MB / 3.447 GB, free: 121.9 MB / 0.8698 GB Notification: Performance of SimCode: time 2.7e-07/5.239, allocations: 0 / 3.447 GB, free: 121.9 MB / 0.8698 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeSteadyStateMass.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeSteadyStateMass.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeSteadyStateMass.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeSteadyStateMass.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeSteadyStateMass_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeSteadyStateMass.fmu > Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeSteadyStateMass.pipe 2>&1)