Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Blocks.Limiters.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) 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(ModelicaTest.Blocks.Limiters,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Blocks_Limiters",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Blocks.Limiters,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Blocks_Limiters",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.0009629/0.000963, allocations: 179.3 kB / 8.518 MB, free: 1.824 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.143/1.143, allocations: 221.4 MB / 230.3 MB, free: 7.762 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.0008764/0.0008764, allocations: 83.23 kB / 281.2 MB, free: 5.516 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.173/0.173, allocations: 44.15 MB / 376.1 MB, free: 3.215 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1734/0.3465, allocations: 68.03 MB / 444.1 MB, free: 15.5 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09428/0.4408, allocations: 61.91 MB / 0.4942 GB, free: 1.516 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2405/0.6813, allocations: 87.78 MB / 0.5799 GB, free: 8.918 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001636/0.6815, allocations: 55.97 kB / 0.5799 GB, free: 8.863 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.01342/0.6949, allocations: 4.715 MB / 0.5846 GB, free: 4.129 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.057e-05/0.695, allocations: 11.94 kB / 0.5846 GB, free: 4.117 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.091e-05/0.695, allocations: 19.8 kB / 0.5846 GB, free: 4.098 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002621/0.6953, allocations: 207.4 kB / 0.5848 GB, free: 3.852 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.287e-05/0.6953, allocations: 8 kB / 0.5848 GB, free: 3.844 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.442e-05/0.6953, allocations: 11.84 kB / 0.5848 GB, free: 3.832 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001271/0.6955, allocations: 59.98 kB / 0.5849 GB, free: 3.773 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001818/0.6957, allocations: 112.2 kB / 0.585 GB, free: 3.648 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.137e-06/0.6957, allocations: 0 / 0.585 GB, free: 3.648 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.874e-05/0.6957, allocations: 0 / 0.585 GB, free: 3.648 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.997e-06/0.6957, allocations: 0 / 0.585 GB, free: 3.648 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007397/0.6965, allocations: 456.8 kB / 0.5854 GB, free: 3.164 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004218/0.6969, allocations: 162.5 kB / 0.5856 GB, free: 2.996 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.36e-05/0.6969, allocations: 32.89 kB / 0.5856 GB, free: 2.961 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.196e-05/0.697, allocations: 7.984 kB / 0.5856 GB, free: 2.953 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.158e-05/0.697, allocations: 34.56 kB / 0.5856 GB, free: 2.91 MB / 394.7 MB Notification: Performance of pre-optimization done (n=7): time 1.133e-06/0.697, allocations: 0 / 0.5856 GB, free: 2.91 MB / 394.7 MB Notification: Performance of matching and sorting (n=7): time 0.0002055/0.6972, allocations: 89.66 kB / 0.5857 GB, free: 2.816 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.687e-05/0.6973, allocations: 102.8 kB / 0.5858 GB, free: 2.691 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.976e-05/0.6974, allocations: 129.5 kB / 0.5859 GB, free: 2.555 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.073e-05/0.6974, allocations: 25.7 kB / 0.586 GB, free: 2.523 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.624e-05/0.6975, allocations: 99.97 kB / 0.5861 GB, free: 2.422 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.51e-05/0.6975, allocations: 23.7 kB / 0.5861 GB, free: 2.398 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.442e-06/0.6975, allocations: 4 kB / 0.5861 GB, free: 2.395 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 9.081e-05/0.6976, allocations: 322.7 kB / 0.5864 GB, free: 2.07 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.948e-05/0.6976, allocations: 28 kB / 0.5864 GB, free: 2.043 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.165e-05/0.6977, allocations: 46.67 kB / 0.5865 GB, free: 1.988 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.011e-05/0.6978, allocations: 23.97 kB / 0.5865 GB, free: 1.965 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.273e-06/0.6978, allocations: 0 / 0.5865 GB, free: 1.965 MB / 394.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001459/0.6979, allocations: 89.59 kB / 0.5866 GB, free: 1.871 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.451e-05/0.698, allocations: 95.53 kB / 0.5867 GB, free: 1.773 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.44e-06/0.698, allocations: 4.609 kB / 0.5867 GB, free: 1.77 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.486e-06/0.698, allocations: 0 / 0.5867 GB, free: 1.77 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001888/0.6982, allocations: 47.97 kB / 0.5867 GB, free: 1.723 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.146e-06/0.6982, allocations: 0 / 0.5867 GB, free: 1.723 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001612/0.6984, allocations: 48.66 kB / 0.5868 GB, free: 1.676 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.09e-05/0.6984, allocations: 7.938 kB / 0.5868 GB, free: 1.668 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.127e-06/0.6984, allocations: 0 / 0.5868 GB, free: 1.668 MB / 394.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 7.743e-05/0.6985, allocations: 40.3 kB / 0.5868 GB, free: 1.629 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.032e-06/0.6985, allocations: 80 / 0.5868 GB, free: 1.629 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.178e-06/0.6985, allocations: 4 kB / 0.5868 GB, free: 1.625 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.442e-05/0.6986, allocations: 27.92 kB / 0.5868 GB, free: 1.598 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.745e-06/0.6986, allocations: 3.984 kB / 0.5868 GB, free: 1.594 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.605e-05/0.6987, allocations: 19.89 kB / 0.5869 GB, free: 1.574 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.839e-06/0.6987, allocations: 7.938 kB / 0.5869 GB, free: 1.566 MB / 394.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 (8): * Single equations (assignments): 8 * 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.529e-05/0.6988, allocations: 109 kB / 0.587 GB, free: 1.453 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.106e-05/0.6988, allocations: 7.906 kB / 0.587 GB, free: 1.445 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.156e-05/0.6989, allocations: 16.44 kB / 0.587 GB, free: 1.426 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.835e-06/0.6989, allocations: 3.984 kB / 0.587 GB, free: 1.422 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/0.6989, allocations: 3.906 kB / 0.587 GB, free: 1.418 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.906e-06/0.6989, allocations: 0 / 0.587 GB, free: 1.418 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001892/0.6991, allocations: 194.1 kB / 0.5872 GB, free: 1.191 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.02e-07/0.6991, allocations: 0 / 0.5872 GB, free: 1.191 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001802/0.6993, allocations: 43.97 kB / 0.5872 GB, free: 1.148 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.844e-06/0.6993, allocations: 0 / 0.5872 GB, free: 1.148 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.278e-05/0.6993, allocations: 7.984 kB / 0.5872 GB, free: 1.141 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.387e-06/0.6993, allocations: 7.906 kB / 0.5872 GB, free: 1.133 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.492e-06/0.6993, allocations: 0 / 0.5872 GB, free: 1.133 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000236/0.6996, allocations: 207.5 kB / 0.5874 GB, free: 0.9141 MB / 394.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003717/0.7, allocations: 0.6169 MB / 0.588 GB, free: 284 kB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.73e-05/0.7, allocations: 93.08 kB / 0.5881 GB, free: 172 kB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.69e-05/0.7, allocations: 3.984 kB / 0.5881 GB, free: 168 kB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003014/0.7004, allocations: 63.86 kB / 0.5882 GB, free: 104 kB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.448e-05/0.7004, allocations: 0 / 0.5882 GB, free: 104 kB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.358e-05/0.7004, allocations: 11.98 kB / 0.5882 GB, free: 92 kB / 394.7 MB Notification: Performance of sort global known variables: time 7.053e-05/0.7005, allocations: 99.84 kB / 0.5883 GB, free: 15.99 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001421/0.7019, allocations: 39.89 kB / 0.5883 GB, free: 15.95 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (slewRateLimiter.y) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 7 * 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.00011/0.702, allocations: 99.19 kB / 0.5884 GB, free: 15.85 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001767/0.7022, allocations: 84.58 kB / 0.5885 GB, free: 15.77 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.7022, allocations: 0 / 0.5885 GB, free: 15.77 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 5.81e-05/0.7023, allocations: 32 kB / 0.5885 GB, free: 15.73 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002615/0.7026, allocations: 27.92 kB / 0.5886 GB, free: 15.71 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003515/0.7029, allocations: 159.6 kB / 0.5887 GB, free: 15.53 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002929/0.7032, allocations: 0.7234 MB / 0.5894 GB, free: 14.79 MB / 410.7 MB Notification: Performance of SimCode: time 2.51e-07/0.7033, allocations: 0 / 0.5894 GB, free: 14.79 MB / 410.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Blocks.Limiters.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Blocks.Limiters.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Blocks.Limiters.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Blocks.Limiters.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Blocks.Limiters_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Blocks_Limiters_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Blocks_Limiters.fmu > ModelicaTest_4.0.0_ModelicaTest.Blocks.Limiters.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Blocks.Limiters_res.mat does not exist to compare? outputFormat=mat