Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Digital.Examples.VectorDelay.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Digital.Examples.VectorDelay,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Digital_Examples_VectorDelay",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Digital.Examples.VectorDelay,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Digital_Examples_VectorDelay",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 trunk/package.mo): time 0.001401/0.001401, allocations: 206.7 kB / 8.543 MB, free: 1.809 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.137/1.137, allocations: 225.5 MB / 234.4 MB, free: 3.398 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008461/0.0008461, allocations: 98.98 kB / 286.3 MB, free: 5.262 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1038/0.1047, allocations: 56.89 MB / 343.2 MB, free: 8.648 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08882/0.1935, allocations: 51.48 MB / 394.7 MB, free: 5.109 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2297/0.4233, allocations: 81.74 MB / 476.4 MB, free: 10.92 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001896/0.4236, allocations: 73.02 kB / 476.5 MB, free: 10.89 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 30 * Number of variables: 30 Notification: Performance of Generate backend data structure: time 0.02414/0.4477, allocations: 14.1 MB / 490.6 MB, free: 15.9 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.586e-05/0.4478, allocations: 8 kB / 490.6 MB, free: 15.89 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001713/0.4479, allocations: 94.88 kB / 490.7 MB, free: 15.79 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006166/0.4486, allocations: 431.7 kB / 491.1 MB, free: 15.34 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.267e-05/0.4486, allocations: 14.92 kB / 491.2 MB, free: 15.32 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.266e-05/0.4487, allocations: 16 kB / 491.2 MB, free: 15.31 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003013/0.449, allocations: 192.3 kB / 491.4 MB, free: 15.18 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004611/0.4495, allocations: 331.2 kB / 491.7 MB, free: 14.9 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.995e-06/0.4495, allocations: 0 / 491.7 MB, free: 14.9 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.002e-05/0.4495, allocations: 11.94 kB / 491.7 MB, free: 14.89 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.959e-06/0.4495, allocations: 0 / 491.7 MB, free: 14.89 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00133/0.4509, allocations: 0.9469 MB / 492.6 MB, free: 14.04 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003495/0.4512, allocations: 309.4 kB / 492.9 MB, free: 13.8 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002957/0.4515, allocations: 256.3 kB / 493.2 MB, free: 13.63 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.069e-05/0.4516, allocations: 0 / 493.2 MB, free: 13.63 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005144/0.4521, allocations: 0.5513 MB / 493.7 MB, free: 13.11 MB / 362.7 MB Notification: Performance of pre-optimization done (n=30): time 1.773e-06/0.4521, allocations: 0 / 493.7 MB, free: 13.11 MB / 362.7 MB Notification: Performance of matching and sorting (n=30): time 0.0007808/0.4529, allocations: 0.5045 MB / 494.3 MB, free: 12.7 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001293/0.453, allocations: 281 kB / 494.5 MB, free: 12.36 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001723/0.4548, allocations: 1.24 MB / 495.8 MB, free: 11.31 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 5.973e-05/0.4548, allocations: 41.45 kB / 495.8 MB, free: 11.27 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.766e-05/0.4549, allocations: 106.2 kB / 495.9 MB, free: 11.16 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.44e-05/0.455, allocations: 66.94 kB / 496 MB, free: 11.11 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.196e-05/0.455, allocations: 7.75 kB / 496 MB, free: 11.1 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001152/0.4552, allocations: 334.4 kB / 496.3 MB, free: 10.77 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002554/0.4554, allocations: 192.8 kB / 496.5 MB, free: 10.65 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002597/0.4557, allocations: 231.6 kB / 496.7 MB, free: 10.48 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002147/0.4559, allocations: 160.7 kB / 496.9 MB, free: 10.38 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.578e-06/0.4559, allocations: 5.312 kB / 496.9 MB, free: 10.37 MB / 362.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0006864/0.4566, allocations: 482 kB / 497.4 MB, free: 10 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.66e-05/0.4566, allocations: 7.984 kB / 497.4 MB, free: 9.996 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.192e-06/0.4567, allocations: 0 / 497.4 MB, free: 9.996 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.668e-05/0.4567, allocations: 8 kB / 497.4 MB, free: 9.988 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.341e-05/0.4567, allocations: 3.938 kB / 497.4 MB, free: 9.984 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.087e-06/0.4567, allocations: 4 kB / 497.4 MB, free: 9.98 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000308/0.457, allocations: 31.83 kB / 497.4 MB, free: 9.949 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001019/0.4571, allocations: 87.92 kB / 497.5 MB, free: 9.863 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 36 ($whenCondition5,$whenCondition6,$PRE.delay.inertialDelaySensitive[3].x,delay.inertialDelaySensitive[3].x,$PRE.delay.inertialDelaySensitive[3].y,delay.inertialDelaySensitive[3].y,delay.inertialDelaySensitive[3].delayTime,delay.inertialDelaySensitive[3].y_auxiliary,delay.inertialDelaySensitive[3].y_old,delay.inertialDelaySensitive[3].lh,delay.inertialDelaySensitive[3].t_next,table2.y,$whenCondition3,$whenCondition4,$PRE.delay.inertialDelaySensitive[2].x,delay.inertialDelaySensitive[2].x,$PRE.delay.inertialDelaySensitive[2].y,delay.inertialDelaySensitive[2].y,delay.inertialDelaySensitive[2].delayTime,delay.inertialDelaySensitive[2].y_auxiliary,delay.inertialDelaySensitive[2].y_old,delay.inertialDelaySensitive[2].lh,delay.inertialDelaySensitive[2].t_next,table1.y,$whenCondition1,$whenCondition2,$PRE.delay.inertialDelaySensitive[1].x,delay.inertialDelaySensitive[1].x,$PRE.delay.inertialDelaySensitive[1].y,delay.inertialDelaySensitive[1].y,delay.inertialDelaySensitive[1].delayTime,delay.inertialDelaySensitive[1].y_auxiliary,delay.inertialDelaySensitive[1].y_old,delay.inertialDelaySensitive[1].lh,delay.inertialDelaySensitive[1].t_next,table.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 6 * 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.0002779/0.4574, allocations: 339.8 kB / 497.8 MB, free: 9.5 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001165/0.4576, allocations: 98.78 kB / 497.9 MB, free: 9.402 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003239/0.4579, allocations: 199.2 kB / 498.1 MB, free: 9.223 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.156e-06/0.4579, allocations: 0 / 498.1 MB, free: 9.223 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.504e-06/0.4579, allocations: 4 kB / 498.1 MB, free: 9.219 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.558e-06/0.4579, allocations: 1.312 kB / 498.1 MB, free: 9.219 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001676/0.4596, allocations: 1.396 MB / 499.5 MB, free: 8.02 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.488e-06/0.4596, allocations: 8 kB / 499.5 MB, free: 8.012 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.613e-06/0.4596, allocations: 0 / 499.5 MB, free: 8.012 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.015e-06/0.4596, allocations: 0 / 499.5 MB, free: 8.012 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.953e-05/0.4597, allocations: 27.48 kB / 499.6 MB, free: 7.988 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.567e-06/0.4597, allocations: 4 kB / 499.6 MB, free: 7.984 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.539e-06/0.4597, allocations: 3.984 kB / 499.6 MB, free: 7.98 MB / 362.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0008974/0.4606, allocations: 0.8668 MB / 0.4887 GB, free: 7.219 MB / 362.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0009981/0.4616, allocations: 1.236 MB / 0.4899 GB, free: 6.086 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000924/0.4626, allocations: 0.6047 MB / 0.4905 GB, free: 5.582 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001733/0.4627, allocations: 58.44 kB / 0.4906 GB, free: 5.539 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003766/0.4631, allocations: 28.59 kB / 0.4906 GB, free: 5.512 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000181/0.4633, allocations: 85.27 kB / 0.4907 GB, free: 5.449 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001148/0.4634, allocations: 99.03 kB / 0.4908 GB, free: 5.355 MB / 362.7 MB Notification: Performance of sort global known variables: time 0.001428/0.4649, allocations: 1.04 MB / 0.4918 GB, free: 4.473 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001177/0.4661, allocations: 92.5 kB / 0.4919 GB, free: 4.383 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 30 ($whenCondition1,$whenCondition2,delay.inertialDelaySensitive[1].x,delay.inertialDelaySensitive[1].y,delay.inertialDelaySensitive[1].delayTime,delay.inertialDelaySensitive[1].y_auxiliary,delay.inertialDelaySensitive[1].y_old,delay.inertialDelaySensitive[1].lh,delay.inertialDelaySensitive[1].t_next,table.y,$whenCondition3,$whenCondition4,delay.inertialDelaySensitive[2].x,delay.inertialDelaySensitive[2].y,delay.inertialDelaySensitive[2].delayTime,delay.inertialDelaySensitive[2].y_auxiliary,delay.inertialDelaySensitive[2].y_old,delay.inertialDelaySensitive[2].lh,delay.inertialDelaySensitive[2].t_next,table1.y,$whenCondition5,$whenCondition6,delay.inertialDelaySensitive[3].x,delay.inertialDelaySensitive[3].y,delay.inertialDelaySensitive[3].delayTime,delay.inertialDelaySensitive[3].y_auxiliary,delay.inertialDelaySensitive[3].y_old,delay.inertialDelaySensitive[3].lh,delay.inertialDelaySensitive[3].t_next,table2.y) * Number of discrete states: 30 (table2.y,delay.inertialDelaySensitive[3].y,delay.inertialDelaySensitive[3].y_auxiliary,delay.inertialDelaySensitive[3].t_next,delay.inertialDelaySensitive[3].delayTime,delay.inertialDelaySensitive[3].lh,delay.inertialDelaySensitive[3].y_old,$whenCondition6,$whenCondition5,delay.inertialDelaySensitive[3].x,table1.y,delay.inertialDelaySensitive[2].y,delay.inertialDelaySensitive[2].y_auxiliary,delay.inertialDelaySensitive[2].t_next,delay.inertialDelaySensitive[2].delayTime,delay.inertialDelaySensitive[2].lh,delay.inertialDelaySensitive[2].y_old,$whenCondition4,$whenCondition3,delay.inertialDelaySensitive[2].x,table.y,delay.inertialDelaySensitive[1].y,delay.inertialDelaySensitive[1].y_auxiliary,delay.inertialDelaySensitive[1].t_next,delay.inertialDelaySensitive[1].delayTime,delay.inertialDelaySensitive[1].lh,delay.inertialDelaySensitive[1].y_old,$whenCondition2,$whenCondition1,delay.inertialDelaySensitive[1].x) * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 6 * 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.0002659/0.4663, allocations: 165.5 kB / 0.492 GB, free: 4.219 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0007952/0.4671, allocations: 0.63 MB / 0.4926 GB, free: 3.719 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 4.358e-06/0.4672, allocations: 0 / 0.4926 GB, free: 3.719 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006222/0.4678, allocations: 0.6425 MB / 0.4933 GB, free: 3.27 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009257/0.4687, allocations: 202.7 kB / 0.4935 GB, free: 3.105 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002825/0.4716, allocations: 1.806 MB / 0.4952 GB, free: 1.438 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009497/0.4725, allocations: 1.12 MB / 0.4963 GB, free: 336 kB / 362.7 MB Notification: Performance of SimCode: time 2.5e-07/0.4725, allocations: 0 / 0.4963 GB, free: 336 kB / 362.7 MB (rm -f Modelica_trunk_Modelica.Electrical.Digital.Examples.VectorDelay.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Digital.Examples.VectorDelay.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Digital.Examples.VectorDelay.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Digital.Examples.VectorDelay.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_Modelica.Electrical.Digital.Examples.VectorDelay_res.mat --tempDir=temp_Modelica_trunk_Modelica_Electrical_Digital_Examples_VectorDelay_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Electrical_Digital_Examples_VectorDelay.fmu > Modelica_trunk_Modelica.Electrical.Digital.Examples.VectorDelay.pipe 2>&1)