Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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_IDEAS_Fluid_Delays_Examples_Delay",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Delays.Examples.Delay,fileNamePrefix="IDEAS_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.004794/0.004794, allocations: 177.9 kB / 7.456 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.7225/0.7225, allocations: 133.5 MB / 141.4 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.591/1.591, 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.001191/0.001191, allocations: 101.3 kB / 477.8 MB, free: 10.86 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.4733/0.4745, allocations: 88.42 MB / 0.5529 GB, free: 89 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2061/0.6806, allocations: 82.31 MB / 0.6333 GB, free: 14.01 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.356/5.037, allocations: 1.885 GB / 2.518 GB, free: 67.21 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002243/5.037, allocations: 87.89 kB / 2.518 GB, free: 67.13 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.788/6.825, allocations: 489.6 MB / 2.996 GB, free: 120 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.521e-05/6.825, allocations: 8 kB / 2.996 GB, free: 119.9 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001443/6.827, allocations: 214.8 kB / 2.997 GB, free: 119.7 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001196/6.828, allocations: 0.6458 MB / 2.997 GB, free: 119.1 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.002e-05/6.828, allocations: 16 kB / 2.997 GB, free: 119.1 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.25e-05/6.828, allocations: 28 kB / 2.997 GB, free: 119 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006264/6.829, allocations: 373.8 kB / 2.998 GB, free: 118.7 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006227/6.829, allocations: 404.4 kB / 2.998 GB, free: 118.3 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.971e-05/6.829, allocations: 0 / 2.998 GB, free: 118.3 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.353e-05/6.829, allocations: 0 / 2.998 GB, free: 118.3 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.645e-05/6.829, allocations: 21 kB / 2.998 GB, free: 118.2 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002402/6.832, allocations: 2.013 MB / 3 GB, free: 116.1 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003783/6.832, allocations: 295.5 kB / 3 GB, free: 115.8 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002174/6.832, allocations: 178.8 kB / 3 GB, free: 115.6 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002909/6.833, allocations: 205.4 kB / 3.001 GB, free: 115.4 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.323e-05/6.833, allocations: 42.84 kB / 3.001 GB, free: 115.3 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=33): time 2.134e-06/6.833, allocations: 0 / 3.001 GB, free: 115.3 MB / 0.6823 GB Notification: Performance of matching and sorting (n=33): time 0.0009328/6.834, allocations: 403.2 kB / 3.001 GB, free: 114.9 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.144e-05/6.834, allocations: 55.41 kB / 3.001 GB, free: 114.9 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003572/6.834, allocations: 374.2 kB / 3.002 GB, free: 114.5 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 3.128e-05/6.834, allocations: 25.7 kB / 3.002 GB, free: 114.5 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 9.704e-05/6.834, allocations: 232.7 kB / 3.002 GB, free: 114.2 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 7.565e-05/6.834, allocations: 114.2 kB / 3.002 GB, free: 114.1 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.568e-05/6.834, allocations: 0 / 3.002 GB, free: 114.1 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.00012/6.834, allocations: 362.8 kB / 3.002 GB, free: 113.8 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001577/6.835, allocations: 116.6 kB / 3.002 GB, free: 113.6 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001936/6.835, allocations: 195.1 kB / 3.003 GB, free: 113.4 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000188/6.835, allocations: 159.7 kB / 3.003 GB, free: 113.3 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-06/6.835, allocations: 0 / 3.003 GB, free: 113.3 MB / 0.6823 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.000472/6.835, allocations: 373.6 kB / 3.003 GB, free: 112.9 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 8.33e-05/6.836, allocations: 363.8 kB / 3.003 GB, free: 112.5 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.534e-06/6.836, allocations: 4 kB / 3.003 GB, free: 112.5 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.625e-05/6.836, allocations: 0 / 3.003 GB, free: 112.5 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000372/6.836, allocations: 79.91 kB / 3.003 GB, free: 112.4 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.267e-06/6.836, allocations: 0 / 3.003 GB, free: 112.4 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005783/6.837, allocations: 55.7 kB / 3.004 GB, free: 112.4 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.624e-05/6.837, allocations: 16 kB / 3.004 GB, free: 112.4 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 7.544e-06/6.837, allocations: 4 kB / 3.004 GB, free: 112.4 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003854/6.837, allocations: 287.8 kB / 3.004 GB, free: 112.1 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.654e-06/6.837, allocations: 3.281 kB / 3.004 GB, free: 112.1 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.437e-06/6.837, allocations: 4 kB / 3.004 GB, free: 112.1 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003129/6.837, allocations: 76.09 kB / 3.004 GB, free: 112 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.575e-06/6.837, allocations: 7.938 kB / 3.004 GB, free: 112 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004748/6.838, allocations: 59.64 kB / 3.004 GB, free: 111.9 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.477e-05/6.838, allocations: 8 kB / 3.004 GB, free: 111.9 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 8.893e-05/6.838, allocations: 120.7 kB / 3.004 GB, free: 111.8 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.137e-05/6.838, allocations: 55.34 kB / 3.004 GB, free: 111.7 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005396/6.839, allocations: 362.7 kB / 3.004 GB, free: 111.4 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.631e-06/6.839, allocations: 11.91 kB / 3.004 GB, free: 111.4 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.589e-06/6.839, allocations: 0 / 3.004 GB, free: 111.4 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003536/6.839, allocations: 392.8 kB / 3.005 GB, free: 110.9 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001383/6.84, allocations: 1.046 MB / 3.006 GB, free: 109.8 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.565e-06/6.84, allocations: 0 / 3.006 GB, free: 109.8 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004477/6.841, allocations: 91.88 kB / 3.006 GB, free: 109.8 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.015e-06/6.841, allocations: 7.906 kB / 3.006 GB, free: 109.8 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.899e-05/6.841, allocations: 4 kB / 3.006 GB, free: 109.7 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.286e-06/6.841, allocations: 4 kB / 3.006 GB, free: 109.7 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.254e-06/6.841, allocations: 128 / 3.006 GB, free: 109.7 MB / 0.6823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00074/6.842, allocations: 0.744 MB / 3.007 GB, free: 108.9 MB / 0.6823 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001226/6.843, allocations: 1.359 MB / 3.008 GB, free: 107.5 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002337/6.843, allocations: 176.3 kB / 3.008 GB, free: 107.3 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.487e-05/6.843, allocations: 0 / 3.008 GB, free: 107.3 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005459/6.844, allocations: 51.86 kB / 3.008 GB, free: 107.2 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.917e-05/6.844, allocations: 19.97 kB / 3.008 GB, free: 107.2 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.003e-05/6.844, allocations: 16 kB / 3.008 GB, free: 107.2 MB / 0.6823 GB Notification: Performance of sort global known variables: time 0.0003018/6.844, allocations: 294.8 kB / 3.009 GB, free: 106.9 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.003023/6.847, allocations: 0.7028 MB / 3.009 GB, free: 106.2 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.001974/6.849, allocations: 1.426 MB / 3.011 GB, free: 104.9 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0007639/6.85, allocations: 484.2 kB / 3.011 GB, free: 104.5 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 4.469e-06/6.85, allocations: 0 / 3.011 GB, free: 104.5 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.000223/6.85, allocations: 164.5 kB / 3.011 GB, free: 104.3 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00168/6.852, allocations: 326.1 kB / 3.012 GB, free: 104 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001955/6.854, allocations: 0.9724 MB / 3.013 GB, free: 103 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006316/6.855, allocations: 1.003 MB / 3.014 GB, free: 101.9 MB / 0.6823 GB Notification: Performance of SimCode: time 8.22e-07/6.855, allocations: 4 kB / 3.014 GB, free: 101.9 MB / 0.6823 GB (rm -f IDEAS_IDEAS.Fluid.Delays.Examples.Delay.pipe ; mkfifo IDEAS_IDEAS.Fluid.Delays.Examples.Delay.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Delays.Examples.Delay.pipe >> ../files/IDEAS_IDEAS.Fluid.Delays.Examples.Delay.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Delays_Examples_Delay_fmu --startTime=0 --stopTime=300 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Delays_Examples_Delay.fmu > IDEAS_IDEAS.Fluid.Delays.Examples.Delay.pipe 2>&1)