Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.FractionalDelay.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.Clocked.Examples.Elementary.RealSignals.FractionalDelay,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_FractionalDelay",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.FractionalDelay,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_FractionalDelay",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.00178/0.00178, allocations: 199.6 kB / 8.534 MB, free: 1.723 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.236/1.236, allocations: 225.5 MB / 234.4 MB, free: 3.445 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009569/0.0009569, allocations: 95.55 kB / 286.3 MB, free: 5.238 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1155/0.1165, allocations: 56.92 MB / 343.2 MB, free: 8.672 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1195/0.236, allocations: 51.46 MB / 394.7 MB, free: 5.16 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2449/0.4809, allocations: 77.36 MB / 472.1 MB, free: 14.16 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002312/0.4812, allocations: 78.11 kB / 472.1 MB, free: 14.13 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.006392/0.4876, allocations: 2.34 MB / 474.5 MB, free: 12.7 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.311e-05/0.4877, allocations: 8 kB / 474.5 MB, free: 12.7 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001457/0.4878, allocations: 30.25 kB / 474.5 MB, free: 12.67 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000194/0.488, allocations: 200 kB / 474.7 MB, free: 12.45 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.189e-05/0.4881, allocations: 4 kB / 474.7 MB, free: 12.44 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.248e-05/0.4881, allocations: 7.938 kB / 474.7 MB, free: 12.43 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.043e-05/0.4882, allocations: 22.41 kB / 474.8 MB, free: 12.42 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002079/0.4884, allocations: 135.9 kB / 474.9 MB, free: 12.3 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.649e-06/0.4884, allocations: 3.984 kB / 474.9 MB, free: 12.29 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.003e-05/0.4884, allocations: 0 / 474.9 MB, free: 12.29 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.05e-06/0.4884, allocations: 7.938 kB / 474.9 MB, free: 12.29 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000299/0.4887, allocations: 268.2 kB / 475.2 MB, free: 12.01 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.447e-05/0.4888, allocations: 73.89 kB / 475.2 MB, free: 11.92 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.641e-05/0.4889, allocations: 38.14 kB / 475.3 MB, free: 11.88 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.428e-05/0.4889, allocations: 4 kB / 475.3 MB, free: 11.88 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.894e-05/0.4889, allocations: 34.56 kB / 475.3 MB, free: 11.84 MB / 346.7 MB Notification: Performance of pre-optimization done (n=7): time 1.383e-06/0.4889, allocations: 0 / 475.3 MB, free: 11.84 MB / 346.7 MB Notification: Performance of matching and sorting (n=7): time 0.0002025/0.4892, allocations: 74.98 kB / 475.4 MB, free: 11.77 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.479e-05/0.4892, allocations: 110.8 kB / 475.5 MB, free: 11.64 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.457e-05/0.4893, allocations: 129.9 kB / 475.6 MB, free: 11.53 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.088e-05/0.4893, allocations: 25.7 kB / 475.6 MB, free: 11.5 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.428e-05/0.4893, allocations: 88.08 kB / 475.7 MB, free: 11.41 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.615e-05/0.4894, allocations: 3.906 kB / 475.7 MB, free: 11.41 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.078e-06/0.4894, allocations: 0 / 475.7 MB, free: 11.41 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 5.253e-05/0.4894, allocations: 325.9 kB / 476 MB, free: 11.09 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.598e-05/0.4895, allocations: 11.5 kB / 476.1 MB, free: 11.08 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.498e-05/0.4895, allocations: 60.83 kB / 476.1 MB, free: 11.01 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.727e-05/0.4896, allocations: 18.25 kB / 476.1 MB, free: 11 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-06/0.4896, allocations: 0 / 476.1 MB, free: 11 MB / 346.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001304/0.4897, allocations: 91.97 kB / 476.2 MB, free: 10.92 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.522e-05/0.4897, allocations: 8 kB / 476.2 MB, free: 10.91 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.651e-06/0.4897, allocations: 0 / 476.2 MB, free: 10.91 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.319e-05/0.4897, allocations: 4 kB / 476.2 MB, free: 10.91 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001054/0.4899, allocations: 19.27 kB / 476.3 MB, free: 10.89 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.284e-06/0.4899, allocations: 0 / 476.3 MB, free: 10.89 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.541e-05/0.4899, allocations: 12.16 kB / 476.3 MB, free: 10.88 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.829e-06/0.49, allocations: 4 kB / 476.3 MB, free: 10.88 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 2 (fractionalDelay.first,$CLKPRE.fractionalDelay.first) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 9 * 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 7.073e-05/0.49, allocations: 112.3 kB / 476.4 MB, free: 10.77 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001182/0.4902, allocations: 63.77 kB / 476.4 MB, free: 10.71 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.887e-05/0.4902, allocations: 11.56 kB / 476.5 MB, free: 10.7 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.728e-06/0.4902, allocations: 4 kB / 476.5 MB, free: 10.7 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.491e-06/0.4902, allocations: 0 / 476.5 MB, free: 10.7 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.102e-06/0.4903, allocations: 3.281 kB / 476.5 MB, free: 10.7 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000158/0.4904, allocations: 164.6 kB / 476.6 MB, free: 10.52 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.994e-06/0.4904, allocations: 4.031 kB / 476.6 MB, free: 10.52 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.818e-05/0.4905, allocations: 15.42 kB / 476.6 MB, free: 10.51 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.198e-06/0.4905, allocations: 3.938 kB / 476.6 MB, free: 10.5 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.032e-05/0.4905, allocations: 0 / 476.6 MB, free: 10.5 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.537e-06/0.4906, allocations: 4 kB / 476.7 MB, free: 10.5 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.715e-06/0.4906, allocations: 0 / 476.7 MB, free: 10.5 MB / 346.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001664/0.4907, allocations: 208.8 kB / 476.9 MB, free: 10.28 MB / 346.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0001884/0.4909, allocations: 0.5736 MB / 477.4 MB, free: 9.695 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.076e-05/0.491, allocations: 95.92 kB / 477.5 MB, free: 9.59 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.565e-05/0.491, allocations: 7.375 kB / 477.5 MB, free: 9.586 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.708e-05/0.4911, allocations: 3.906 kB / 477.5 MB, free: 9.582 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.658e-05/0.4912, allocations: 4 kB / 477.5 MB, free: 9.578 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.063e-06/0.4912, allocations: 2.5 kB / 477.5 MB, free: 9.578 MB / 346.7 MB Notification: Performance of sort global known variables: time 5.131e-05/0.4912, allocations: 109.4 kB / 477.6 MB, free: 9.484 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0008801/0.4921, allocations: 11.42 kB / 477.7 MB, free: 9.477 MB / 346.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: 1 (fractionalDelay.first) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 7 * 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.0001046/0.4922, allocations: 103.2 kB / 477.8 MB, free: 9.367 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001034/0.4923, allocations: 45.22 kB / 477.8 MB, free: 9.336 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.933e-06/0.4924, allocations: 0 / 477.8 MB, free: 9.336 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 1.392e-05/0.4924, allocations: 4 kB / 477.8 MB, free: 9.332 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002824/0.4927, allocations: 39.17 kB / 477.8 MB, free: 9.305 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003782/0.493, allocations: 133.1 kB / 478 MB, free: 9.172 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001716/0.4932, allocations: 0.7165 MB / 478.7 MB, free: 8.445 MB / 346.7 MB Notification: Performance of SimCode: time 3.81e-07/0.4932, allocations: 4 kB / 478.7 MB, free: 8.441 MB / 346.7 MB (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.FractionalDelay.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.FractionalDelay.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.FractionalDelay.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.FractionalDelay.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.FractionalDelay_res.mat --tempDir=temp_Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_FractionalDelay_fmu --startTime=0 --stopTime=0.09 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_FractionalDelay.fmu > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.FractionalDelay.pipe 2>&1)