Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeInitialization.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.MixingVolumeInitialization,fileNamePrefix="IDEAS_IDEAS_Fluid_MixingVolumes_Validation_MixingVolumeInitialization",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeInitialization,fileNamePrefix="IDEAS_IDEAS_Fluid_MixingVolumes_Validation_MixingVolumeInitialization",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.003335/0.003335, allocations: 179.7 kB / 7.458 MB, free: 2.5 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7186/0.7186, 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.605/1.605, allocations: 221.3 MB / 395 MB, free: 10.13 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.001066/0.001065, allocations: 103.8 kB / 477.8 MB, free: 10.78 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.5913/0.5925, allocations: 88.42 MB / 0.5529 GB, free: 68.21 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2168/0.8092, allocations: 82.31 MB / 0.6333 GB, free: 2.348 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.149/5.958, allocations: 1.911 GB / 2.544 GB, free: 169 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002709/5.958, allocations: 90.81 kB / 2.544 GB, free: 169 MB / 0.7292 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 173 * Number of variables: 173 Notification: Performance of Generate backend data structure: time 2.095/8.053, allocations: 476.5 MB / 3.01 GB, free: 143.5 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 6.504e-05/8.053, allocations: 9.031 kB / 3.01 GB, free: 143.5 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002352/8.056, allocations: 300 kB / 3.01 GB, free: 143.4 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002384/8.058, allocations: 0.8523 MB / 3.011 GB, free: 143.2 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.888e-05/8.058, allocations: 20.75 kB / 3.011 GB, free: 143.2 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001338/8.058, allocations: 41.34 kB / 3.011 GB, free: 143.2 MB / 0.7292 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001646/8.06, allocations: 0.8792 MB / 3.012 GB, free: 143.2 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001524/8.062, allocations: 0.9017 MB / 3.013 GB, free: 143.1 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.667e-05/8.062, allocations: 3.906 kB / 3.013 GB, free: 143.1 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.54e-05/8.062, allocations: 0 / 3.013 GB, free: 143.1 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001025/8.062, allocations: 85.86 kB / 3.013 GB, free: 143.1 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006132/8.068, allocations: 3.439 MB / 3.016 GB, free: 141.9 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001463/8.069, allocations: 0.7288 MB / 3.017 GB, free: 141.8 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004628/8.07, allocations: 356.1 kB / 3.017 GB, free: 141.8 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002632/8.07, allocations: 197.9 kB / 3.017 GB, free: 141.6 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.357e-05/8.07, allocations: 41.44 kB / 3.017 GB, free: 141.6 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=62): time 3.166e-06/8.07, allocations: 4.438 kB / 3.017 GB, free: 141.6 MB / 0.7292 GB Notification: Performance of matching and sorting (n=62): time 0.00179/8.072, allocations: 0.7557 MB / 3.018 GB, free: 141.5 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.509e-05/8.072, allocations: 114.7 kB / 3.018 GB, free: 141.4 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006862/8.073, allocations: 0.5516 MB / 3.019 GB, free: 141.3 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 5.426e-05/8.073, allocations: 25.7 kB / 3.019 GB, free: 141.2 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002345/8.073, allocations: 312.5 kB / 3.019 GB, free: 141.1 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001934/8.073, allocations: 209.8 kB / 3.019 GB, free: 141 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.828e-05/8.073, allocations: 0 / 3.019 GB, free: 141 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001644/8.074, allocations: 395.8 kB / 3.02 GB, free: 140.6 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000507/8.074, allocations: 308.5 kB / 3.02 GB, free: 140.6 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006323/8.075, allocations: 446.9 kB / 3.02 GB, free: 140.5 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001593/8.076, allocations: 0.6721 MB / 3.021 GB, free: 140.5 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.27e-06/8.076, allocations: 0 / 3.021 GB, free: 140.5 MB / 0.7292 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.002372/8.079, allocations: 1.147 MB / 3.022 GB, free: 140.4 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 0.000339/8.079, allocations: 0.8786 MB / 3.023 GB, free: 139.5 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.511e-05/8.079, allocations: 3.75 kB / 3.023 GB, free: 139.5 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.009e-05/8.079, allocations: 7.531 kB / 3.023 GB, free: 139.5 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007431/8.08, allocations: 139.8 kB / 3.023 GB, free: 139.5 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.234e-05/8.08, allocations: 14.03 kB / 3.023 GB, free: 139.5 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0011/8.081, allocations: 82.69 kB / 3.023 GB, free: 139.5 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001064/8.081, allocations: 35.62 kB / 3.023 GB, free: 139.5 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.335e-05/8.081, allocations: 3.094 kB / 3.023 GB, free: 139.5 MB / 0.7292 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002168/8.083, allocations: 0.9531 MB / 3.024 GB, free: 139.5 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.001e-06/8.083, allocations: 3.969 kB / 3.024 GB, free: 139.5 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.028e-05/8.083, allocations: 10.86 kB / 3.024 GB, free: 139.5 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006545/8.084, allocations: 140 kB / 3.024 GB, free: 139.5 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.345e-06/8.084, allocations: 5 kB / 3.024 GB, free: 139.5 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008928/8.085, allocations: 69.61 kB / 3.024 GB, free: 139.5 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001111/8.085, allocations: 31.97 kB / 3.024 GB, free: 139.5 MB / 0.7292 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (86): * Single equations (assignments): 86 * 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.000233/8.085, allocations: 121 kB / 3.024 GB, free: 139.4 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001757/8.085, allocations: 85.78 kB / 3.025 GB, free: 139.3 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001514/8.087, allocations: 0.7683 MB / 3.025 GB, free: 139.3 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.895e-06/8.087, allocations: 3.938 kB / 3.025 GB, free: 139.3 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.415e-06/8.087, allocations: 3.406 kB / 3.025 GB, free: 139.3 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001027/8.088, allocations: 0.7266 MB / 3.026 GB, free: 139.1 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003299/8.091, allocations: 1.936 MB / 3.028 GB, free: 138.7 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.442e-06/8.091, allocations: 3.719 kB / 3.028 GB, free: 138.7 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006881/8.092, allocations: 141.1 kB / 3.028 GB, free: 138.7 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.236e-05/8.092, allocations: 7.406 kB / 3.028 GB, free: 138.7 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.937e-05/8.092, allocations: 8.875 kB / 3.028 GB, free: 138.7 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.237e-06/8.092, allocations: 15.31 kB / 3.028 GB, free: 138.7 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.261e-06/8.092, allocations: 5.75 kB / 3.028 GB, free: 138.7 MB / 0.7292 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001943/8.094, allocations: 1.527 MB / 3.03 GB, free: 138.2 MB / 0.7292 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.003049/8.097, allocations: 2.445 MB / 3.032 GB, free: 137.2 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006372/8.098, allocations: 241.5 kB / 3.032 GB, free: 137.1 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001541/8.098, allocations: 5.844 kB / 3.032 GB, free: 137.1 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007329/8.099, allocations: 39.47 kB / 3.032 GB, free: 137.1 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000102/8.099, allocations: 47.88 kB / 3.032 GB, free: 137.1 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.985e-05/8.099, allocations: 26.41 kB / 3.032 GB, free: 137.1 MB / 0.7292 GB Notification: Performance of sort global known variables: time 0.0006775/8.1, allocations: 431.6 kB / 3.033 GB, free: 137 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.005975/8.106, allocations: 1.241 MB / 3.034 GB, free: 136.9 MB / 0.7292 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 3 (vol1.dynBal.U,vol1.dynBal.m,vol1.dynBal.mXi[1]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (64): * Single equations (assignments): 64 * 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.00421/8.11, allocations: 1.933 MB / 3.036 GB, free: 136.5 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.001965/8.112, allocations: 1.123 MB / 3.037 GB, free: 136.4 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 8.125e-06/8.112, allocations: 3.656 kB / 3.037 GB, free: 136.4 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0004595/8.112, allocations: 354.8 kB / 3.037 GB, free: 136.4 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002545/8.115, allocations: 426.3 kB / 3.038 GB, free: 136.4 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003404/8.118, allocations: 1.497 MB / 3.039 GB, free: 136 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009548/8.119, allocations: 1.187 MB / 3.04 GB, free: 135.3 MB / 0.7292 GB Notification: Performance of SimCode: time 1.303e-06/8.119, allocations: 3.625 kB / 3.04 GB, free: 135.3 MB / 0.7292 GB (rm -f IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeInitialization.pipe ; mkfifo IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeInitialization.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeInitialization.pipe >> ../files/IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeInitialization.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_MixingVolumes_Validation_MixingVolumeInitialization_fmu --startTime=0 --stopTime=0.001 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_MixingVolumes_Validation_MixingVolumeInitialization.fmu > IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeInitialization.pipe 2>&1)