Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Blocks.Examples.FilterWithDifferentiation.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.Blocks.Examples.FilterWithDifferentiation,fileNamePrefix="Modelica_trunk_Modelica_Blocks_Examples_FilterWithDifferentiation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Blocks.Examples.FilterWithDifferentiation,fileNamePrefix="Modelica_trunk_Modelica_Blocks_Examples_FilterWithDifferentiation",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.00186/0.001859, allocations: 195.5 kB / 8.538 MB, free: 1.828 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.455/1.455, allocations: 225.5 MB / 234.4 MB, free: 3.324 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001013/0.001013, allocations: 95.34 kB / 286.3 MB, free: 5.305 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1259/0.1269, allocations: 56.89 MB / 343.2 MB, free: 8.621 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1171/0.2441, allocations: 51.48 MB / 394.7 MB, free: 5.098 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2768/0.521, allocations: 90.19 MB / 484.9 MB, free: 3.156 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002066/0.5213, allocations: 62.66 kB / 485 MB, free: 3.129 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.04606/0.5673, allocations: 17.46 MB / 0.4906 GB, free: 3.059 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.164e-05/0.5674, allocations: 8 kB / 0.4906 GB, free: 3.051 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.333e-05/0.5675, allocations: 15.81 kB / 0.4907 GB, free: 3.035 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003571/0.5678, allocations: 244.1 kB / 0.4909 GB, free: 2.77 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.046e-05/0.5678, allocations: 0 / 0.4909 GB, free: 2.77 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.494e-05/0.5679, allocations: 8 kB / 0.4909 GB, free: 2.762 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001176/0.568, allocations: 42.42 kB / 0.4909 GB, free: 2.734 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001818/0.5682, allocations: 118.3 kB / 0.4911 GB, free: 2.613 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.412e-05/0.5682, allocations: 3.984 kB / 0.4911 GB, free: 2.609 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.553e-05/0.5682, allocations: 0 / 0.4911 GB, free: 2.609 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.132e-06/0.5683, allocations: 7.938 kB / 0.4911 GB, free: 2.602 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005603/0.5688, allocations: 359.6 kB / 0.4914 GB, free: 2.246 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002927/0.5691, allocations: 94.14 kB / 0.4915 GB, free: 2.168 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.1e-05/0.5692, allocations: 43.28 kB / 0.4915 GB, free: 2.133 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.118e-05/0.5692, allocations: 0 / 0.4915 GB, free: 2.133 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.229e-05/0.5693, allocations: 38.56 kB / 0.4916 GB, free: 2.086 MB / 362.7 MB Notification: Performance of pre-optimization done (n=9): time 1.042e-06/0.5693, allocations: 0 / 0.4916 GB, free: 2.086 MB / 362.7 MB Notification: Performance of matching and sorting (n=15): time 0.001927/0.5712, allocations: 1.115 MB / 0.4927 GB, free: 0.9805 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001021/0.5713, allocations: 136.5 kB / 0.4928 GB, free: 0.8164 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001434/0.5715, allocations: 149.1 kB / 0.4929 GB, free: 0.6797 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.281e-05/0.5715, allocations: 25.7 kB / 0.493 GB, free: 0.6484 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.165e-05/0.5716, allocations: 99.59 kB / 0.4931 GB, free: 0.5508 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.967e-05/0.5716, allocations: 56.77 kB / 0.4931 GB, free: 0.5039 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.598e-06/0.5716, allocations: 3.938 kB / 0.4931 GB, free: 0.5 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001112/0.5717, allocations: 328.8 kB / 0.4934 GB, free: 180 kB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001275/0.5719, allocations: 89.91 kB / 0.4935 GB, free: 120 kB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001388/0.572, allocations: 121.6 kB / 0.4936 GB, free: 20 kB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002091/0.5722, allocations: 106.8 kB / 0.4937 GB, free: 15.95 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.203e-06/0.5723, allocations: 1.031 kB / 0.4937 GB, free: 15.95 MB / 378.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0004915/0.5727, allocations: 296.5 kB / 0.494 GB, free: 15.72 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.494e-05/0.5728, allocations: 4 kB / 0.494 GB, free: 15.71 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.055e-05/0.5728, allocations: 4.859 kB / 0.494 GB, free: 15.71 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001567/0.573, allocations: 40.45 kB / 0.4941 GB, free: 15.68 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001691/0.5731, allocations: 31.98 kB / 0.4941 GB, free: 15.64 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.659e-06/0.5732, allocations: 0 / 0.4941 GB, free: 15.64 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001235/0.5733, allocations: 11.98 kB / 0.4941 GB, free: 15.63 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.442e-05/0.5733, allocations: 11.88 kB / 0.4941 GB, free: 15.62 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (19): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 1 {(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 8.832e-05/0.5734, allocations: 108.9 kB / 0.4942 GB, free: 15.51 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.166e-05/0.5735, allocations: 11.81 kB / 0.4942 GB, free: 15.5 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.49e-05/0.5735, allocations: 26.95 kB / 0.4943 GB, free: 15.49 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.185e-06/0.5735, allocations: 0 / 0.4943 GB, free: 15.49 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.751e-06/0.5735, allocations: 5.688 kB / 0.4943 GB, free: 15.48 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.789e-06/0.5736, allocations: 0 / 0.4943 GB, free: 15.48 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000531/0.5741, allocations: 491.1 kB / 0.4947 GB, free: 15.03 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.313e-06/0.5741, allocations: 0 / 0.4947 GB, free: 15.03 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002173/0.5743, allocations: 31.98 kB / 0.4948 GB, free: 15 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.644e-06/0.5743, allocations: 0 / 0.4948 GB, free: 15 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.19e-05/0.5744, allocations: 7.984 kB / 0.4948 GB, free: 14.99 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-06/0.5744, allocations: 0 / 0.4948 GB, free: 14.99 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.907e-06/0.5744, allocations: 0 / 0.4948 GB, free: 14.99 MB / 378.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000424/0.5748, allocations: 394.1 kB / 0.4951 GB, free: 14.67 MB / 378.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0006524/0.5755, allocations: 0.8295 MB / 0.496 GB, free: 13.93 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.258e-05/0.5755, allocations: 88.92 kB / 0.496 GB, free: 13.82 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.824e-05/0.5756, allocations: 5.797 kB / 0.496 GB, free: 13.82 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001313/0.5757, allocations: 4 kB / 0.4961 GB, free: 13.82 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.814e-05/0.5758, allocations: 20.12 kB / 0.4961 GB, free: 13.8 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.281e-05/0.5758, allocations: 4 kB / 0.4961 GB, free: 13.8 MB / 378.7 MB Notification: Performance of sort global known variables: time 0.0001059/0.5759, allocations: 118.6 kB / 0.4962 GB, free: 13.69 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.002952/0.5789, allocations: 0.5307 MB / 0.4967 GB, free: 13.17 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (Bessel.x[1],Bessel.x[2],der1.u) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 15 * 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.001691/0.5806, allocations: 0.5518 MB / 0.4972 GB, free: 12.62 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0005897/0.5812, allocations: 350.1 kB / 0.4976 GB, free: 12.3 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 8.386e-06/0.5812, allocations: 4 kB / 0.4976 GB, free: 12.3 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001197/0.5813, allocations: 78.72 kB / 0.4977 GB, free: 12.24 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002869/0.5816, allocations: 23.19 kB / 0.4977 GB, free: 12.23 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007987/0.5825, allocations: 311.1 kB / 0.498 GB, free: 11.93 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003393/0.5828, allocations: 0.7624 MB / 0.4987 GB, free: 11.15 MB / 378.7 MB Notification: Performance of SimCode: time 4.1e-07/0.5828, allocations: 0 / 0.4987 GB, free: 11.15 MB / 378.7 MB (rm -f Modelica_trunk_Modelica.Blocks.Examples.FilterWithDifferentiation.pipe ; mkfifo Modelica_trunk_Modelica.Blocks.Examples.FilterWithDifferentiation.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Blocks.Examples.FilterWithDifferentiation.pipe >> ../files/Modelica_trunk_Modelica.Blocks.Examples.FilterWithDifferentiation.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_Modelica.Blocks.Examples.FilterWithDifferentiation_res.mat --tempDir=temp_Modelica_trunk_Modelica_Blocks_Examples_FilterWithDifferentiation_fmu --startTime=0 --stopTime=0.9 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Blocks_Examples_FilterWithDifferentiation.fmu > Modelica_trunk_Modelica.Blocks.Examples.FilterWithDifferentiation.pipe 2>&1)