Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Digital.Examples.VectorDelay.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Digital.Examples.VectorDelay,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Digital_Examples_VectorDelay",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Digital.Examples.VectorDelay,fileNamePrefix="Modelica_3_2_3_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 3.2.3+maint.om/package.mo): time 0.0009757/0.0009757, allocations: 179.9 kB / 8.474 MB, free: 1.879 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.066/1.066, allocations: 205.2 MB / 214.1 MB, free: 5.078 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008709/0.0008709, allocations: 97.95 kB / 262.1 MB, free: 5.117 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1583/0.1592, allocations: 52.96 MB / 315.1 MB, free: 41.39 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06709/0.2263, allocations: 47.57 MB / 362.6 MB, free: 9.855 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2157/0.4421, allocations: 80.02 MB / 442.6 MB, free: 10.73 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001626/0.4423, allocations: 71.8 kB / 442.7 MB, free: 10.73 MB / 314.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.0233/0.4656, allocations: 13.93 MB / 456.6 MB, free: 6.242 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.003e-05/0.4656, allocations: 7.625 kB / 456.6 MB, free: 6.242 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001376/0.4658, allocations: 92.34 kB / 456.7 MB, free: 6.195 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004847/0.4663, allocations: 426.4 kB / 457.2 MB, free: 5.879 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.841e-05/0.4663, allocations: 10.34 kB / 457.2 MB, free: 5.879 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.851e-05/0.4664, allocations: 14.44 kB / 457.2 MB, free: 5.879 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002768/0.4667, allocations: 192.6 kB / 457.4 MB, free: 5.848 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004204/0.4671, allocations: 338.5 kB / 457.7 MB, free: 5.711 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.504e-06/0.4671, allocations: 0 / 457.7 MB, free: 5.711 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.877e-05/0.4672, allocations: 10.33 kB / 457.7 MB, free: 5.707 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.24e-06/0.4672, allocations: 2.5 kB / 457.7 MB, free: 5.707 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001231/0.4684, allocations: 0.951 MB / 458.7 MB, free: 5.098 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003457/0.4688, allocations: 294.6 kB / 458.9 MB, free: 4.996 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002829/0.4691, allocations: 256.4 kB / 459.2 MB, free: 4.941 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.057e-06/0.4691, allocations: 5.5 kB / 459.2 MB, free: 4.938 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004915/0.4696, allocations: 0.5547 MB / 459.8 MB, free: 4.586 MB / 314.7 MB Notification: Performance of pre-optimization done (n=30): time 1.883e-06/0.4696, allocations: 3.938 kB / 459.8 MB, free: 4.582 MB / 314.7 MB Notification: Performance of matching and sorting (n=30): time 0.0008473/0.4704, allocations: 0.507 MB / 460.3 MB, free: 4.43 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.95e-05/0.4705, allocations: 288.7 kB / 460.5 MB, free: 4.105 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001728/0.4723, allocations: 1.238 MB / 461.8 MB, free: 3.586 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 5.43e-05/0.4723, allocations: 40.06 kB / 461.8 MB, free: 3.551 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.809e-05/0.4724, allocations: 103.9 kB / 461.9 MB, free: 3.457 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.8e-05/0.4725, allocations: 65.95 kB / 462 MB, free: 3.418 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.503e-05/0.4725, allocations: 7.969 kB / 462 MB, free: 3.418 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 6.997e-05/0.4726, allocations: 336 kB / 462.3 MB, free: 3.098 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003176/0.4729, allocations: 197.5 kB / 462.5 MB, free: 3.07 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003882/0.4733, allocations: 229.4 kB / 462.7 MB, free: 3.012 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002614/0.4736, allocations: 158.9 kB / 462.9 MB, free: 2.98 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.4736, allocations: 1.375 kB / 462.9 MB, free: 2.98 MB / 314.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0006429/0.4743, allocations: 482.5 kB / 463.4 MB, free: 2.859 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.468e-05/0.4743, allocations: 5.5 kB / 463.4 MB, free: 2.859 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.031e-06/0.4743, allocations: 5.312 kB / 463.4 MB, free: 2.855 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.624e-05/0.4743, allocations: 1.375 kB / 463.4 MB, free: 2.855 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.371e-05/0.4743, allocations: 4.812 kB / 463.4 MB, free: 2.855 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.43e-06/0.4744, allocations: 6.75 kB / 463.4 MB, free: 2.852 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003309/0.4747, allocations: 33.69 kB / 463.4 MB, free: 2.836 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.718e-05/0.4748, allocations: 83.69 kB / 463.5 MB, free: 2.832 MB / 314.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.0002329/0.475, allocations: 339.9 kB / 463.8 MB, free: 2.516 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001173/0.4752, allocations: 101.7 kB / 463.9 MB, free: 2.465 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003213/0.4755, allocations: 198.7 kB / 464.1 MB, free: 2.355 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.059e-06/0.4755, allocations: 7.5 kB / 464.1 MB, free: 2.352 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.58e-06/0.4755, allocations: 0 / 464.1 MB, free: 2.352 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.471e-06/0.4755, allocations: 7.859 kB / 464.1 MB, free: 2.348 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001485/0.477, allocations: 1.38 MB / 465.5 MB, free: 1.621 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.404e-06/0.477, allocations: 3.938 kB / 465.5 MB, free: 1.617 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.175e-06/0.477, allocations: 2.844 kB / 465.5 MB, free: 1.617 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.925e-06/0.4771, allocations: 0 / 465.5 MB, free: 1.617 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.828e-05/0.4771, allocations: 32.17 kB / 465.6 MB, free: 1.609 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.875e-06/0.4771, allocations: 0.9688 kB / 465.6 MB, free: 1.609 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.815e-06/0.4771, allocations: 1.188 kB / 465.6 MB, free: 1.609 MB / 314.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0009291/0.4781, allocations: 0.8612 MB / 466.4 MB, free: 1.16 MB / 314.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0009367/0.479, allocations: 1.229 MB / 467.7 MB, free: 360 kB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009606/0.48, allocations: 0.6052 MB / 468.3 MB, free: 32 kB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001945/0.4802, allocations: 63.39 kB / 468.3 MB, free: 16 kB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004146/0.4806, allocations: 34.06 kB / 468.4 MB, free: 4 kB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003148/0.4809, allocations: 89.36 kB / 468.4 MB, free: 15.99 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001225/0.4811, allocations: 109.3 kB / 468.6 MB, free: 15.97 MB / 330.7 MB Notification: Performance of sort global known variables: time 0.001511/0.4826, allocations: 1.04 MB / 469.6 MB, free: 15.54 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001168/0.4838, allocations: 95.27 kB / 469.7 MB, free: 15.54 MB / 330.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.000247/0.484, allocations: 168.2 kB / 469.9 MB, free: 15.44 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0008218/0.4848, allocations: 0.6357 MB / 470.5 MB, free: 15.19 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.896e-06/0.4849, allocations: 0 / 470.5 MB, free: 15.19 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005762/0.4854, allocations: 0.6346 MB / 471.1 MB, free: 14.96 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009412/0.4864, allocations: 216.6 kB / 471.3 MB, free: 14.88 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003021/0.4894, allocations: 1.804 MB / 473.1 MB, free: 14.19 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008842/0.4903, allocations: 1.12 MB / 474.3 MB, free: 13.29 MB / 330.7 MB Notification: Performance of SimCode: time 1.453e-06/0.4903, allocations: 1.094 kB / 474.3 MB, free: 13.29 MB / 330.7 MB (rm -f Modelica_3.2.3_Modelica.Electrical.Digital.Examples.VectorDelay.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Digital.Examples.VectorDelay.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Digital.Examples.VectorDelay.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Digital.Examples.VectorDelay.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Electrical.Digital.Examples.VectorDelay_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Electrical_Digital_Examples_VectorDelay_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Electrical_Digital_Examples_VectorDelay.fmu > Modelica_3.2.3_Modelica.Electrical.Digital.Examples.VectorDelay.pipe 2>&1)