Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Blocks.Examples.FilterWithDifferentiation.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/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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Blocks.Examples.FilterWithDifferentiation,fileNamePrefix="Modelica_4_0_0_Modelica_Blocks_Examples_FilterWithDifferentiation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Blocks.Examples.FilterWithDifferentiation,fileNamePrefix="Modelica_4_0_0_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 4.0.0+maint.om/package.mo): time 0.001034/0.001034, allocations: 184.9 kB / 8.135 MB, free: 2.129 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.153/1.153, allocations: 221.4 MB / 229.9 MB, free: 3.035 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008624/0.0008625, allocations: 101 kB / 280.8 MB, free: 1.258 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.09884/0.09974, allocations: 55.81 MB / 336.6 MB, free: 9.449 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1997/0.2995, allocations: 50.4 MB / 387 MB, free: 37.96 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09389/0.3934, allocations: 89.39 MB / 476.4 MB, free: 13.38 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001895/0.3936, allocations: 74.66 kB / 476.5 MB, free: 13.3 MB / 362.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.04571/0.4394, allocations: 17.4 MB / 493.9 MB, free: 11.87 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.18e-05/0.4394, allocations: 12 kB / 493.9 MB, free: 11.86 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.92e-05/0.4395, allocations: 20.38 kB / 493.9 MB, free: 11.84 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002989/0.4398, allocations: 226.8 kB / 494.1 MB, free: 11.58 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.718e-05/0.4398, allocations: 11.89 kB / 494.1 MB, free: 11.57 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.922e-05/0.4398, allocations: 4 kB / 494.1 MB, free: 11.56 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000107/0.44, allocations: 51.86 kB / 494.2 MB, free: 11.51 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001606/0.4401, allocations: 110.5 kB / 494.3 MB, free: 11.38 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.38e-05/0.4402, allocations: 13.69 kB / 494.3 MB, free: 11.37 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.31e-05/0.4402, allocations: 0 / 494.3 MB, free: 11.37 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.077e-06/0.4402, allocations: 0 / 494.3 MB, free: 11.37 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005174/0.4407, allocations: 364.9 kB / 494.6 MB, free: 10.98 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002933/0.441, allocations: 105.8 kB / 494.8 MB, free: 10.87 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.054e-05/0.4411, allocations: 33.98 kB / 494.8 MB, free: 10.83 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.266e-05/0.4411, allocations: 4.125 kB / 494.8 MB, free: 10.83 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.177e-05/0.4411, allocations: 34.55 kB / 494.8 MB, free: 10.79 MB / 378.7 MB Notification: Performance of pre-optimization done (n=9): time 1.413e-06/0.4411, allocations: 0 / 494.8 MB, free: 10.79 MB / 378.7 MB Notification: Performance of matching and sorting (n=15): time 0.001925/0.4431, allocations: 1.106 MB / 495.9 MB, free: 9.551 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.871e-05/0.4432, allocations: 128.5 kB / 496.1 MB, free: 9.395 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001546/0.4433, allocations: 162.3 kB / 496.2 MB, free: 9.23 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.26e-05/0.4434, allocations: 25.7 kB / 496.2 MB, free: 9.199 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.466e-05/0.4434, allocations: 104.5 kB / 496.3 MB, free: 9.094 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.754e-05/0.4435, allocations: 52.14 kB / 496.4 MB, free: 9.043 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.608e-06/0.4435, allocations: 0 / 496.4 MB, free: 9.043 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001313/0.4436, allocations: 326.8 kB / 496.7 MB, free: 8.715 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001417/0.4438, allocations: 91.97 kB / 496.8 MB, free: 8.625 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000152/0.444, allocations: 126.1 kB / 496.9 MB, free: 8.492 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002131/0.4442, allocations: 111.9 kB / 497 MB, free: 8.383 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.4442, allocations: 3.906 kB / 497 MB, free: 8.379 MB / 378.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0004829/0.4447, allocations: 286.1 kB / 497.3 MB, free: 8.09 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.394e-05/0.4447, allocations: 6.969 kB / 497.3 MB, free: 8.086 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.98e-05/0.4447, allocations: 4 kB / 497.3 MB, free: 8.082 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001671/0.4449, allocations: 49.38 kB / 497.4 MB, free: 8.031 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001749/0.4451, allocations: 27.98 kB / 497.4 MB, free: 8.004 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.823e-06/0.4451, allocations: 4 kB / 497.4 MB, free: 8 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.818e-05/0.4452, allocations: 7.984 kB / 497.4 MB, free: 7.992 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.35e-05/0.4452, allocations: 8 kB / 497.4 MB, free: 7.984 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 9.112e-05/0.4453, allocations: 108.9 kB / 497.5 MB, free: 7.871 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.159e-05/0.4454, allocations: 16.75 kB / 497.5 MB, free: 7.855 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.189e-05/0.4454, allocations: 26.25 kB / 497.6 MB, free: 7.824 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.314e-06/0.4455, allocations: 0 / 497.6 MB, free: 7.824 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.999e-06/0.4455, allocations: 0 / 497.6 MB, free: 7.824 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.074e-06/0.4455, allocations: 3.984 kB / 497.6 MB, free: 7.82 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006225/0.4461, allocations: 486.8 kB / 498.1 MB, free: 7.301 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.412e-06/0.4461, allocations: 0 / 498.1 MB, free: 7.301 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002259/0.4463, allocations: 32.67 kB / 498.1 MB, free: 7.27 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.388e-06/0.4464, allocations: 4 kB / 498.1 MB, free: 7.266 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.093e-05/0.4464, allocations: 3.984 kB / 498.1 MB, free: 7.262 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.617e-06/0.4464, allocations: 7.938 kB / 498.1 MB, free: 7.254 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.695e-06/0.4464, allocations: 0 / 498.1 MB, free: 7.254 MB / 378.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004632/0.4469, allocations: 380.2 kB / 498.5 MB, free: 6.867 MB / 378.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.000627/0.4475, allocations: 0.8389 MB / 499.3 MB, free: 6.012 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.186e-05/0.4476, allocations: 93.16 kB / 499.4 MB, free: 5.902 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.493e-05/0.4476, allocations: 7.984 kB / 499.4 MB, free: 5.895 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001263/0.4477, allocations: 4 kB / 499.4 MB, free: 5.891 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.245e-05/0.4478, allocations: 11.97 kB / 499.4 MB, free: 5.879 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.053e-05/0.4478, allocations: 7.906 kB / 499.4 MB, free: 5.871 MB / 378.7 MB Notification: Performance of sort global known variables: time 7.999e-05/0.4479, allocations: 123.2 kB / 499.6 MB, free: 5.75 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.002256/0.4502, allocations: 0.5275 MB / 0.4884 GB, free: 5.223 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.00127/0.4514, allocations: 0.5617 MB / 0.4889 GB, free: 4.656 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0004865/0.4519, allocations: 337.3 kB / 0.4892 GB, free: 4.293 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.452, allocations: 3.938 kB / 0.4892 GB, free: 4.289 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000111/0.4521, allocations: 79.97 kB / 0.4893 GB, free: 4.211 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002372/0.4523, allocations: 24.23 kB / 0.4893 GB, free: 4.188 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007285/0.4531, allocations: 316.8 kB / 0.4896 GB, free: 3.848 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003444/0.4534, allocations: 0.7585 MB / 0.4904 GB, free: 3.059 MB / 378.7 MB Notification: Performance of SimCode: time 3.01e-07/0.4534, allocations: 4 kB / 0.4904 GB, free: 3.055 MB / 378.7 MB (rm -f Modelica_4.0.0_Modelica.Blocks.Examples.FilterWithDifferentiation.pipe ; mkfifo Modelica_4.0.0_Modelica.Blocks.Examples.FilterWithDifferentiation.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Blocks.Examples.FilterWithDifferentiation.pipe >> ../files/Modelica_4.0.0_Modelica.Blocks.Examples.FilterWithDifferentiation.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Blocks.Examples.FilterWithDifferentiation_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Blocks_Examples_FilterWithDifferentiation_fmu --startTime=0 --stopTime=0.9 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Blocks_Examples_FilterWithDifferentiation.fmu > Modelica_4.0.0_Modelica.Blocks.Examples.FilterWithDifferentiation.pipe 2>&1)