Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Blocks.Examples.SlewRateLimiter.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.SlewRateLimiter,fileNamePrefix="Modelica_4_0_0_Modelica_Blocks_Examples_SlewRateLimiter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Blocks.Examples.SlewRateLimiter,fileNamePrefix="Modelica_4_0_0_Modelica_Blocks_Examples_SlewRateLimiter",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.001009/0.001009, allocations: 183.6 kB / 8.135 MB, free: 2.223 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.136/1.136, allocations: 221.4 MB / 229.9 MB, free: 3.258 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.0009492/0.0009491, allocations: 96.56 kB / 280.8 MB, free: 1.25 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1043/0.1053, allocations: 55.81 MB / 336.6 MB, free: 9.43 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.189/0.2943, allocations: 50.39 MB / 387 MB, free: 38.01 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.08047/0.3748, allocations: 76.5 MB / 463.5 MB, free: 10.27 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002083/0.3751, allocations: 67.91 kB / 463.6 MB, free: 10.2 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: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.006694/0.3818, allocations: 2.534 MB / 466.1 MB, free: 7.648 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.892e-05/0.3818, allocations: 8 kB / 466.1 MB, free: 7.641 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.236e-05/0.3819, allocations: 15.8 kB / 466.1 MB, free: 7.625 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002307/0.3821, allocations: 207.4 kB / 466.3 MB, free: 7.379 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.347e-05/0.3822, allocations: 0 / 466.3 MB, free: 7.379 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.385e-05/0.3822, allocations: 12.5 kB / 466.3 MB, free: 7.367 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.691e-05/0.3823, allocations: 35.95 kB / 466.4 MB, free: 7.332 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001396/0.3824, allocations: 95.33 kB / 466.5 MB, free: 7.227 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.181e-05/0.3824, allocations: 7.906 kB / 466.5 MB, free: 7.219 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.048e-05/0.3825, allocations: 0.9375 kB / 466.5 MB, free: 7.219 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.701e-06/0.3825, allocations: 4 kB / 466.5 MB, free: 7.215 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005756/0.3831, allocations: 0.5149 MB / 467 MB, free: 6.656 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.719e-05/0.3832, allocations: 53.66 kB / 467 MB, free: 6.598 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.96e-05/0.3832, allocations: 25.3 kB / 467.1 MB, free: 6.57 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.321e-05/0.3832, allocations: 4 kB / 467.1 MB, free: 6.566 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.237e-05/0.3833, allocations: 34.72 kB / 467.1 MB, free: 6.523 MB / 346.7 MB Notification: Performance of pre-optimization done (n=9): time 2.455e-06/0.3833, allocations: 4 kB / 467.1 MB, free: 6.52 MB / 346.7 MB Notification: Performance of matching and sorting (n=10): time 0.0005384/0.3838, allocations: 339.8 kB / 467.4 MB, free: 6.137 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.229e-05/0.3839, allocations: 51.41 kB / 467.5 MB, free: 6.074 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000124/0.384, allocations: 135.6 kB / 467.6 MB, free: 5.938 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.679e-05/0.384, allocations: 25.7 kB / 467.7 MB, free: 5.906 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.227e-05/0.3841, allocations: 100.2 kB / 467.8 MB, free: 5.801 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.85e-05/0.3841, allocations: 36.02 kB / 467.8 MB, free: 5.766 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.42e-06/0.3841, allocations: 4 kB / 467.8 MB, free: 5.762 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001313/0.3843, allocations: 326.8 kB / 468.1 MB, free: 5.434 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.486e-05/0.3843, allocations: 20 kB / 468.1 MB, free: 5.414 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.193e-05/0.3844, allocations: 47.44 kB / 468.2 MB, free: 5.355 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.258e-05/0.3844, allocations: 27.98 kB / 468.2 MB, free: 5.328 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.51e-07/0.3844, allocations: 0.8438 kB / 468.2 MB, free: 5.328 MB / 346.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0001665/0.3846, allocations: 117.4 kB / 468.3 MB, free: 5.207 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.451e-05/0.3846, allocations: 4 kB / 468.3 MB, free: 5.203 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.711e-06/0.3847, allocations: 3.938 kB / 468.3 MB, free: 5.199 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.282e-05/0.3847, allocations: 4 kB / 468.3 MB, free: 5.195 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000205/0.3849, allocations: 44.02 kB / 468.4 MB, free: 5.152 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.37e-06/0.3849, allocations: 0 / 468.4 MB, free: 5.152 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.955e-05/0.385, allocations: 15.98 kB / 468.4 MB, free: 5.137 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.279e-05/0.385, allocations: 11.89 kB / 468.4 MB, free: 5.125 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 1 (positionSmoothed.local_reset) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (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 prepare postOptimizeDAE: time 7.458e-05/0.3851, allocations: 117.5 kB / 468.5 MB, free: 5.004 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.403e-05/0.3851, allocations: 7.906 kB / 468.5 MB, free: 4.996 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.389e-05/0.3852, allocations: 16.5 kB / 468.5 MB, free: 4.973 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.078e-06/0.3852, allocations: 3.906 kB / 468.5 MB, free: 4.969 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.987e-06/0.3852, allocations: 0 / 468.5 MB, free: 4.969 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.937e-06/0.3852, allocations: 0 / 468.5 MB, free: 4.969 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004519/0.3857, allocations: 389.4 kB / 468.9 MB, free: 4.543 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.705e-06/0.3857, allocations: 4 kB / 468.9 MB, free: 4.539 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000169/0.3859, allocations: 31.97 kB / 469 MB, free: 4.508 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.615e-06/0.3859, allocations: 4.031 kB / 469 MB, free: 4.504 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.024e-05/0.3859, allocations: 4 kB / 469 MB, free: 4.5 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.266e-06/0.3859, allocations: 3.938 kB / 469 MB, free: 4.496 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/0.3859, allocations: 0 / 469 MB, free: 4.496 MB / 346.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002387/0.3861, allocations: 237.9 kB / 469.2 MB, free: 4.238 MB / 346.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003754/0.3865, allocations: 0.6321 MB / 469.8 MB, free: 3.578 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.174e-05/0.3866, allocations: 89.11 kB / 469.9 MB, free: 3.473 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.315e-05/0.3866, allocations: 4 kB / 469.9 MB, free: 3.469 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000124/0.3867, allocations: 19.98 kB / 469.9 MB, free: 3.449 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.208e-05/0.3868, allocations: 11.97 kB / 470 MB, free: 3.438 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.56e-06/0.3868, allocations: 0 / 470 MB, free: 3.438 MB / 346.7 MB Notification: Performance of sort global known variables: time 6.756e-05/0.3869, allocations: 114.1 kB / 470.1 MB, free: 3.328 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.000793/0.3877, allocations: 19.91 kB / 470.1 MB, free: 3.309 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 3 (v.u,limit_a.y,positionSmoothed.y) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 10 * 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.0001328/0.3878, allocations: 92.88 kB / 470.2 MB, free: 3.211 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001502/0.388, allocations: 76.11 kB / 470.3 MB, free: 3.137 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.983e-06/0.388, allocations: 0 / 470.3 MB, free: 3.137 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 5.762e-05/0.388, allocations: 35.94 kB / 470.3 MB, free: 3.102 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003187/0.3884, allocations: 32.38 kB / 470.3 MB, free: 3.07 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004169/0.3888, allocations: 198.9 kB / 470.5 MB, free: 2.852 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003067/0.3891, allocations: 0.7352 MB / 471.2 MB, free: 2.09 MB / 346.7 MB Notification: Performance of SimCode: time 2.71e-07/0.3891, allocations: 0 / 471.2 MB, free: 2.09 MB / 346.7 MB (rm -f Modelica_4.0.0_Modelica.Blocks.Examples.SlewRateLimiter.pipe ; mkfifo Modelica_4.0.0_Modelica.Blocks.Examples.SlewRateLimiter.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Blocks.Examples.SlewRateLimiter.pipe >> ../files/Modelica_4.0.0_Modelica.Blocks.Examples.SlewRateLimiter.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Blocks.Examples.SlewRateLimiter_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Blocks_Examples_SlewRateLimiter_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Blocks_Examples_SlewRateLimiter.fmu > Modelica_4.0.0_Modelica.Blocks.Examples.SlewRateLimiter.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_4.0.0_Modelica.Blocks.Examples.SlewRateLimiter_res.mat does not exist to compare? outputFormat=mat