Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling,fileNamePrefix="Buildings_latest_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeAdiabaticCooling",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling,fileNamePrefix="Buildings_latest_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeAdiabaticCooling",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 10.0.0-master/package.mo): time 2.33/2.33, allocations: 390.4 MB / 397.7 MB, free: 11.24 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.001859/0.001859, allocations: 178.6 kB / 490.8 MB, free: 1.93 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.685/1.685, allocations: 221.3 MB / 0.7863 GB, free: 13.65 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001212/0.001212, allocations: 84.73 kB / 0.9264 GB, free: 14.18 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 0.7575/0.7588, allocations: 149.1 MB / 1.072 GB, free: 182.5 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2902/1.049, allocations: 143 MB / 1.212 GB, free: 40.02 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.678/5.727, allocations: 1.917 GB / 3.129 GB, free: 419.9 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002596/5.727, allocations: 87.95 kB / 3.129 GB, free: 419.9 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: 142 * Number of variables: 142 Notification: Performance of Generate backend data structure: time 0.6949/6.422, allocations: 365.4 MB / 3.486 GB, free: 47.17 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.183e-05/6.422, allocations: 8 kB / 3.486 GB, free: 47.16 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001876/6.424, allocations: 290.7 kB / 3.486 GB, free: 46.88 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001194/6.425, allocations: 0.7259 MB / 3.487 GB, free: 46.11 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.148e-05/6.426, allocations: 20 kB / 3.487 GB, free: 46.09 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.29e-05/6.426, allocations: 39.91 kB / 3.487 GB, free: 46.05 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007412/6.426, allocations: 462.5 kB / 3.487 GB, free: 45.59 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007491/6.427, allocations: 487.8 kB / 3.488 GB, free: 45.11 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.263e-05/6.427, allocations: 4 kB / 3.488 GB, free: 45.11 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.28e-05/6.427, allocations: 3.984 kB / 3.488 GB, free: 45.11 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.16e-05/6.427, allocations: 25.25 kB / 3.488 GB, free: 45.08 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002753/6.43, allocations: 2.332 MB / 3.49 GB, free: 42.59 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003555/6.43, allocations: 261.9 kB / 3.49 GB, free: 42.32 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000257/6.431, allocations: 204.9 kB / 3.49 GB, free: 42.12 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001947/6.431, allocations: 101.1 kB / 3.49 GB, free: 42 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.079e-05/6.431, allocations: 39.27 kB / 3.49 GB, free: 41.96 MB / 1.151 GB Notification: Performance of pre-optimization done (n=43): time 2.755e-06/6.431, allocations: 0 / 3.49 GB, free: 41.96 MB / 1.151 GB Notification: Performance of matching and sorting (n=48): time 0.002446/6.433, allocations: 1.211 MB / 3.492 GB, free: 40.7 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.132e-05/6.433, allocations: 55.84 kB / 3.492 GB, free: 40.63 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003837/6.434, allocations: 386.2 kB / 3.492 GB, free: 40.25 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 3.468e-05/6.434, allocations: 25.7 kB / 3.492 GB, free: 40.21 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 9.677e-05/6.434, allocations: 256.4 kB / 3.492 GB, free: 39.96 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001068/6.434, allocations: 165.5 kB / 3.492 GB, free: 39.79 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.928e-05/6.434, allocations: 0 / 3.492 GB, free: 39.79 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 9.138e-05/6.434, allocations: 370.8 kB / 3.493 GB, free: 39.42 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002087/6.434, allocations: 165 kB / 3.493 GB, free: 39.26 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002973/6.435, allocations: 244 kB / 3.493 GB, free: 38.99 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: volExa.dynBal.medium.p = volExa.dynBal.p_start (bou.p = volExa.dynBal.p_start) Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: volSim.dynBal.medium.p = volSim.dynBal.p_start (bou.p = volSim.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.002537/6.437, allocations: 1.035 MB / 3.494 GB, free: 37.92 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.943e-06/6.437, allocations: 0 / 3.494 GB, free: 37.92 MB / 1.151 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0006611/6.438, allocations: 0.4944 MB / 3.495 GB, free: 37.42 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.573e-05/6.438, allocations: 6.656 kB / 3.495 GB, free: 37.42 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.995e-06/6.438, allocations: 4 kB / 3.495 GB, free: 37.41 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.537e-05/6.438, allocations: 0 / 3.495 GB, free: 37.41 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004275/6.438, allocations: 91.91 kB / 3.495 GB, free: 37.32 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.016e-06/6.438, allocations: 4 kB / 3.495 GB, free: 37.32 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007166/6.439, allocations: 39.97 kB / 3.495 GB, free: 37.28 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.285e-05/6.439, allocations: 16 kB / 3.495 GB, free: 37.27 MB / 1.151 GB Warning: Assuming redundant initial conditions for the following 2 initial equations: volExa.dynBal.medium.p = volExa.dynBal.p_start volSim.dynBal.medium.p = volSim.dynBal.p_start 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 (56): * Single equations (assignments): 56 * 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.0001235/6.439, allocations: 116.8 kB / 3.495 GB, free: 37.14 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.259e-05/6.439, allocations: 63.25 kB / 3.495 GB, free: 37.08 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001619/6.44, allocations: 73.59 kB / 3.495 GB, free: 37.01 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.401e-06/6.44, allocations: 4 kB / 3.495 GB, free: 37.01 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.773e-06/6.44, allocations: 3.938 kB / 3.495 GB, free: 37 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005105/6.44, allocations: 497.8 kB / 3.496 GB, free: 36.49 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001967/6.442, allocations: 1.453 MB / 3.497 GB, free: 34.93 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.682e-06/6.442, allocations: 7.984 kB / 3.497 GB, free: 34.92 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006152/6.443, allocations: 115.9 kB / 3.497 GB, free: 34.81 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.548e-06/6.443, allocations: 8 kB / 3.497 GB, free: 34.8 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.981e-05/6.443, allocations: 12 kB / 3.497 GB, free: 34.79 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.404e-06/6.443, allocations: 12.55 kB / 3.497 GB, free: 34.78 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.221e-06/6.443, allocations: 11.94 kB / 3.497 GB, free: 34.77 MB / 1.151 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0009999/6.444, allocations: 1.084 MB / 3.498 GB, free: 33.47 MB / 1.151 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001332/6.445, allocations: 1.756 MB / 3.5 GB, free: 31.51 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002502/6.445, allocations: 188.3 kB / 3.5 GB, free: 31.31 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.122e-05/6.446, allocations: 15.98 kB / 3.5 GB, free: 31.29 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005853/6.446, allocations: 27.83 kB / 3.5 GB, free: 31.27 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.946e-05/6.446, allocations: 39.88 kB / 3.5 GB, free: 31.23 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.374e-05/6.446, allocations: 27.98 kB / 3.5 GB, free: 31.2 MB / 1.151 GB Notification: Performance of sort global known variables: time 0.0003514/6.447, allocations: 302.9 kB / 3.501 GB, free: 30.91 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.001696/6.448, allocations: 360 kB / 3.501 GB, free: 30.55 MB / 1.151 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 21 * Number of states: 4 (volSim.dynBal.medium.Xi[1],volSim.dynBal.U,volExa.dynBal.medium.Xi[1],volExa.dynBal.U) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (49): * Single equations (assignments): 49 * 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.001388/6.45, allocations: 1.218 MB / 3.502 GB, free: 29.33 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.0006563/6.45, allocations: 404.5 kB / 3.502 GB, free: 28.93 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 4.448e-06/6.45, allocations: 4 kB / 3.502 GB, free: 28.93 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0002678/6.451, allocations: 217.1 kB / 3.503 GB, free: 28.72 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001761/6.452, allocations: 379.9 kB / 3.503 GB, free: 28.36 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002333/6.455, allocations: 1.254 MB / 3.504 GB, free: 27.01 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000655/6.455, allocations: 1.065 MB / 3.505 GB, free: 25.92 MB / 1.151 GB Notification: Performance of SimCode: time 9.02e-07/6.455, allocations: 0 / 3.505 GB, free: 25.92 MB / 1.151 GB (rm -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling.pipe ; mkfifo Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling.pipe >> ../files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeAdiabaticCooling_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeAdiabaticCooling.fmu > Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling.pipe 2>&1)