Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Delays.Examples.Delay.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.Delays.Examples.Delay,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Delays_Examples_Delay",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Delays.Examples.Delay,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Delays_Examples_Delay",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.003175/0.003175, allocations: 180.8 kB / 7.457 MB, free: 2.508 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.6837/0.6837, allocations: 133.5 MB / 141.4 MB, free: 15.66 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.51/1.51, allocations: 221.3 MB / 395 MB, free: 10.19 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.00104/0.00104, allocations: 111.5 kB / 477.8 MB, free: 10.82 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.4508/0.4519, allocations: 88.42 MB / 0.5529 GB, free: 89.2 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1765/0.6284, allocations: 82.3 MB / 0.6333 GB, free: 14 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.123/4.752, allocations: 1.885 GB / 2.518 GB, free: 60.39 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003452/4.752, allocations: 87.95 kB / 2.518 GB, free: 60.3 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: 113 * Number of variables: 113 Notification: Performance of Generate backend data structure: time 1.757/6.509, allocations: 489.6 MB / 2.996 GB, free: 115.4 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.508e-05/6.509, allocations: 12 kB / 2.996 GB, free: 115.4 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001568/6.511, allocations: 218.9 kB / 2.997 GB, free: 115.2 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00132/6.512, allocations: 0.6426 MB / 2.997 GB, free: 114.5 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.379e-05/6.512, allocations: 12 kB / 2.997 GB, free: 114.5 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.933e-05/6.512, allocations: 28 kB / 2.997 GB, free: 114.5 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006944/6.513, allocations: 369.9 kB / 2.998 GB, free: 114.1 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006509/6.513, allocations: 408.4 kB / 2.998 GB, free: 113.7 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.532e-05/6.513, allocations: 3.938 kB / 2.998 GB, free: 113.7 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.422e-05/6.513, allocations: 0 / 2.998 GB, free: 113.7 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.689e-05/6.514, allocations: 20.98 kB / 2.998 GB, free: 113.7 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002635/6.516, allocations: 2.007 MB / 3 GB, free: 111.5 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004238/6.517, allocations: 301.4 kB / 3 GB, free: 111.2 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002538/6.517, allocations: 186.8 kB / 3.001 GB, free: 111.1 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003232/6.517, allocations: 191.9 kB / 3.001 GB, free: 110.8 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.156e-05/6.517, allocations: 42.84 kB / 3.001 GB, free: 110.8 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=33): time 4.198e-06/6.517, allocations: 0 / 3.001 GB, free: 110.8 MB / 0.6823 GB Notification: Performance of matching and sorting (n=33): time 0.001012/6.518, allocations: 383.3 kB / 3.001 GB, free: 110.4 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.532e-05/6.518, allocations: 55.41 kB / 3.001 GB, free: 110.3 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000372/6.519, allocations: 378.2 kB / 3.002 GB, free: 110 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 3.562e-05/6.519, allocations: 33.64 kB / 3.002 GB, free: 109.9 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001132/6.519, allocations: 233.3 kB / 3.002 GB, free: 109.7 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 7.895e-05/6.519, allocations: 122.2 kB / 3.002 GB, free: 109.6 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.65e-05/6.519, allocations: 0 / 3.002 GB, free: 109.6 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 8.671e-05/6.519, allocations: 358.8 kB / 3.002 GB, free: 109.2 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001584/6.519, allocations: 112.6 kB / 3.002 GB, free: 109.1 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001972/6.519, allocations: 202.4 kB / 3.003 GB, free: 108.9 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001894/6.52, allocations: 151.7 kB / 3.003 GB, free: 108.7 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/6.52, allocations: 0 / 3.003 GB, free: 108.7 MB / 0.6823 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0004856/6.52, allocations: 373.2 kB / 3.003 GB, free: 108.3 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 9.643e-05/6.52, allocations: 360.7 kB / 3.003 GB, free: 108 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.975e-06/6.52, allocations: 4 kB / 3.003 GB, free: 108 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.727e-05/6.52, allocations: 0 / 3.003 GB, free: 108 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003692/6.521, allocations: 79.91 kB / 3.003 GB, free: 107.9 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.805e-06/6.521, allocations: 4 kB / 3.003 GB, free: 107.9 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006201/6.521, allocations: 55.64 kB / 3.003 GB, free: 107.8 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.293e-05/6.521, allocations: 12 kB / 3.004 GB, free: 107.8 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 7.084e-06/6.521, allocations: 6.656 kB / 3.004 GB, free: 107.8 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003951/6.522, allocations: 287.8 kB / 3.004 GB, free: 107.5 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.946e-06/6.522, allocations: 8.094 kB / 3.004 GB, free: 107.5 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.186e-06/6.522, allocations: 0 / 3.004 GB, free: 107.5 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003097/6.522, allocations: 71.91 kB / 3.004 GB, free: 107.4 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.896e-06/6.522, allocations: 3.984 kB / 3.004 GB, free: 107.4 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004667/6.523, allocations: 55.72 kB / 3.004 GB, free: 107.4 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.838e-05/6.523, allocations: 15.98 kB / 3.004 GB, free: 107.4 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (39): * Single equations (assignments): 39 * 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 9.032e-05/6.523, allocations: 120.6 kB / 3.004 GB, free: 107.2 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.046e-05/6.523, allocations: 59.34 kB / 3.004 GB, free: 107.2 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005228/6.523, allocations: 362.7 kB / 3.004 GB, free: 106.8 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.893e-06/6.523, allocations: 7.906 kB / 3.004 GB, free: 106.8 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/6.523, allocations: 0 / 3.004 GB, free: 106.8 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003537/6.524, allocations: 388.9 kB / 3.005 GB, free: 106.4 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001352/6.525, allocations: 1.059 MB / 3.006 GB, free: 105.3 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.394e-06/6.525, allocations: 0 / 3.006 GB, free: 105.3 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004366/6.526, allocations: 87.89 kB / 3.006 GB, free: 105.2 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.739e-06/6.526, allocations: 8.094 kB / 3.006 GB, free: 105.2 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.804e-05/6.526, allocations: 8 kB / 3.006 GB, free: 105.2 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.066e-06/6.526, allocations: 4 kB / 3.006 GB, free: 105.2 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.005e-06/6.526, allocations: 0 / 3.006 GB, free: 105.2 MB / 0.6823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0007168/6.526, allocations: 0.7362 MB / 3.007 GB, free: 104.4 MB / 0.6823 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001159/6.527, allocations: 1.363 MB / 3.008 GB, free: 102.9 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002052/6.528, allocations: 176.3 kB / 3.008 GB, free: 102.8 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.845e-05/6.528, allocations: 0 / 3.008 GB, free: 102.8 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005187/6.528, allocations: 55.78 kB / 3.008 GB, free: 102.7 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.074e-05/6.528, allocations: 19.98 kB / 3.008 GB, free: 102.7 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.745e-05/6.528, allocations: 15.98 kB / 3.008 GB, free: 102.7 MB / 0.6823 GB Notification: Performance of sort global known variables: time 0.0002842/6.529, allocations: 298.8 kB / 3.009 GB, free: 102.4 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.002646/6.531, allocations: 0.691 MB / 3.009 GB, free: 101.7 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 3 (del.dynBal.U,del.dynBal.m,del.dynBal.mXi[1]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (33): * Single equations (assignments): 33 * 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.001852/6.533, allocations: 1.442 MB / 3.011 GB, free: 100.4 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0007204/6.534, allocations: 487 kB / 3.011 GB, free: 99.89 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/6.534, allocations: 0 / 3.011 GB, free: 99.89 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0001986/6.534, allocations: 159.8 kB / 3.011 GB, free: 99.73 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001572/6.536, allocations: 324 kB / 3.012 GB, free: 99.43 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001734/6.538, allocations: 0.9754 MB / 3.013 GB, free: 98.4 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004991/6.538, allocations: 1.003 MB / 3.014 GB, free: 97.38 MB / 0.6823 GB Notification: Performance of SimCode: time 3.6e-07/6.538, allocations: 0 / 3.014 GB, free: 97.38 MB / 0.6823 GB (rm -f IDEAS_dev_IDEAS.Fluid.Delays.Examples.Delay.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Delays.Examples.Delay.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Delays.Examples.Delay.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Delays.Examples.Delay.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Delays_Examples_Delay_fmu --startTime=0 --stopTime=300 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_Delays_Examples_Delay.fmu > IDEAS_dev_IDEAS.Fluid.Delays.Examples.Delay.pipe 2>&1)