Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Blocks.Examples.SlewRateLimiter.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.SlewRateLimiter,fileNamePrefix="Modelica_trunk_Modelica_Blocks_Examples_SlewRateLimiter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Blocks.Examples.SlewRateLimiter,fileNamePrefix="Modelica_trunk_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 trunk/package.mo): time 0.001847/0.001847, allocations: 198.6 kB / 8.539 MB, free: 1.805 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.433/1.433, allocations: 225.5 MB / 234.4 MB, free: 3.406 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008781/0.0008783, allocations: 93.92 kB / 286.3 MB, free: 5.246 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.09783/0.09874, allocations: 56.89 MB / 343.2 MB, free: 8.656 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08639/0.1851, allocations: 51.47 MB / 394.7 MB, free: 5.129 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2239/0.4091, allocations: 77.31 MB / 472 MB, free: 13.8 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000188/0.4093, allocations: 72.59 kB / 472.1 MB, free: 13.78 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.006379/0.4157, allocations: 2.58 MB / 474.7 MB, free: 12.23 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.183e-05/0.4157, allocations: 12 kB / 474.7 MB, free: 12.21 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.388e-05/0.4158, allocations: 7.906 kB / 474.7 MB, free: 12.21 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001747/0.416, allocations: 212.6 kB / 474.9 MB, free: 11.97 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.209e-05/0.416, allocations: 4 kB / 474.9 MB, free: 11.97 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.063e-05/0.416, allocations: 8 kB / 474.9 MB, free: 11.96 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.178e-05/0.4161, allocations: 34.31 kB / 474.9 MB, free: 11.94 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001199/0.4162, allocations: 93.95 kB / 475 MB, free: 11.86 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.088e-05/0.4163, allocations: 8.719 kB / 475 MB, free: 11.85 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.028e-05/0.4163, allocations: 0 / 475 MB, free: 11.85 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.651e-06/0.4163, allocations: 7.984 kB / 475 MB, free: 11.84 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004598/0.4167, allocations: 0.5113 MB / 475.6 MB, free: 11.37 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.515e-05/0.4168, allocations: 55.58 kB / 475.6 MB, free: 11.32 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.179e-05/0.4169, allocations: 31.25 kB / 475.6 MB, free: 11.3 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.274e-05/0.4169, allocations: 160 / 475.6 MB, free: 11.3 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.086e-05/0.4169, allocations: 38.47 kB / 475.7 MB, free: 11.26 MB / 346.7 MB Notification: Performance of pre-optimization done (n=9): time 8.72e-07/0.4169, allocations: 0 / 475.7 MB, free: 11.26 MB / 346.7 MB Notification: Performance of matching and sorting (n=10): time 0.000427/0.4174, allocations: 341.8 kB / 476 MB, free: 10.91 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.309e-05/0.4174, allocations: 51.41 kB / 476.1 MB, free: 10.85 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.893e-05/0.4175, allocations: 131.2 kB / 476.2 MB, free: 10.74 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 8.646e-06/0.4175, allocations: 29.7 kB / 476.2 MB, free: 10.7 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.5e-05/0.4175, allocations: 95.27 kB / 476.3 MB, free: 10.61 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.81e-05/0.4175, allocations: 41.53 kB / 476.4 MB, free: 10.58 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.929e-06/0.4175, allocations: 0 / 476.4 MB, free: 10.58 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 3.599e-05/0.4176, allocations: 325.2 kB / 476.7 MB, free: 10.26 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.05e-05/0.4176, allocations: 21.5 kB / 476.7 MB, free: 10.25 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.715e-05/0.4177, allocations: 53 kB / 476.7 MB, free: 10.2 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.479e-05/0.4177, allocations: 34.44 kB / 476.8 MB, free: 10.18 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.91e-07/0.4177, allocations: 0 / 476.8 MB, free: 10.18 MB / 346.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0001408/0.4179, allocations: 109.7 kB / 476.9 MB, free: 10.09 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.716e-06/0.4179, allocations: 8.094 kB / 476.9 MB, free: 10.08 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.499e-06/0.4179, allocations: 3.938 kB / 476.9 MB, free: 10.08 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.032e-05/0.4179, allocations: 4 kB / 476.9 MB, free: 10.08 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001626/0.4181, allocations: 34.61 kB / 476.9 MB, free: 10.05 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.899e-06/0.4181, allocations: 4 kB / 476.9 MB, free: 10.05 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.525e-05/0.4182, allocations: 26 kB / 477 MB, free: 10.03 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.927e-06/0.4182, allocations: 7.812 kB / 477 MB, free: 10.02 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 4.33e-05/0.4183, allocations: 105.4 kB / 477.1 MB, free: 9.914 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.355e-05/0.4183, allocations: 11.91 kB / 477.1 MB, free: 9.902 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.448e-05/0.4183, allocations: 11.41 kB / 477.1 MB, free: 9.898 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.495e-06/0.4184, allocations: 8 kB / 477.1 MB, free: 9.891 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.266e-06/0.4184, allocations: 0 / 477.1 MB, free: 9.891 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.348e-06/0.4184, allocations: 2.719 kB / 477.1 MB, free: 9.891 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003638/0.4187, allocations: 385.8 kB / 477.5 MB, free: 9.539 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.4188, allocations: 0 / 477.5 MB, free: 9.539 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001622/0.4189, allocations: 38.03 kB / 477.5 MB, free: 9.508 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.204e-06/0.4189, allocations: 0 / 477.5 MB, free: 9.508 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.17e-05/0.419, allocations: 5.781 kB / 477.5 MB, free: 9.504 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-06/0.419, allocations: 0 / 477.5 MB, free: 9.504 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/0.419, allocations: 4.031 kB / 477.5 MB, free: 9.5 MB / 346.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001839/0.4192, allocations: 237.7 kB / 477.8 MB, free: 9.281 MB / 346.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002393/0.4194, allocations: 0.6363 MB / 478.4 MB, free: 8.668 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.355e-05/0.4194, allocations: 85.02 kB / 478.5 MB, free: 8.566 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.179e-05/0.4195, allocations: 0 / 478.5 MB, free: 8.566 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001234/0.4196, allocations: 22.33 kB / 478.5 MB, free: 8.551 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.641e-05/0.4196, allocations: 11.31 kB / 478.5 MB, free: 8.547 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.482e-06/0.4197, allocations: 4 kB / 478.5 MB, free: 8.543 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.402e-05/0.4197, allocations: 108.2 kB / 478.6 MB, free: 8.449 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0008104/0.4205, allocations: 19.91 kB / 478.6 MB, free: 8.43 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 8.964e-05/0.4206, allocations: 102.5 kB / 478.7 MB, free: 8.324 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001216/0.4207, allocations: 66.81 kB / 478.8 MB, free: 8.277 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.413e-06/0.4208, allocations: 192 / 478.8 MB, free: 8.277 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 5.117e-05/0.4208, allocations: 43.31 kB / 478.9 MB, free: 8.246 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002912/0.4211, allocations: 36.58 kB / 478.9 MB, free: 8.23 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000334/0.4214, allocations: 179.3 kB / 479.1 MB, free: 8.062 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001479/0.4216, allocations: 0.7352 MB / 479.8 MB, free: 7.316 MB / 346.7 MB Notification: Performance of SimCode: time 2.3e-07/0.4216, allocations: 0 / 479.8 MB, free: 7.316 MB / 346.7 MB (rm -f Modelica_trunk_Modelica.Blocks.Examples.SlewRateLimiter.pipe ; mkfifo Modelica_trunk_Modelica.Blocks.Examples.SlewRateLimiter.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Blocks.Examples.SlewRateLimiter.pipe >> ../files/Modelica_trunk_Modelica.Blocks.Examples.SlewRateLimiter.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_Modelica.Blocks.Examples.SlewRateLimiter_res.mat --tempDir=temp_Modelica_trunk_Modelica_Blocks_Examples_SlewRateLimiter_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Blocks_Examples_SlewRateLimiter.fmu > Modelica_trunk_Modelica.Blocks.Examples.SlewRateLimiter.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Blocks.Examples.SlewRateLimiter_res.mat does not exist to compare? outputFormat=mat