Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices2b.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.Math.TestMatrices2b,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Math_TestMatrices2b",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Math.TestMatrices2b,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Math_TestMatrices2b",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.001474/0.001475, allocations: 180.9 kB / 8.517 MB, free: 1.852 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.203/1.203, allocations: 221.4 MB / 230.3 MB, free: 7.691 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.0009461/0.0009461, allocations: 86.38 kB / 281.2 MB, free: 5.488 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.1632/0.1632, allocations: 44.14 MB / 376.1 MB, free: 3.215 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1748/0.338, allocations: 68.03 MB / 444.1 MB, free: 15.49 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09299/0.431, allocations: 61.91 MB / 0.4942 GB, free: 1.512 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2496/0.6807, allocations: 89.16 MB / 0.5812 GB, free: 7.598 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000171/0.6809, allocations: 64.62 kB / 0.5813 GB, free: 7.535 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.1225/0.8035, allocations: 45.65 MB / 0.6259 GB, free: 9.785 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.971e-05/0.8035, allocations: 11.94 kB / 0.6259 GB, free: 9.773 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.051e-05/0.8036, allocations: 0 / 0.6259 GB, free: 9.773 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.572e-05/0.8037, allocations: 163.1 kB / 0.626 GB, free: 9.574 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.376e-05/0.8037, allocations: 0 / 0.626 GB, free: 9.574 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.238e-05/0.8037, allocations: 8 kB / 0.6261 GB, free: 9.566 MB / 442.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 3.457e-05/0.8038, allocations: 0 / 0.6261 GB, free: 9.566 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 4.982e-05/0.8038, allocations: 29.61 kB / 0.6261 GB, free: 9.531 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.491e-06/0.8038, allocations: 4 kB / 0.6261 GB, free: 9.527 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.123e-06/0.8039, allocations: 0 / 0.6261 GB, free: 9.527 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.268e-06/0.8039, allocations: 4 kB / 0.6261 GB, free: 9.523 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000122/0.804, allocations: 130.2 kB / 0.6262 GB, free: 9.359 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.609e-05/0.804, allocations: 14.58 kB / 0.6262 GB, free: 9.336 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.189e-05/0.8041, allocations: 12.95 kB / 0.6262 GB, free: 9.32 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.192e-06/0.8041, allocations: 3.984 kB / 0.6262 GB, free: 9.316 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.214e-05/0.8041, allocations: 56.27 kB / 0.6263 GB, free: 9.246 MB / 442.7 MB Notification: Performance of pre-optimization done (n=1): time 9.92e-07/0.8041, allocations: 0 / 0.6263 GB, free: 9.246 MB / 442.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001518/0.8043, allocations: 33.7 kB / 0.6263 GB, free: 9.207 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.908e-05/0.8044, allocations: 88.95 kB / 0.6264 GB, free: 9.102 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.08e-05/0.8044, allocations: 85 kB / 0.6265 GB, free: 9.012 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 1.212e-05/0.8044, allocations: 29.64 kB / 0.6265 GB, free: 8.977 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.581e-05/0.8044, allocations: 80.14 kB / 0.6266 GB, free: 8.895 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.447e-05/0.8045, allocations: 7.938 kB / 0.6266 GB, free: 8.887 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.023e-06/0.8045, allocations: 0 / 0.6266 GB, free: 8.887 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 9.44e-05/0.8046, allocations: 310.8 kB / 0.6269 GB, free: 8.574 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.194e-06/0.8046, allocations: 8.016 kB / 0.6269 GB, free: 8.566 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.829e-06/0.8046, allocations: 0 / 0.6269 GB, free: 8.566 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.168e-05/0.8046, allocations: 4 kB / 0.6269 GB, free: 8.562 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.272e-06/0.8046, allocations: 0 / 0.6269 GB, free: 8.562 MB / 442.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.436e-05/0.8047, allocations: 29.7 kB / 0.6269 GB, free: 8.527 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.087e-05/0.8047, allocations: 4 kB / 0.6269 GB, free: 8.523 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.128e-06/0.8047, allocations: 0 / 0.6269 GB, free: 8.523 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.08e-05/0.8048, allocations: 0 / 0.6269 GB, free: 8.523 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.184e-06/0.8048, allocations: 3.906 kB / 0.627 GB, free: 8.52 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.761e-06/0.8048, allocations: 4.719 kB / 0.627 GB, free: 8.516 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.167e-05/0.8048, allocations: 4 kB / 0.627 GB, free: 8.512 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.4e-06/0.8048, allocations: 0 / 0.627 GB, free: 8.512 MB / 442.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: 1 (result) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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.741e-05/0.8049, allocations: 134.7 kB / 0.6271 GB, free: 8.367 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.688e-06/0.8049, allocations: 4 kB / 0.6271 GB, free: 8.363 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.058e-05/0.8049, allocations: 3 kB / 0.6271 GB, free: 8.359 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.433e-06/0.8049, allocations: 0 / 0.6271 GB, free: 8.359 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.416e-06/0.8049, allocations: 0 / 0.6271 GB, free: 8.359 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.741e-06/0.8049, allocations: 3.906 kB / 0.6271 GB, free: 8.355 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.255e-05/0.805, allocations: 126.2 kB / 0.6272 GB, free: 8.195 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.52e-07/0.805, allocations: 4 kB / 0.6272 GB, free: 8.191 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.479e-06/0.805, allocations: 7.969 kB / 0.6272 GB, free: 8.184 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.673e-06/0.805, allocations: 4 kB / 0.6272 GB, free: 8.18 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.26e-06/0.805, allocations: 0 / 0.6272 GB, free: 8.18 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/0.805, allocations: 0 / 0.6272 GB, free: 8.18 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.974e-06/0.8051, allocations: 0 / 0.6272 GB, free: 8.18 MB / 442.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 8.657e-05/0.8051, allocations: 61.05 kB / 0.6273 GB, free: 8.102 MB / 442.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0001954/0.8054, allocations: 449.5 kB / 0.6277 GB, free: 7.641 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.124e-05/0.8054, allocations: 77.11 kB / 0.6278 GB, free: 7.547 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.443e-05/0.8054, allocations: 7.844 kB / 0.6278 GB, free: 7.539 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.646e-06/0.8054, allocations: 0 / 0.6278 GB, free: 7.539 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.367e-05/0.8054, allocations: 7.984 kB / 0.6278 GB, free: 7.531 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.097e-06/0.8055, allocations: 7.938 kB / 0.6278 GB, free: 7.523 MB / 442.7 MB Notification: Performance of sort global known variables: time 3.151e-05/0.8055, allocations: 79.31 kB / 0.6279 GB, free: 7.445 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.001284/0.8068, allocations: 199.9 kB / 0.6281 GB, free: 7.25 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (result) * Number of discrete states: 1 (result) * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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.00117/0.808, allocations: 378.6 kB / 0.6284 GB, free: 6.887 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 6.057e-05/0.808, allocations: 33.7 kB / 0.6285 GB, free: 6.848 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.808, allocations: 3.938 kB / 0.6285 GB, free: 6.844 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 2.027e-05/0.8081, allocations: 33.64 kB / 0.6285 GB, free: 6.805 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 7.734e-05/0.8081, allocations: 5.062 kB / 0.6285 GB, free: 6.801 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001214/0.8083, allocations: 44.06 kB / 0.6286 GB, free: 6.734 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002633/0.8085, allocations: 0.684 MB / 0.6292 GB, free: 6.023 MB / 442.7 MB Notification: Performance of SimCode: time 2.71e-07/0.8086, allocations: 0 / 0.6292 GB, free: 6.023 MB / 442.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices2b.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices2b.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices2b.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices2b.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices2b_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Math_TestMatrices2b_fmu --startTime=0 --stopTime=0 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Math_TestMatrices2b.fmu > ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices2b.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices2b_res.mat does not exist to compare? outputFormat=mat