Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Blocks.Limiters.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) 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(ModelicaTest.Blocks.Limiters,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Blocks_Limiters",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Blocks.Limiters,fileNamePrefix="ModelicaTest_trunk_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 trunk/package.mo): time 0.001044/0.001044, allocations: 200.2 kB / 8.535 MB, free: 480 kB / 6.77 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.17/1.17, allocations: 225.5 MB / 234.4 MB, free: 9.52 MB / 194.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008486/0.0008486, allocations: 96.86 kB / 286.3 MB, free: 5.801 MB / 226.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1703/0.1703, allocations: 45.14 MB / 383.3 MB, free: 4.852 MB / 322.8 MB Notification: Performance of FrontEnd - loaded program: time 0.175/0.3453, allocations: 69.36 MB / 452.7 MB, free: 48.19 MB / 322.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1032/0.4485, allocations: 63.24 MB / 0.5039 GB, free: 0.8828 MB / 338.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2765/0.725, allocations: 88.84 MB / 0.5906 GB, free: 14.93 MB / 418.8 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001745/0.7253, allocations: 71.33 kB / 0.5907 GB, free: 14.86 MB / 418.8 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.01412/0.7394, allocations: 4.812 MB / 0.5954 GB, free: 10.02 MB / 418.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.412e-05/0.7394, allocations: 12 kB / 0.5954 GB, free: 10.01 MB / 418.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001805/0.7396, allocations: 31.8 kB / 0.5954 GB, free: 9.98 MB / 418.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003135/0.74, allocations: 218.5 kB / 0.5956 GB, free: 9.727 MB / 418.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.68e-05/0.74, allocations: 11.84 kB / 0.5956 GB, free: 9.715 MB / 418.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.624e-05/0.74, allocations: 4 kB / 0.5956 GB, free: 9.711 MB / 418.8 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001505/0.7402, allocations: 60 kB / 0.5957 GB, free: 9.652 MB / 418.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002106/0.7404, allocations: 124.2 kB / 0.5958 GB, free: 9.516 MB / 418.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.164e-05/0.7404, allocations: 4 kB / 0.5958 GB, free: 9.512 MB / 418.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.898e-05/0.7404, allocations: 0 / 0.5958 GB, free: 9.512 MB / 418.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.766e-06/0.7405, allocations: 7.906 kB / 0.5958 GB, free: 9.504 MB / 418.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008115/0.7413, allocations: 429 kB / 0.5962 GB, free: 9.047 MB / 418.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004677/0.7418, allocations: 170.6 kB / 0.5964 GB, free: 8.871 MB / 418.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.108e-05/0.7418, allocations: 24.86 kB / 0.5964 GB, free: 8.844 MB / 418.8 MB Notification: Performance of preOpt evalFunc (simulation): time 2.822e-05/0.7419, allocations: 4.141 kB / 0.5964 GB, free: 8.84 MB / 418.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.371e-05/0.7419, allocations: 34.56 kB / 0.5965 GB, free: 8.797 MB / 418.8 MB Notification: Performance of pre-optimization done (n=7): time 1.643e-06/0.7419, allocations: 0 / 0.5965 GB, free: 8.797 MB / 418.8 MB Notification: Performance of matching and sorting (n=7): time 0.0002616/0.7422, allocations: 93.62 kB / 0.5965 GB, free: 8.699 MB / 418.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.202e-05/0.7422, allocations: 106.8 kB / 0.5967 GB, free: 8.57 MB / 418.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001085/0.7424, allocations: 126.2 kB / 0.5968 GB, free: 8.434 MB / 418.8 MB Notification: Performance of collectPreVariables (initialization): time 2.277e-05/0.7424, allocations: 25.7 kB / 0.5968 GB, free: 8.402 MB / 418.8 MB Notification: Performance of collectInitialEqns (initialization): time 5.429e-05/0.7424, allocations: 100 kB / 0.5969 GB, free: 8.301 MB / 418.8 MB Notification: Performance of collectInitialBindings (initialization): time 2.859e-05/0.7425, allocations: 23.64 kB / 0.5969 GB, free: 8.277 MB / 418.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.913e-06/0.7425, allocations: 0 / 0.5969 GB, free: 8.277 MB / 418.8 MB Notification: Performance of setup shared object (initialization): time 0.0001063/0.7426, allocations: 322.8 kB / 0.5972 GB, free: 7.953 MB / 418.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.673e-05/0.7427, allocations: 27.98 kB / 0.5972 GB, free: 7.926 MB / 418.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.776e-05/0.7427, allocations: 47.2 kB / 0.5973 GB, free: 7.871 MB / 418.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.27e-05/0.7428, allocations: 23.98 kB / 0.5973 GB, free: 7.848 MB / 418.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.7428, allocations: 0 / 0.5973 GB, free: 7.848 MB / 418.8 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001655/0.743, allocations: 93.75 kB / 0.5974 GB, free: 7.75 MB / 418.8 MB Notification: Performance of prepare postOptimizeDAE: time 4.194e-05/0.743, allocations: 93 kB / 0.5975 GB, free: 7.652 MB / 418.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.148e-06/0.743, allocations: 0 / 0.5975 GB, free: 7.652 MB / 418.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.042e-05/0.7431, allocations: 0 / 0.5975 GB, free: 7.652 MB / 418.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001899/0.7433, allocations: 55.86 kB / 0.5975 GB, free: 7.598 MB / 418.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.31e-06/0.7433, allocations: 3.906 kB / 0.5976 GB, free: 7.594 MB / 418.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000156/0.7434, allocations: 39.97 kB / 0.5976 GB, free: 7.555 MB / 418.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.213e-05/0.7435, allocations: 7.984 kB / 0.5976 GB, free: 7.547 MB / 418.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.149e-05/0.7435, allocations: 4 kB / 0.5976 GB, free: 7.543 MB / 418.8 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 8.646e-05/0.7436, allocations: 43.97 kB / 0.5976 GB, free: 7.5 MB / 418.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.614e-06/0.7436, allocations: 0 / 0.5976 GB, free: 7.5 MB / 418.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.184e-06/0.7436, allocations: 0 / 0.5976 GB, free: 7.5 MB / 418.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.873e-05/0.7437, allocations: 23.92 kB / 0.5977 GB, free: 7.477 MB / 418.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.975e-06/0.7437, allocations: 4 kB / 0.5977 GB, free: 7.473 MB / 418.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.626e-05/0.7438, allocations: 19.84 kB / 0.5977 GB, free: 7.453 MB / 418.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.997e-06/0.7438, allocations: 7.984 kB / 0.5977 GB, free: 7.445 MB / 418.8 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.555e-05/0.7439, allocations: 105 kB / 0.5978 GB, free: 7.336 MB / 418.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.344e-05/0.7439, allocations: 11.91 kB / 0.5978 GB, free: 7.324 MB / 418.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.228e-05/0.744, allocations: 8.5 kB / 0.5978 GB, free: 7.305 MB / 418.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.186e-06/0.744, allocations: 7.906 kB / 0.5978 GB, free: 7.297 MB / 418.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.667e-06/0.744, allocations: 4 kB / 0.5978 GB, free: 7.293 MB / 418.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.276e-06/0.744, allocations: 0 / 0.5978 GB, free: 7.293 MB / 418.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000198/0.7442, allocations: 194.1 kB / 0.598 GB, free: 7.066 MB / 418.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.7442, allocations: 0 / 0.598 GB, free: 7.066 MB / 418.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001875/0.7444, allocations: 43.97 kB / 0.5981 GB, free: 7.023 MB / 418.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.665e-06/0.7444, allocations: 0 / 0.5981 GB, free: 7.023 MB / 418.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.497e-05/0.7445, allocations: 3.906 kB / 0.5981 GB, free: 7.02 MB / 418.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.345e-06/0.7445, allocations: 4 kB / 0.5981 GB, free: 7.016 MB / 418.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.656e-06/0.7445, allocations: 0 / 0.5981 GB, free: 7.016 MB / 418.8 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000257/0.7447, allocations: 219.4 kB / 0.5983 GB, free: 6.785 MB / 418.8 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003822/0.7451, allocations: 0.617 MB / 0.5989 GB, free: 6.148 MB / 418.8 MB Notification: Performance of postOpt removeConstants (simulation): time 4.664e-05/0.7452, allocations: 89.02 kB / 0.599 GB, free: 6.043 MB / 418.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.106e-05/0.7452, allocations: 3.906 kB / 0.599 GB, free: 6.039 MB / 418.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002979/0.7455, allocations: 56.02 kB / 0.599 GB, free: 5.984 MB / 418.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.025e-05/0.7456, allocations: 7.984 kB / 0.599 GB, free: 5.977 MB / 418.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.519e-05/0.7456, allocations: 4 kB / 0.599 GB, free: 5.973 MB / 418.8 MB Notification: Performance of sort global known variables: time 6.663e-05/0.7457, allocations: 109.5 kB / 0.5991 GB, free: 5.867 MB / 418.8 MB Notification: Performance of remove unused functions: time 0.001474/0.7471, allocations: 43.78 kB / 0.5992 GB, free: 5.824 MB / 418.8 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.0001261/0.7473, allocations: 107.1 kB / 0.5993 GB, free: 5.711 MB / 418.8 MB Notification: Performance of simCode: created initialization part: time 0.0001989/0.7475, allocations: 93.12 kB / 0.5994 GB, free: 5.621 MB / 418.8 MB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.7475, allocations: 0 / 0.5994 GB, free: 5.621 MB / 418.8 MB Notification: Performance of simCode: created simulation system equations: time 5.641e-05/0.7476, allocations: 32.3 kB / 0.5994 GB, free: 5.59 MB / 418.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002749/0.7478, allocations: 28.06 kB / 0.5994 GB, free: 5.562 MB / 418.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003792/0.7482, allocations: 155.7 kB / 0.5996 GB, free: 5.387 MB / 418.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000303/0.7485, allocations: 0.7273 MB / 0.6003 GB, free: 4.637 MB / 418.8 MB Notification: Performance of SimCode: time 2.7e-07/0.7485, allocations: 0 / 0.6003 GB, free: 4.637 MB / 418.8 MB (rm -f ModelicaTest_trunk_ModelicaTest.Blocks.Limiters.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Blocks.Limiters.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Blocks.Limiters.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Blocks.Limiters.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Blocks.Limiters_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Blocks_Limiters_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Blocks_Limiters.fmu > ModelicaTest_trunk_ModelicaTest.Blocks.Limiters.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Blocks.Limiters_res.mat does not exist to compare? outputFormat=mat