Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Blocks.StrictLimiters.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.StrictLimiters,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Blocks_StrictLimiters",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Blocks.StrictLimiters,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Blocks_StrictLimiters",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.0008905/0.0008906, allocations: 184.6 kB / 8.521 MB, free: 1.844 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.122/1.122, allocations: 221.4 MB / 230.3 MB, free: 7.637 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.0008885/0.0008885, allocations: 90.41 kB / 281.2 MB, free: 5.453 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.1586/0.1586, allocations: 44.15 MB / 376.1 MB, free: 3.219 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1732/0.3318, allocations: 68.03 MB / 444.1 MB, free: 15.52 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08733/0.4191, allocations: 61.89 MB / 0.4942 GB, free: 1.551 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2471/0.6663, allocations: 90.94 MB / 0.583 GB, free: 5.891 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001637/0.6665, allocations: 64.62 kB / 0.583 GB, free: 5.828 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: 121 * Number of variables: 121 Notification: Performance of Generate backend data structure: time 0.04435/0.7108, allocations: 16.46 MB / 0.5991 GB, free: 5.297 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.4e-05/0.7109, allocations: 11.94 kB / 0.5991 GB, free: 5.285 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001685/0.7111, allocations: 94.88 kB / 0.5992 GB, free: 5.191 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001128/0.7122, allocations: 0.6053 MB / 0.5998 GB, free: 4.547 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.242e-05/0.7122, allocations: 16 kB / 0.5998 GB, free: 4.531 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.89e-05/0.7123, allocations: 35.98 kB / 0.5999 GB, free: 4.496 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000639/0.713, allocations: 330 kB / 0.6002 GB, free: 4.176 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008222/0.7138, allocations: 0.4984 MB / 0.6007 GB, free: 3.629 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.302e-05/0.7138, allocations: 3.938 kB / 0.6007 GB, free: 3.625 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.842e-05/0.7139, allocations: 3.938 kB / 0.6007 GB, free: 3.621 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.696e-05/0.7139, allocations: 15.91 kB / 0.6007 GB, free: 3.605 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003017/0.7169, allocations: 2.206 MB / 0.6028 GB, free: 1.324 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001344/0.7183, allocations: 0.6083 MB / 0.6034 GB, free: 0.6914 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003326/0.7186, allocations: 193.7 kB / 0.6036 GB, free: 0.4961 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.772e-05/0.7187, allocations: 8 kB / 0.6036 GB, free: 500 kB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.505e-05/0.7187, allocations: 42.5 kB / 0.6037 GB, free: 448 kB / 410.7 MB Notification: Performance of pre-optimization done (n=46): time 1.923e-06/0.7187, allocations: 0 / 0.6037 GB, free: 448 kB / 410.7 MB Notification: Performance of matching and sorting (n=46): time 0.0007782/0.7195, allocations: 413.7 kB / 0.6041 GB, free: 28 kB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.14e-05/0.7196, allocations: 132.5 kB / 0.6042 GB, free: 15.87 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004691/0.7201, allocations: 451.8 kB / 0.6046 GB, free: 15.42 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 3.906e-05/0.7201, allocations: 25.7 kB / 0.6046 GB, free: 15.39 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001176/0.7203, allocations: 240.7 kB / 0.6049 GB, free: 15.15 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001127/0.7204, allocations: 161.7 kB / 0.605 GB, free: 14.99 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3e-05/0.7204, allocations: 4 kB / 0.605 GB, free: 14.98 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001264/0.7205, allocations: 386.6 kB / 0.6054 GB, free: 14.6 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002522/0.7208, allocations: 145 kB / 0.6055 GB, free: 14.46 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003245/0.7211, allocations: 254.6 kB / 0.6058 GB, free: 14.17 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002723/0.7214, allocations: 148.8 kB / 0.6059 GB, free: 14.03 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.7214, allocations: 4 kB / 0.6059 GB, free: 14.02 MB / 426.7 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.000813/0.7222, allocations: 490.2 kB / 0.6064 GB, free: 13.54 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003181/0.7226, allocations: 0.8753 MB / 0.6072 GB, free: 12.59 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.215e-06/0.7226, allocations: 4 kB / 0.6072 GB, free: 12.59 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.431e-05/0.7226, allocations: 4 kB / 0.6072 GB, free: 12.59 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001079/0.7237, allocations: 211.7 kB / 0.6074 GB, free: 12.38 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.213e-06/0.7237, allocations: 12 kB / 0.6075 GB, free: 12.37 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005802/0.7243, allocations: 119.5 kB / 0.6076 GB, free: 12.25 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.263e-05/0.7244, allocations: 19.98 kB / 0.6076 GB, free: 12.23 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.985e-06/0.7244, allocations: 6.344 kB / 0.6076 GB, free: 12.23 MB / 426.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005973/0.725, allocations: 361.5 kB / 0.6079 GB, free: 11.88 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.615e-06/0.725, allocations: 0 / 0.6079 GB, free: 11.88 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.494e-06/0.725, allocations: 8.125 kB / 0.608 GB, free: 11.87 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008753/0.7259, allocations: 175.8 kB / 0.6081 GB, free: 11.7 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.212e-06/0.7259, allocations: 7.938 kB / 0.6081 GB, free: 11.69 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004615/0.7264, allocations: 95.52 kB / 0.6082 GB, free: 11.59 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.611e-05/0.7264, allocations: 16 kB / 0.6082 GB, free: 11.58 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 4 (PID2.I.local_reset,PID1.I.local_reset,limIntegrator2.local_reset,limIntegrator1.local_reset) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (62): * Single equations (assignments): 62 * 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 0.0001286/0.7266, allocations: 116.9 kB / 0.6083 GB, free: 11.46 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001318/0.7267, allocations: 67.16 kB / 0.6084 GB, free: 11.39 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001481/0.7268, allocations: 78.52 kB / 0.6085 GB, free: 11.31 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.203e-06/0.7269, allocations: 8 kB / 0.6085 GB, free: 11.3 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.569e-06/0.7269, allocations: 0 / 0.6085 GB, free: 11.3 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.004e-06/0.7269, allocations: 4 kB / 0.6085 GB, free: 11.3 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001506/0.7284, allocations: 1.073 MB / 0.6095 GB, free: 10.18 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.804e-06/0.7284, allocations: 0 / 0.6095 GB, free: 10.18 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007716/0.7292, allocations: 171.8 kB / 0.6097 GB, free: 10.02 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.636e-06/0.7292, allocations: 0 / 0.6097 GB, free: 10.02 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.111e-05/0.7292, allocations: 8 kB / 0.6097 GB, free: 10.01 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.607e-06/0.7293, allocations: 4 kB / 0.6097 GB, free: 10 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.156e-06/0.7293, allocations: 3.984 kB / 0.6097 GB, free: 10 MB / 426.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001071/0.7303, allocations: 0.8135 MB / 0.6105 GB, free: 9.164 MB / 426.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001456/0.7318, allocations: 1.436 MB / 0.6119 GB, free: 7.695 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001991/0.732, allocations: 184.1 kB / 0.6121 GB, free: 7.496 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.423e-05/0.7321, allocations: 11.89 kB / 0.6121 GB, free: 7.484 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006184/0.7327, allocations: 99.92 kB / 0.6122 GB, free: 7.387 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001002/0.7329, allocations: 31.94 kB / 0.6122 GB, free: 7.355 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.915e-05/0.7329, allocations: 19.98 kB / 0.6122 GB, free: 7.336 MB / 426.7 MB Notification: Performance of sort global known variables: time 0.0003325/0.7332, allocations: 339.2 kB / 0.6126 GB, free: 7.008 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001768/0.735, allocations: 211.1 kB / 0.6128 GB, free: 6.801 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 8 (slewRateLimiter1.y,slewRateLimiter2.y,limIntegrator1.y,limIntegrator2.y,PID1.I.y,PID1.D.x,PID2.I.y,PID2.D.x) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (46): * Single equations (assignments): 46 * 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.0001384/0.7352, allocations: 111.1 kB / 0.6129 GB, free: 6.684 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0009754/0.7361, allocations: 0.6242 MB / 0.6135 GB, free: 6.055 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.834e-06/0.7362, allocations: 0 / 0.6135 GB, free: 6.055 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003209/0.7365, allocations: 199.9 kB / 0.6137 GB, free: 5.859 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008122/0.7373, allocations: 155.2 kB / 0.6138 GB, free: 5.715 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002822/0.7401, allocations: 1.143 MB / 0.6149 GB, free: 4.531 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006793/0.7408, allocations: 1.009 MB / 0.6159 GB, free: 3.488 MB / 426.7 MB Notification: Performance of SimCode: time 3.31e-07/0.7408, allocations: 0 / 0.6159 GB, free: 3.488 MB / 426.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Blocks.StrictLimiters.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Blocks.StrictLimiters.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Blocks.StrictLimiters.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Blocks.StrictLimiters.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Blocks.StrictLimiters_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Blocks_StrictLimiters_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Blocks_StrictLimiters.fmu > ModelicaTest_4.0.0_ModelicaTest.Blocks.StrictLimiters.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Blocks.StrictLimiters_res.mat does not exist to compare? outputFormat=mat