Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.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.MixingVolumeTraceSubstance,fileNamePrefix="Buildings_9_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance,fileNamePrefix="Buildings_9_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstance",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.179/2.179, allocations: 387.2 MB / 394.5 MB, free: 13.68 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.001552/0.001552, allocations: 188.2 kB / 487 MB, free: 5.379 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.53/1.53, allocations: 221.3 MB / 0.7819 GB, free: 1.457 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.00108/0.00108, allocations: 103 kB / 0.9213 GB, free: 2.711 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.6584/0.6595, allocations: 148.5 MB / 1.066 GB, free: 168.2 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2757/0.9352, allocations: 142.3 MB / 1.205 GB, free: 26.17 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.584/5.52, allocations: 1.919 GB / 3.125 GB, free: 384.2 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002395/5.52, allocations: 89.39 kB / 3.125 GB, free: 384.1 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: 212 * Number of variables: 212 Notification: Performance of Generate backend data structure: time 1.716/7.236, allocations: 0.5732 GB / 3.698 GB, free: 238.9 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 5.592e-05/7.236, allocations: 12 kB / 3.698 GB, free: 238.9 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002015/7.238, allocations: 346.3 kB / 3.698 GB, free: 238.5 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001377/7.239, allocations: 0.8108 MB / 3.699 GB, free: 237.7 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003201/7.24, allocations: 109.9 kB / 3.699 GB, free: 237.6 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001046/7.24, allocations: 48 kB / 3.699 GB, free: 237.6 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001114/7.241, allocations: 0.7068 MB / 3.7 GB, free: 236.8 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001201/7.242, allocations: 0.8825 MB / 3.701 GB, free: 235.9 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.489e-05/7.242, allocations: 4 kB / 3.701 GB, free: 235.9 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.495e-05/7.242, allocations: 8 kB / 3.701 GB, free: 235.9 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.74e-05/7.242, allocations: 37.92 kB / 3.701 GB, free: 235.9 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004634/7.247, allocations: 3.979 MB / 3.705 GB, free: 231.7 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003702/7.247, allocations: 254.1 kB / 3.705 GB, free: 231.5 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002219/7.248, allocations: 200.7 kB / 3.705 GB, free: 231.3 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001842/7.248, allocations: 103.2 kB / 3.705 GB, free: 231.1 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.962e-05/7.248, allocations: 38.56 kB / 3.705 GB, free: 231.1 MB / 1.151 GB Notification: Performance of pre-optimization done (n=36): time 2.945e-06/7.248, allocations: 0 / 3.705 GB, free: 231.1 MB / 1.151 GB Notification: Performance of matching and sorting (n=38): time 0.002118/7.25, allocations: 1.119 MB / 3.706 GB, free: 229.9 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.303e-05/7.25, allocations: 59.39 kB / 3.706 GB, free: 229.9 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000565/7.251, allocations: 0.5622 MB / 3.707 GB, free: 229.3 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 3.92e-05/7.251, allocations: 25.7 kB / 3.707 GB, free: 229.3 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.000148/7.251, allocations: 414.3 kB / 3.707 GB, free: 228.8 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 9.165e-05/7.251, allocations: 138 kB / 3.707 GB, free: 228.7 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.549e-05/7.251, allocations: 0 / 3.707 GB, free: 228.7 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 9.057e-05/7.251, allocations: 378.7 kB / 3.708 GB, free: 228.3 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002482/7.251, allocations: 197.2 kB / 3.708 GB, free: 228.1 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003098/7.252, allocations: 360.8 kB / 3.708 GB, free: 227.7 MB / 1.151 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: volDyn.dynBal.medium.p = volDyn.dynBal.p_start (bou.p = volDyn.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.001703/7.253, allocations: 0.7258 MB / 3.709 GB, free: 227 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.365e-06/7.253, allocations: 0 / 3.709 GB, free: 227 MB / 1.151 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.0008325/7.254, allocations: 0.6254 MB / 3.71 GB, free: 226.3 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.304e-05/7.254, allocations: 4 kB / 3.71 GB, free: 226.3 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.388e-06/7.254, allocations: 8 kB / 3.71 GB, free: 226.3 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.923e-05/7.254, allocations: 8 kB / 3.71 GB, free: 226.3 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005487/7.255, allocations: 143.8 kB / 3.71 GB, free: 226.2 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.206e-05/7.255, allocations: 20.03 kB / 3.71 GB, free: 226.2 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008702/7.256, allocations: 83.84 kB / 3.71 GB, free: 226.1 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.738e-05/7.256, allocations: 27.98 kB / 3.71 GB, free: 226.1 MB / 1.151 GB Warning: Assuming redundant initial conditions for the following 1 initial equations: volDyn.dynBal.medium.p = volDyn.dynBal.p_start Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (71): * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001197/7.256, allocations: 124.6 kB / 3.71 GB, free: 225.9 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001095/7.256, allocations: 79.16 kB / 3.71 GB, free: 225.8 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000145/7.256, allocations: 82.78 kB / 3.71 GB, free: 225.8 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.35e-06/7.256, allocations: 4 kB / 3.71 GB, free: 225.8 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.973e-06/7.256, allocations: 0 / 3.71 GB, free: 225.8 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005007/7.257, allocations: 0.6592 MB / 3.711 GB, free: 225 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001835/7.258, allocations: 1.441 MB / 3.712 GB, free: 223.5 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.41e-06/7.258, allocations: 4 kB / 3.712 GB, free: 223.5 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003819/7.259, allocations: 83.89 kB / 3.712 GB, free: 223.4 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.266e-06/7.259, allocations: 8 kB / 3.712 GB, free: 223.4 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.645e-05/7.259, allocations: 7.938 kB / 3.712 GB, free: 223.4 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.809e-06/7.259, allocations: 11.94 kB / 3.712 GB, free: 223.4 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.667e-06/7.259, allocations: 4.438 kB / 3.712 GB, free: 223.4 MB / 1.151 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0007998/7.26, allocations: 0.9691 MB / 3.713 GB, free: 222.2 MB / 1.151 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001237/7.261, allocations: 1.624 MB / 3.715 GB, free: 220.4 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002948/7.261, allocations: 212.2 kB / 3.715 GB, free: 220.2 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001134/7.261, allocations: 8 kB / 3.715 GB, free: 220.2 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006761/7.262, allocations: 51.86 kB / 3.715 GB, free: 220.2 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.306e-05/7.262, allocations: 36.11 kB / 3.715 GB, free: 220.1 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.916e-05/7.262, allocations: 27.98 kB / 3.715 GB, free: 220.1 MB / 1.151 GB Notification: Performance of sort global known variables: time 0.000449/7.263, allocations: 435.1 kB / 3.716 GB, free: 219.7 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.001956/7.265, allocations: 487.9 kB / 3.716 GB, free: 219.2 MB / 1.151 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 3 (volDyn.dynBal.medium.Xi[1],volDyn.dynBal.U,volDyn.dynBal.mC[1]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (38): * Single equations (assignments): 38 * 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 Backend phase and start with SimCode phase: time 0.00171/7.266, allocations: 1.503 MB / 3.718 GB, free: 217.8 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.0007047/7.267, allocations: 443.5 kB / 3.718 GB, free: 217.4 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 3.757e-06/7.267, allocations: 0 / 3.718 GB, free: 217.4 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0001912/7.267, allocations: 181.6 kB / 3.718 GB, free: 217.2 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001763/7.269, allocations: 388.9 kB / 3.718 GB, free: 216.8 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002612/7.272, allocations: 1.397 MB / 3.72 GB, free: 215.4 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008101/7.272, allocations: 1.194 MB / 3.721 GB, free: 214.1 MB / 1.151 GB Notification: Performance of SimCode: time 6.21e-07/7.272, allocations: 0 / 3.721 GB, free: 214.1 MB / 1.151 GB (rm -f Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe ; mkfifo Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe >> ../files/Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstance_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstance.fmu > Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe 2>&1)