Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling.conf.json 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/IDEAS 3.0.0-master/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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) Running command: "" <> buildModelFMU(IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling,fileNamePrefix="IDEAS_IDEAS_Fluid_MixingVolumes_Validation_MixingVolumeAdiabaticCooling",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling,fileNamePrefix="IDEAS_IDEAS_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/Complex 4.0.0+maint.om/package.mo): time 0.00408/0.00408, allocations: 177.2 kB / 7.458 MB, free: 2.504 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8295/0.8295, allocations: 133.5 MB / 141.4 MB, free: 15.7 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.779/1.779, allocations: 221.3 MB / 395 MB, free: 10.22 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001233/0.001233, allocations: 93.09 kB / 477.8 MB, free: 10.82 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.5461/0.5474, allocations: 88.43 MB / 0.5529 GB, free: 89.06 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2367/0.7842, allocations: 82.3 MB / 0.6333 GB, free: 14.03 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.712/5.496, allocations: 1.879 GB / 2.512 GB, free: 90.07 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002729/5.496, allocations: 91.61 kB / 2.512 GB, free: 89.99 MB / 0.6823 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 1.087/6.584, allocations: 360.6 MB / 2.865 GB, free: 2.062 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.678e-05/6.584, allocations: 11.94 kB / 2.865 GB, free: 2.051 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00239/6.586, allocations: 282.7 kB / 2.865 GB, free: 1.773 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00189/6.588, allocations: 0.722 MB / 2.866 GB, free: 1.008 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.067e-05/6.588, allocations: 23.91 kB / 2.866 GB, free: 0.9844 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001976/6.588, allocations: 40 kB / 2.866 GB, free: 0.9453 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001145/6.59, allocations: 458.5 kB / 2.866 GB, free: 0.4961 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001036/6.591, allocations: 491.8 kB / 2.867 GB, free: 12 kB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.523e-05/6.591, allocations: 0 / 2.867 GB, free: 12 kB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.107e-05/6.591, allocations: 0 / 2.867 GB, free: 12 kB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.367/6.958, allocations: 20.89 kB / 2.867 GB, free: 229.1 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003804/6.962, allocations: 2.267 MB / 2.869 GB, free: 228.1 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004604/6.962, allocations: 297.1 kB / 2.869 GB, free: 228.1 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002637/6.962, allocations: 206.8 kB / 2.869 GB, free: 228.1 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002196/6.963, allocations: 105.2 kB / 2.869 GB, free: 228 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.673e-05/6.963, allocations: 34.75 kB / 2.869 GB, free: 228 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=43): time 2.845e-06/6.963, allocations: 0 / 2.869 GB, free: 228 MB / 0.6823 GB Notification: Performance of matching and sorting (n=48): time 0.002646/6.965, allocations: 1.203 MB / 2.871 GB, free: 227.6 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.027e-05/6.965, allocations: 59.56 kB / 2.871 GB, free: 227.5 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004131/6.966, allocations: 386.8 kB / 2.871 GB, free: 227.4 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 3.889e-05/6.966, allocations: 29.55 kB / 2.871 GB, free: 227.4 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001323/6.966, allocations: 254 kB / 2.871 GB, free: 227.2 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001373/6.966, allocations: 167.1 kB / 2.871 GB, free: 227.2 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.002e-05/6.966, allocations: 0 / 2.871 GB, free: 227.2 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.000121/6.966, allocations: 368.1 kB / 2.872 GB, free: 226.9 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002333/6.966, allocations: 160.5 kB / 2.872 GB, free: 226.9 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002738/6.967, allocations: 249.1 kB / 2.872 GB, free: 226.8 MB / 0.6823 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.002476/6.969, allocations: 1.009 MB / 2.873 GB, free: 226.6 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/6.969, allocations: 3.938 kB / 2.873 GB, free: 226.6 MB / 0.6823 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0006871/6.97, allocations: 488.7 kB / 2.874 GB, free: 226.5 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.572e-05/6.97, allocations: 7.656 kB / 2.874 GB, free: 226.5 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.895e-06/6.97, allocations: 3.312 kB / 2.874 GB, free: 226.5 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.967e-05/6.97, allocations: 3.875 kB / 2.874 GB, free: 226.5 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000418/6.97, allocations: 98.17 kB / 2.874 GB, free: 226.5 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.795e-06/6.97, allocations: 3.125 kB / 2.874 GB, free: 226.5 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006655/6.971, allocations: 21.72 kB / 2.874 GB, free: 226.5 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.347e-05/6.971, allocations: 17.53 kB / 2.874 GB, free: 226.5 MB / 0.6823 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.0001345/6.971, allocations: 126.3 kB / 2.874 GB, free: 226.4 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001019/6.971, allocations: 56.47 kB / 2.874 GB, free: 226.4 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001705/6.972, allocations: 68.16 kB / 2.874 GB, free: 226.4 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.891e-06/6.972, allocations: 9.188 kB / 2.874 GB, free: 226.4 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.267e-05/6.972, allocations: 7.094 kB / 2.874 GB, free: 226.4 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005622/6.972, allocations: 492.6 kB / 2.875 GB, free: 226.2 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002062/6.974, allocations: 1.454 MB / 2.876 GB, free: 225.8 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.542e-06/6.974, allocations: 3.625 kB / 2.876 GB, free: 225.8 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000574/6.975, allocations: 119.5 kB / 2.876 GB, free: 225.8 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.018e-05/6.975, allocations: 7.125 kB / 2.876 GB, free: 225.8 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.527e-05/6.975, allocations: 17.22 kB / 2.876 GB, free: 225.8 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.833e-06/6.975, allocations: 6.156 kB / 2.876 GB, free: 225.8 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.433e-06/6.975, allocations: 7.312 kB / 2.876 GB, free: 225.8 MB / 0.6823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001247/6.976, allocations: 1.139 MB / 2.877 GB, free: 225.1 MB / 0.6823 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001833/6.978, allocations: 1.81 MB / 2.879 GB, free: 224.1 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003284/6.978, allocations: 194.9 kB / 2.879 GB, free: 223.9 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.918e-05/6.979, allocations: 7.719 kB / 2.879 GB, free: 223.9 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005838/6.979, allocations: 29.16 kB / 2.879 GB, free: 223.9 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.577e-05/6.979, allocations: 38.56 kB / 2.879 GB, free: 223.9 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.265e-05/6.979, allocations: 25.61 kB / 2.879 GB, free: 223.9 MB / 0.6823 GB Notification: Performance of sort global known variables: time 0.000345/6.98, allocations: 304.9 kB / 2.88 GB, free: 223.8 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.002133/6.982, allocations: 360.4 kB / 2.88 GB, free: 223.8 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 21 * Number of states: 4 (volSim.dynBal.U,volSim.dynBal.mXi[1],volExa.dynBal.U,volExa.dynBal.mXi[1]) * 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.001966/6.984, allocations: 1.206 MB / 2.881 GB, free: 223.6 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0007263/6.984, allocations: 410.6 kB / 2.881 GB, free: 223.6 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 5.04e-06/6.985, allocations: 3.906 kB / 2.881 GB, free: 223.6 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0002841/6.985, allocations: 221.4 kB / 2.882 GB, free: 223.6 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00183/6.987, allocations: 393.7 kB / 2.882 GB, free: 223.6 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002272/6.989, allocations: 1.236 MB / 2.883 GB, free: 223.2 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006764/6.99, allocations: 1.057 MB / 2.884 GB, free: 222.5 MB / 0.6823 GB Notification: Performance of SimCode: time 5.01e-07/6.99, allocations: 0 / 2.884 GB, free: 222.5 MB / 0.6823 GB (rm -f IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling.pipe ; mkfifo IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling.pipe >> ../files/IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_MixingVolumes_Validation_MixingVolumeAdiabaticCooling_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_MixingVolumes_Validation_MixingVolumeAdiabaticCooling.fmu > IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling.pipe 2>&1)