Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Elementary.SimpleODE.Models.CascadedFirstOrder.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/ScalableTestSuite 2.2.0-master/package.mo", uses=false) Using package ScalableTestSuite with version 2.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/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(ScalableTestSuite.Elementary.SimpleODE.Models.CascadedFirstOrder,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Elementary_SimpleODE_Models_CascadedFirstOrder",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ScalableTestSuite.Elementary.SimpleODE.Models.CascadedFirstOrder,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Elementary_SimpleODE_Models_CascadedFirstOrder",fmuType="me",version="2.0",platforms={"static"}) [:1:1-1:33: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.00105/0.00105, allocations: 179.2 kB / 8.131 MB, free: 2.133 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.08/1.08, allocations: 221.4 MB / 229.9 MB, free: 3.031 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.000882/0.0008821, allocations: 99.23 kB / 280.8 MB, free: 1.238 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.5939/0.5939, allocations: 120.4 MB / 452 MB, free: 13 MB / 346.8 MB Notification: Performance of FrontEnd - loaded program: time 0.3056/0.8995, allocations: 88.95 MB / 0.5283 GB, free: 52.36 MB / 394.9 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1035/1.003, allocations: 82.85 MB / 0.6092 GB, free: 3.5 MB / 426.9 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4375/1.441, allocations: 124.4 MB / 0.7307 GB, free: 5.602 MB / 0.4953 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001102/1.441, allocations: 46.89 kB / 0.7307 GB, free: 5.586 MB / 0.4953 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.002861/1.444, allocations: 1.018 MB / 0.7317 GB, free: 4.844 MB / 0.4953 GB Notification: Performance of prepare preOptimizeDAE: time 3.06e-05/1.444, allocations: 8 kB / 0.7317 GB, free: 4.832 MB / 0.4953 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.044e-05/1.444, allocations: 7.906 kB / 0.7317 GB, free: 4.824 MB / 0.4953 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001404/1.444, allocations: 188 kB / 0.7319 GB, free: 4.609 MB / 0.4953 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.764e-06/1.444, allocations: 4 kB / 0.7319 GB, free: 4.605 MB / 0.4953 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.418e-05/1.444, allocations: 7.328 kB / 0.7319 GB, free: 4.602 MB / 0.4953 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.859e-05/1.444, allocations: 23.81 kB / 0.732 GB, free: 4.586 MB / 0.4953 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.059e-05/1.444, allocations: 78.16 kB / 0.732 GB, free: 4.527 MB / 0.4953 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.901e-06/1.444, allocations: 0 / 0.732 GB, free: 4.527 MB / 0.4953 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.057e-05/1.444, allocations: 3.984 kB / 0.732 GB, free: 4.523 MB / 0.4953 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.348e-06/1.444, allocations: 7.906 kB / 0.732 GB, free: 4.516 MB / 0.4953 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003637/1.444, allocations: 291.9 kB / 0.7323 GB, free: 4.227 MB / 0.4953 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001156/1.445, allocations: 115 kB / 0.7324 GB, free: 4.141 MB / 0.4953 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.332e-05/1.445, allocations: 38.08 kB / 0.7325 GB, free: 4.113 MB / 0.4953 GB Notification: Performance of preOpt evalFunc (simulation): time 9.317e-06/1.445, allocations: 112 / 0.7325 GB, free: 4.113 MB / 0.4953 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.227e-06/1.445, allocations: 38.5 kB / 0.7325 GB, free: 4.066 MB / 0.4953 GB Notification: Performance of pre-optimization done (n=10): time 8.42e-07/1.445, allocations: 4 kB / 0.7325 GB, free: 4.062 MB / 0.4953 GB Notification: Performance of matching and sorting (n=10): time 0.0001748/1.445, allocations: 106.9 kB / 0.7326 GB, free: 3.98 MB / 0.4953 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.301e-05/1.445, allocations: 55.41 kB / 0.7327 GB, free: 3.914 MB / 0.4953 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.282e-05/1.445, allocations: 92.94 kB / 0.7327 GB, free: 3.82 MB / 0.4953 GB Notification: Performance of collectPreVariables (initialization): time 8.566e-06/1.445, allocations: 25.7 kB / 0.7328 GB, free: 3.789 MB / 0.4953 GB Notification: Performance of collectInitialEqns (initialization): time 1.75e-05/1.445, allocations: 84.27 kB / 0.7329 GB, free: 3.699 MB / 0.4953 GB Notification: Performance of collectInitialBindings (initialization): time 2.111e-05/1.445, allocations: 50.59 kB / 0.7329 GB, free: 3.664 MB / 0.4953 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.192e-06/1.445, allocations: 0 / 0.7329 GB, free: 3.664 MB / 0.4953 GB Notification: Performance of setup shared object (initialization): time 0.0001039/1.445, allocations: 321.5 kB / 0.7332 GB, free: 19.35 MB / 0.5109 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.339e-05/1.445, allocations: 56.62 kB / 0.7333 GB, free: 19.31 MB / 0.5109 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.094e-05/1.445, allocations: 84.8 kB / 0.7333 GB, free: 19.25 MB / 0.5109 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.531e-05/1.445, allocations: 81.19 kB / 0.7334 GB, free: 19.21 MB / 0.5109 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.302e-06/1.445, allocations: 0 / 0.7334 GB, free: 19.21 MB / 0.5109 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0001877/1.446, allocations: 184.8 kB / 0.7336 GB, free: 19.07 MB / 0.5109 GB Notification: Performance of prepare postOptimizeDAE: time 8.706e-06/1.446, allocations: 5.094 kB / 0.7336 GB, free: 19.07 MB / 0.5109 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.318e-06/1.446, allocations: 8.031 kB / 0.7336 GB, free: 19.06 MB / 0.5109 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.698e-06/1.446, allocations: 0 / 0.7336 GB, free: 19.06 MB / 0.5109 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001866/1.446, allocations: 57.78 kB / 0.7337 GB, free: 19.01 MB / 0.5109 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.298e-06/1.446, allocations: 4.688 kB / 0.7337 GB, free: 19.01 MB / 0.5109 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.585e-05/1.446, allocations: 12.97 kB / 0.7337 GB, free: 19 MB / 0.5109 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.948e-06/1.446, allocations: 4 kB / 0.7337 GB, free: 18.99 MB / 0.5109 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (21): * Single equations (assignments): 21 * 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 5.254e-05/1.446, allocations: 105.7 kB / 0.7338 GB, free: 18.89 MB / 0.5109 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.889e-05/1.446, allocations: 8.562 kB / 0.7338 GB, free: 18.88 MB / 0.5109 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.967e-05/1.446, allocations: 10.91 kB / 0.7338 GB, free: 18.87 MB / 0.5109 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.593e-06/1.446, allocations: 4 kB / 0.7338 GB, free: 18.86 MB / 0.5109 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.088e-06/1.446, allocations: 0 / 0.7338 GB, free: 18.86 MB / 0.5109 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.23e-06/1.446, allocations: 7.375 kB / 0.7338 GB, free: 18.86 MB / 0.5109 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001841/1.446, allocations: 169.5 kB / 0.734 GB, free: 18.67 MB / 0.5109 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.863e-06/1.446, allocations: 0.75 kB / 0.734 GB, free: 18.67 MB / 0.5109 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002744/1.446, allocations: 53.91 kB / 0.734 GB, free: 18.63 MB / 0.5109 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.944e-06/1.446, allocations: 0 / 0.734 GB, free: 18.63 MB / 0.5109 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.592e-05/1.446, allocations: 5.828 kB / 0.734 GB, free: 18.62 MB / 0.5109 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.314e-06/1.447, allocations: 5.703 kB / 0.734 GB, free: 18.62 MB / 0.5109 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.944e-06/1.447, allocations: 0 / 0.734 GB, free: 18.62 MB / 0.5109 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001994/1.447, allocations: 240.5 kB / 0.7343 GB, free: 18.41 MB / 0.5109 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002834/1.447, allocations: 0.6498 MB / 0.7349 GB, free: 17.79 MB / 0.5109 GB Notification: Performance of postOpt removeConstants (simulation): time 1.741e-05/1.447, allocations: 89.75 kB / 0.735 GB, free: 17.68 MB / 0.5109 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.263e-05/1.447, allocations: 5.453 kB / 0.735 GB, free: 17.68 MB / 0.5109 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.997e-05/1.447, allocations: 6.297 kB / 0.735 GB, free: 17.68 MB / 0.5109 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.085e-05/1.447, allocations: 10.08 kB / 0.735 GB, free: 17.67 MB / 0.5109 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.031e-06/1.447, allocations: 0 / 0.735 GB, free: 17.67 MB / 0.5109 GB Notification: Performance of sort global known variables: time 2.593e-05/1.447, allocations: 80.08 kB / 0.7351 GB, free: 17.59 MB / 0.5109 GB Notification: Performance of remove unused functions: time 0.000757/1.448, allocations: 20.89 kB / 0.7351 GB, free: 17.57 MB / 0.5109 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 10 (x[1],x[2],x[3],x[4],x[5],x[6],x[7],x[8],x[9],x[10]) * 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.828e-05/1.448, allocations: 100.7 kB / 0.7352 GB, free: 17.47 MB / 0.5109 GB Notification: Performance of simCode: created initialization part: time 0.0001546/1.448, allocations: 126.1 kB / 0.7353 GB, free: 17.39 MB / 0.5109 GB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/1.448, allocations: 4.062 kB / 0.7353 GB, free: 17.38 MB / 0.5109 GB Notification: Performance of simCode: created simulation system equations: time 4.294e-05/1.448, allocations: 41.86 kB / 0.7354 GB, free: 17.36 MB / 0.5109 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001316/1.448, allocations: 8.453 kB / 0.7354 GB, free: 17.35 MB / 0.5109 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003174/1.449, allocations: 285.5 kB / 0.7356 GB, free: 17.1 MB / 0.5109 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000236/1.449, allocations: 0.739 MB / 0.7364 GB, free: 16.34 MB / 0.5109 GB Notification: Performance of SimCode: time 2.5e-07/1.449, allocations: 0 / 0.7364 GB, free: 16.34 MB / 0.5109 GB (rm -f ScalableTestSuite_ScalableTestSuite.Elementary.SimpleODE.Models.CascadedFirstOrder.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Elementary.SimpleODE.Models.CascadedFirstOrder.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Elementary.SimpleODE.Models.CascadedFirstOrder.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Elementary.SimpleODE.Models.CascadedFirstOrder.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ScalableTestSuite_ScalableTestSuite.Elementary.SimpleODE.Models.CascadedFirstOrder_res.mat --tempDir=temp_ScalableTestSuite_ScalableTestSuite_Elementary_SimpleODE_Models_CascadedFirstOrder_fmu --startTime=0 --stopTime=2 --timeout=300 --tolerance=1e-06 ScalableTestSuite_ScalableTestSuite_Elementary_SimpleODE_Models_CascadedFirstOrder.fmu > ScalableTestSuite_ScalableTestSuite.Elementary.SimpleODE.Models.CascadedFirstOrder.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ScalableTestSuite_ScalableTestSuite.Elementary.SimpleODE.Models.CascadedFirstOrder_res.mat does not exist to compare? outputFormat=mat