Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Blocks.Examples.SlewRateLimiter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Blocks.Examples.SlewRateLimiter,fileNamePrefix="Modelica_3_2_3_Modelica_Blocks_Examples_SlewRateLimiter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Blocks.Examples.SlewRateLimiter,fileNamePrefix="Modelica_3_2_3_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 3.2.3+maint.om/package.mo): time 0.001047/0.001047, allocations: 175.2 kB / 8.473 MB, free: 1.879 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.149/1.149, allocations: 205.2 MB / 214.1 MB, free: 5.098 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008854/0.0008853, allocations: 90.31 kB / 262.1 MB, free: 5.141 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1669/0.1678, allocations: 52.95 MB / 315 MB, free: 41.43 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07857/0.2464, allocations: 47.58 MB / 362.6 MB, free: 9.879 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2273/0.4737, allocations: 75.69 MB / 438.3 MB, free: 10.7 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001599/0.4739, allocations: 67.22 kB / 438.4 MB, free: 10.7 MB / 314.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.005703/0.4797, allocations: 2.479 MB / 440.9 MB, free: 10.19 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.07e-05/0.4797, allocations: 7.688 kB / 440.9 MB, free: 10.19 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.294e-05/0.4797, allocations: 11.59 kB / 440.9 MB, free: 10.19 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001845/0.4799, allocations: 211.4 kB / 441.1 MB, free: 9.973 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.506e-05/0.48, allocations: 7.844 kB / 441.1 MB, free: 9.969 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.081e-05/0.48, allocations: 8.484 kB / 441.1 MB, free: 9.969 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.136e-05/0.4801, allocations: 36.92 kB / 441.1 MB, free: 9.969 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001273/0.4802, allocations: 101.8 kB / 441.2 MB, free: 9.906 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.151e-05/0.4802, allocations: 3.906 kB / 441.2 MB, free: 9.902 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.267e-05/0.4802, allocations: 0.7969 kB / 441.2 MB, free: 9.902 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.12e-06/0.4803, allocations: 0 / 441.2 MB, free: 9.902 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004812/0.4807, allocations: 0.511 MB / 441.8 MB, free: 9.492 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.373e-05/0.4808, allocations: 55.84 kB / 441.8 MB, free: 9.473 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.854e-05/0.4809, allocations: 23.23 kB / 441.8 MB, free: 9.465 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.272e-05/0.4809, allocations: 3.812 kB / 441.8 MB, free: 9.465 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.273e-05/0.4809, allocations: 38.81 kB / 441.9 MB, free: 9.422 MB / 314.7 MB Notification: Performance of pre-optimization done (n=9): time 1.683e-06/0.4809, allocations: 3.984 kB / 441.9 MB, free: 9.418 MB / 314.7 MB Notification: Performance of matching and sorting (n=10): time 0.0004166/0.4813, allocations: 331.1 kB / 442.2 MB, free: 9.148 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.537e-05/0.4814, allocations: 61.55 kB / 442.3 MB, free: 9.078 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.821e-05/0.4814, allocations: 132.7 kB / 442.4 MB, free: 8.98 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 8.766e-06/0.4815, allocations: 25.7 kB / 442.4 MB, free: 8.949 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.962e-05/0.4815, allocations: 103.4 kB / 442.5 MB, free: 8.855 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.779e-05/0.4815, allocations: 34.14 kB / 442.5 MB, free: 8.832 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.129e-06/0.4815, allocations: 7.812 kB / 442.6 MB, free: 8.828 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 4.871e-05/0.4816, allocations: 321.2 kB / 442.9 MB, free: 8.516 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.858e-05/0.4816, allocations: 22.34 kB / 442.9 MB, free: 8.516 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.803e-05/0.4817, allocations: 60.05 kB / 443 MB, free: 8.477 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.379e-05/0.4817, allocations: 29.94 kB / 443 MB, free: 8.473 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.423e-06/0.4817, allocations: 3.906 kB / 443 MB, free: 8.469 MB / 314.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0001344/0.4819, allocations: 105.8 kB / 443.1 MB, free: 8.43 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.706e-06/0.4819, allocations: 3.844 kB / 443.1 MB, free: 8.43 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.128e-06/0.4819, allocations: 4.094 kB / 443.1 MB, free: 8.426 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.137e-06/0.4819, allocations: 3.844 kB / 443.1 MB, free: 8.426 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001655/0.4821, allocations: 40.77 kB / 443.1 MB, free: 8.426 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.25e-06/0.4821, allocations: 0.75 kB / 443.1 MB, free: 8.426 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.344e-05/0.4822, allocations: 30.92 kB / 443.2 MB, free: 8.414 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.095e-06/0.4822, allocations: 3.875 kB / 443.2 MB, free: 8.414 MB / 314.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.265e-05/0.4822, allocations: 101.7 kB / 443.3 MB, free: 8.309 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.999e-05/0.4823, allocations: 7.875 kB / 443.3 MB, free: 8.305 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.337e-05/0.4823, allocations: 16.84 kB / 443.3 MB, free: 8.305 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.394e-06/0.4823, allocations: 4.516 kB / 443.3 MB, free: 8.301 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.326e-06/0.4823, allocations: 4 kB / 443.3 MB, free: 8.297 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.729e-06/0.4823, allocations: 4.547 kB / 443.3 MB, free: 8.297 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003559/0.4827, allocations: 377.5 kB / 443.7 MB, free: 8.02 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.4827, allocations: 15.75 kB / 443.7 MB, free: 8.008 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001554/0.4829, allocations: 30.75 kB / 443.7 MB, free: 8.008 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.185e-06/0.4829, allocations: 3.875 kB / 443.7 MB, free: 8.008 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.086e-05/0.4829, allocations: 2.953 kB / 443.7 MB, free: 8.008 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.423e-06/0.4829, allocations: 0 / 443.7 MB, free: 8.008 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.585e-06/0.4829, allocations: 7.969 kB / 443.7 MB, free: 8.004 MB / 314.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001751/0.4831, allocations: 229 kB / 444 MB, free: 7.84 MB / 314.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002212/0.4833, allocations: 0.6352 MB / 444.6 MB, free: 7.297 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.618e-05/0.4834, allocations: 91.95 kB / 444.7 MB, free: 7.195 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.07e-05/0.4834, allocations: 4 kB / 444.7 MB, free: 7.191 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001171/0.4835, allocations: 20.47 kB / 444.7 MB, free: 7.191 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.656e-05/0.4836, allocations: 11.66 kB / 444.7 MB, free: 7.188 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.451e-06/0.4836, allocations: 0 / 444.7 MB, free: 7.188 MB / 314.7 MB Notification: Performance of sort global known variables: time 4.224e-05/0.4836, allocations: 107.8 kB / 444.8 MB, free: 7.113 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0008428/0.4845, allocations: 27.12 kB / 444.9 MB, free: 7.102 MB / 314.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.0001032/0.4846, allocations: 102.5 kB / 445 MB, free: 7.008 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001249/0.4847, allocations: 64.94 kB / 445 MB, free: 7.004 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.4847, allocations: 0 / 445 MB, free: 7.004 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 5.019e-05/0.4848, allocations: 40.16 kB / 445.1 MB, free: 6.996 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002964/0.4851, allocations: 28.64 kB / 445.1 MB, free: 6.996 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003737/0.4855, allocations: 192.6 kB / 445.3 MB, free: 6.879 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001984/0.4857, allocations: 0.7393 MB / 446 MB, free: 6.168 MB / 314.7 MB Notification: Performance of SimCode: time 2.81e-07/0.4857, allocations: 0 / 446 MB, free: 6.168 MB / 314.7 MB (rm -f Modelica_3.2.3_Modelica.Blocks.Examples.SlewRateLimiter.pipe ; mkfifo Modelica_3.2.3_Modelica.Blocks.Examples.SlewRateLimiter.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Blocks.Examples.SlewRateLimiter.pipe >> ../files/Modelica_3.2.3_Modelica.Blocks.Examples.SlewRateLimiter.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Blocks.Examples.SlewRateLimiter_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Blocks_Examples_SlewRateLimiter_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Blocks_Examples_SlewRateLimiter.fmu > Modelica_3.2.3_Modelica.Blocks.Examples.SlewRateLimiter.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_Modelica.Blocks.Examples.SlewRateLimiter_res.mat does not exist to compare? outputFormat=mat