Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeSteadyStateMass.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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) 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 Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeSteadyStateMass,fileNamePrefix="Buildings_9_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeSteadyStateMass",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeSteadyStateMass,fileNamePrefix="Buildings_9_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 9.1.1-maint.9.1.x/package.mo): time 2.231/2.231, allocations: 387.2 MB / 394.5 MB, free: 13.65 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001573/0.001573, allocations: 184.2 kB / 487 MB, free: 5.367 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.446/1.446, allocations: 221.3 MB / 0.7819 GB, free: 1.406 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001013/0.001012, allocations: 96.16 kB / 0.9213 GB, free: 2.648 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.654/0.655, allocations: 148.4 MB / 1.066 GB, free: 168.2 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2912/0.9462, allocations: 142.3 MB / 1.205 GB, free: 26.15 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.523/5.469, allocations: 1.921 GB / 3.126 GB, free: 402.6 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000296/5.469, allocations: 87.95 kB / 3.126 GB, free: 402.5 MB / 1.151 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 104 * Number of variables: 104 Notification: Performance of Generate backend data structure: time 0.7168/6.186, allocations: 374.3 MB / 3.492 GB, free: 20.29 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.648e-05/6.186, allocations: 11.98 kB / 3.492 GB, free: 20.27 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001378/6.188, allocations: 175 kB / 3.492 GB, free: 20.1 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001212/6.189, allocations: 0.5639 MB / 3.493 GB, free: 19.5 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.214e-05/6.189, allocations: 15.94 kB / 3.493 GB, free: 19.48 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.286e-05/6.189, allocations: 28 kB / 3.493 GB, free: 19.45 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006042/6.19, allocations: 365.7 kB / 3.493 GB, free: 19.09 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005863/6.19, allocations: 368.5 kB / 3.493 GB, free: 18.73 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.525e-05/6.19, allocations: 0 / 3.493 GB, free: 18.73 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.088e-05/6.19, allocations: 0 / 3.493 GB, free: 18.73 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.914e-05/6.19, allocations: 17 kB / 3.493 GB, free: 18.71 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002631/6.193, allocations: 2.027 MB / 3.495 GB, free: 16.54 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003291/6.193, allocations: 262.8 kB / 3.496 GB, free: 16.27 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001924/6.194, allocations: 160.8 kB / 3.496 GB, free: 16.11 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002505/6.194, allocations: 194.2 kB / 3.496 GB, free: 15.89 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.41e-05/6.194, allocations: 38.56 kB / 3.496 GB, free: 15.84 MB / 1.151 GB Notification: Performance of pre-optimization done (n=30): time 2.013e-06/6.194, allocations: 3.984 kB / 3.496 GB, free: 15.84 MB / 1.151 GB Notification: Performance of matching and sorting (n=30): time 0.0009661/6.195, allocations: 378.3 kB / 3.496 GB, free: 15.46 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.943e-05/6.195, allocations: 55.41 kB / 3.496 GB, free: 15.39 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003274/6.195, allocations: 333.1 kB / 3.497 GB, free: 15.06 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 3.278e-05/6.195, allocations: 29.7 kB / 3.497 GB, free: 15.02 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 9.678e-05/6.195, allocations: 216 kB / 3.497 GB, free: 14.8 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 7.049e-05/6.195, allocations: 102.5 kB / 3.497 GB, free: 14.7 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.59e-05/6.195, allocations: 0 / 3.497 GB, free: 14.7 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 7.978e-05/6.196, allocations: 358.7 kB / 3.497 GB, free: 14.34 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001465/6.196, allocations: 108 kB / 3.497 GB, free: 14.24 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001847/6.196, allocations: 192.2 kB / 3.498 GB, free: 14.02 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001802/6.196, allocations: 139.9 kB / 3.498 GB, free: 13.88 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.186e-06/6.196, allocations: 0 / 3.498 GB, free: 13.88 MB / 1.151 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.000467/6.197, allocations: 360.9 kB / 3.498 GB, free: 13.52 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001055/6.197, allocations: 0.5254 MB / 3.499 GB, free: 12.96 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.913e-06/6.197, allocations: 0 / 3.499 GB, free: 12.96 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.531e-05/6.197, allocations: 4 kB / 3.499 GB, free: 12.95 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003548/6.197, allocations: 75.91 kB / 3.499 GB, free: 12.88 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.308e-06/6.197, allocations: 8.016 kB / 3.499 GB, free: 12.87 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005387/6.198, allocations: 59.64 kB / 3.499 GB, free: 12.81 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.349e-05/6.198, allocations: 15.98 kB / 3.499 GB, free: 12.8 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 8.275e-06/6.198, allocations: 4 kB / 3.499 GB, free: 12.79 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003904/6.198, allocations: 271.8 kB / 3.499 GB, free: 12.53 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.475e-06/6.198, allocations: 0 / 3.499 GB, free: 12.53 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.901e-06/6.198, allocations: 4 kB / 3.499 GB, free: 12.52 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003106/6.198, allocations: 76.06 kB / 3.499 GB, free: 12.45 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.661e-06/6.198, allocations: 7.938 kB / 3.499 GB, free: 12.44 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005317/6.199, allocations: 55.7 kB / 3.499 GB, free: 12.39 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.801e-05/6.199, allocations: 16 kB / 3.499 GB, free: 12.37 MB / 1.151 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 0.0001065/6.199, allocations: 112.9 kB / 3.499 GB, free: 12.25 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.499e-05/6.199, allocations: 43.44 kB / 3.499 GB, free: 12.21 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006101/6.2, allocations: 374.9 kB / 3.5 GB, free: 11.84 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.32e-06/6.2, allocations: 4 kB / 3.5 GB, free: 11.83 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.347e-06/6.2, allocations: 3.984 kB / 3.5 GB, free: 11.83 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004586/6.2, allocations: 401.7 kB / 3.5 GB, free: 11.4 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001381/6.202, allocations: 1.022 MB / 3.501 GB, free: 10.31 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.575e-06/6.202, allocations: 0 / 3.501 GB, free: 10.31 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002977/6.202, allocations: 68.11 kB / 3.501 GB, free: 10.25 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002211/6.202, allocations: 48.83 kB / 3.501 GB, free: 10.2 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.708e-05/6.202, allocations: 4 kB / 3.501 GB, free: 10.19 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001112/6.203, allocations: 1.393 MB / 3.503 GB, free: 8.684 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.809e-06/6.203, allocations: 4 kB / 3.503 GB, free: 8.68 MB / 1.151 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0008027/6.204, allocations: 0.7168 MB / 3.503 GB, free: 7.879 MB / 1.151 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001148/6.205, allocations: 1.327 MB / 3.505 GB, free: 6.465 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001956/6.206, allocations: 152.5 kB / 3.505 GB, free: 6.297 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.693e-05/6.206, allocations: 11.98 kB / 3.505 GB, free: 6.285 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004527/6.206, allocations: 39.94 kB / 3.505 GB, free: 6.246 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.813e-05/6.206, allocations: 19.97 kB / 3.505 GB, free: 6.227 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.41e-05/6.206, allocations: 12 kB / 3.505 GB, free: 6.215 MB / 1.151 GB Notification: Performance of sort global known variables: time 0.0002262/6.207, allocations: 259.2 kB / 3.505 GB, free: 5.965 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.00266/6.209, allocations: 0.628 MB / 3.506 GB, free: 5.336 MB / 1.151 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 2 (vol.dynBal.medium.Xi[1],vol.dynBal.U) * 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.001578/6.211, allocations: 1.259 MB / 3.507 GB, free: 4.059 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.0006263/6.211, allocations: 454.9 kB / 3.507 GB, free: 3.613 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 3.907e-06/6.211, allocations: 0 / 3.507 GB, free: 3.613 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0003506/6.212, allocations: 262.5 kB / 3.508 GB, free: 3.348 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001263/6.213, allocations: 275.6 kB / 3.508 GB, free: 3.082 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001432/6.215, allocations: 0.8235 MB / 3.509 GB, free: 2.211 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004558/6.215, allocations: 0.9595 MB / 3.51 GB, free: 1.227 MB / 1.151 GB Notification: Performance of SimCode: time 2.4e-07/6.215, allocations: 4 kB / 3.51 GB, free: 1.223 MB / 1.151 GB (rm -f Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeSteadyStateMass.pipe ; mkfifo Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeSteadyStateMass.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeSteadyStateMass.pipe >> ../files/Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeSteadyStateMass.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeSteadyStateMass_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeSteadyStateMass_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeSteadyStateMass.fmu > Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeSteadyStateMass.pipe 2>&1)