Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_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_dev_IDEAS_Fluid_MixingVolumes_Validation_MixingVolumeAdiabaticCooling",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling,fileNamePrefix="IDEAS_dev_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.003511/0.003511, allocations: 175.8 kB / 7.451 MB, free: 2.316 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7949/0.7949, allocations: 133.5 MB / 141.3 MB, free: 15.69 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.501/1.501, allocations: 221.3 MB / 395 MB, free: 10.15 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.0009936/0.0009937, allocations: 96.33 kB / 477.8 MB, free: 10.8 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.4529/0.4539, allocations: 88.42 MB / 0.5529 GB, free: 89.1 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1705/0.6244, allocations: 82.31 MB / 0.6333 GB, free: 14.02 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.048/4.672, allocations: 1.879 GB / 2.512 GB, free: 66.52 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002495/4.673, allocations: 79.95 kB / 2.512 GB, free: 66.45 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.377/6.05, allocations: 360.6 MB / 2.865 GB, free: 159.6 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.106e-05/6.05, allocations: 10.34 kB / 2.865 GB, free: 159.6 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001894/6.052, allocations: 286.7 kB / 2.865 GB, free: 159.5 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001254/6.053, allocations: 0.7185 MB / 2.866 GB, free: 159.3 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.729e-05/6.053, allocations: 22.12 kB / 2.866 GB, free: 159.3 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.438e-05/6.053, allocations: 36.06 kB / 2.866 GB, free: 159.3 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007718/6.054, allocations: 457.9 kB / 2.866 GB, free: 159.3 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007811/6.055, allocations: 482.9 kB / 2.867 GB, free: 159.2 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.225e-05/6.055, allocations: 0 / 2.867 GB, free: 159.2 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.334e-05/6.055, allocations: 11.56 kB / 2.867 GB, free: 159.2 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.63e-05/6.055, allocations: 23.56 kB / 2.867 GB, free: 159.2 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002762/6.058, allocations: 2.262 MB / 2.869 GB, free: 158.2 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004424/6.058, allocations: 300.4 kB / 2.869 GB, free: 158.2 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002597/6.059, allocations: 201.1 kB / 2.869 GB, free: 158.2 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001996/6.059, allocations: 101.9 kB / 2.869 GB, free: 158.1 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.176e-05/6.059, allocations: 41.39 kB / 2.869 GB, free: 158.1 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=43): time 1.893e-06/6.059, allocations: 3.938 kB / 2.869 GB, free: 158.1 MB / 0.6823 GB Notification: Performance of matching and sorting (n=48): time 0.002442/6.061, allocations: 1.205 MB / 2.871 GB, free: 157.7 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.318e-05/6.061, allocations: 55.75 kB / 2.871 GB, free: 157.6 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000409/6.062, allocations: 387 kB / 2.871 GB, free: 157.5 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 3.955e-05/6.062, allocations: 29.64 kB / 2.871 GB, free: 157.5 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001165/6.062, allocations: 259.1 kB / 2.871 GB, free: 157.4 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001278/6.062, allocations: 162.6 kB / 2.871 GB, free: 157.3 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.006e-05/6.062, allocations: 0 / 2.871 GB, free: 157.3 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.000102/6.062, allocations: 371.6 kB / 2.872 GB, free: 157 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000212/6.062, allocations: 159.7 kB / 2.872 GB, free: 157 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002449/6.063, allocations: 244.1 kB / 2.872 GB, free: 156.9 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.002385/6.065, allocations: 1.008 MB / 2.873 GB, free: 156.7 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/6.065, allocations: 0 / 2.873 GB, free: 156.7 MB / 0.6823 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0006749/6.066, allocations: 0.489 MB / 2.874 GB, free: 156.6 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.711e-05/6.066, allocations: 3.969 kB / 2.874 GB, free: 156.6 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.877e-06/6.066, allocations: 3.375 kB / 2.874 GB, free: 156.6 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.092e-05/6.066, allocations: 3.969 kB / 2.874 GB, free: 156.6 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004301/6.066, allocations: 97.16 kB / 2.874 GB, free: 156.6 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.326e-06/6.066, allocations: 7.25 kB / 2.874 GB, free: 156.6 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006882/6.067, allocations: 28.48 kB / 2.874 GB, free: 156.6 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.908e-05/6.067, allocations: 14.28 kB / 2.874 GB, free: 156.6 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.0001367/6.067, allocations: 125.5 kB / 2.874 GB, free: 156.5 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001049/6.067, allocations: 59.81 kB / 2.874 GB, free: 156.5 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001658/6.067, allocations: 72.39 kB / 2.874 GB, free: 156.5 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.702e-06/6.067, allocations: 6.5 kB / 2.874 GB, free: 156.5 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.118e-05/6.068, allocations: 0 / 2.874 GB, free: 156.5 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005621/6.068, allocations: 489.7 kB / 2.875 GB, free: 156.3 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002002/6.07, allocations: 1.455 MB / 2.876 GB, free: 155.9 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.099e-06/6.07, allocations: 3.812 kB / 2.876 GB, free: 155.9 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005676/6.071, allocations: 117.3 kB / 2.876 GB, free: 155.9 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.015e-05/6.071, allocations: 7.812 kB / 2.876 GB, free: 155.9 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.219e-05/6.071, allocations: 14.03 kB / 2.876 GB, free: 155.9 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.332e-06/6.071, allocations: 9.781 kB / 2.876 GB, free: 155.9 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.324e-06/6.071, allocations: 13.97 kB / 2.876 GB, free: 155.9 MB / 0.6823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001046/6.072, allocations: 1.141 MB / 2.877 GB, free: 155.2 MB / 0.6823 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001544/6.073, allocations: 1.805 MB / 2.879 GB, free: 154.1 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002788/6.074, allocations: 185.4 kB / 2.879 GB, free: 154 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.279e-05/6.074, allocations: 11.77 kB / 2.879 GB, free: 154 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006082/6.074, allocations: 30.81 kB / 2.879 GB, free: 154 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.066e-05/6.074, allocations: 44.33 kB / 2.879 GB, free: 154 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.831e-05/6.075, allocations: 21.47 kB / 2.879 GB, free: 154 MB / 0.6823 GB Notification: Performance of sort global known variables: time 0.000306/6.075, allocations: 304.8 kB / 2.88 GB, free: 153.9 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.001634/6.076, allocations: 373.5 kB / 2.88 GB, free: 153.9 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.001513/6.078, allocations: 1.211 MB / 2.881 GB, free: 153.7 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0006934/6.079, allocations: 403.1 kB / 2.881 GB, free: 153.7 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 5.31e-06/6.079, allocations: 6.219 kB / 2.881 GB, free: 153.7 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0002819/6.079, allocations: 218.2 kB / 2.882 GB, free: 153.7 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001873/6.081, allocations: 387.8 kB / 2.882 GB, free: 153.7 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002083/6.083, allocations: 1.233 MB / 2.883 GB, free: 153.2 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006189/6.084, allocations: 1.054 MB / 2.884 GB, free: 152.5 MB / 0.6823 GB Notification: Performance of SimCode: time 1.333e-06/6.084, allocations: 0 / 2.884 GB, free: 152.5 MB / 0.6823 GB (rm -f IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_MixingVolumes_Validation_MixingVolumeAdiabaticCooling_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_MixingVolumes_Validation_MixingVolumeAdiabaticCooling.fmu > IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling.pipe 2>&1)