Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Math.TestMatrices,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Math_TestMatrices",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Math.TestMatrices,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Math_TestMatrices",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 3.2.3+maint.om/package.mo): time 0.001149/0.001149, allocations: 190 kB / 7.803 MB, free: 2.5 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.597/1.597, allocations: 205.2 MB / 213.4 MB, free: 13.92 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009502/0.0009501, allocations: 92.03 kB / 261.4 MB, free: 13.55 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2367/0.2367, allocations: 43.49 MB / 352.9 MB, free: 1.957 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2446/0.4814, allocations: 64.96 MB / 417.8 MB, free: 40.46 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3945/0.8759, allocations: 58.83 MB / 476.6 MB, free: 5.156 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1533/1.029, allocations: 85.5 MB / 0.549 GB, free: 13.41 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004018/1.03, allocations: 63.97 kB / 0.549 GB, free: 13.34 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.01077/1.041, allocations: 2.87 MB / 0.5518 GB, free: 10.43 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.931e-05/1.041, allocations: 12 kB / 0.5518 GB, free: 10.42 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.438e-05/1.041, allocations: 0 / 0.5518 GB, free: 10.42 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001636/1.041, allocations: 159.1 kB / 0.552 GB, free: 10.23 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.89e-05/1.041, allocations: 0 / 0.552 GB, free: 10.23 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.581e-05/1.041, allocations: 3.984 kB / 0.552 GB, free: 10.22 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.055e-05/1.041, allocations: 11.84 kB / 0.552 GB, free: 10.21 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001043/1.041, allocations: 29.7 kB / 0.552 GB, free: 10.18 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.403e-05/1.041, allocations: 0 / 0.552 GB, free: 10.18 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.506e-05/1.041, allocations: 0 / 0.552 GB, free: 10.18 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.145e-06/1.041, allocations: 0 / 0.552 GB, free: 10.18 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001978/1.041, allocations: 130.2 kB / 0.5522 GB, free: 10.01 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.224e-05/1.041, allocations: 14.58 kB / 0.5522 GB, free: 9.988 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.106e-05/1.041, allocations: 4.859 kB / 0.5522 GB, free: 9.98 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.135e-05/1.041, allocations: 0 / 0.5522 GB, free: 9.98 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.499e-05/1.042, allocations: 70.89 kB / 0.5523 GB, free: 9.898 MB / 394.7 MB Notification: Performance of pre-optimization done (n=1): time 3.487e-06/1.042, allocations: 0 / 0.5523 GB, free: 9.898 MB / 394.7 MB Notification: Performance of matching and sorting (n=1): time 0.0002645/1.042, allocations: 41.55 kB / 0.5523 GB, free: 9.852 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.426e-05/1.042, allocations: 81.11 kB / 0.5524 GB, free: 9.754 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.652e-05/1.042, allocations: 85 kB / 0.5524 GB, free: 9.664 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.278e-05/1.042, allocations: 25.7 kB / 0.5525 GB, free: 9.633 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.05e-05/1.042, allocations: 80.14 kB / 0.5525 GB, free: 9.551 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.451e-05/1.042, allocations: 0 / 0.5525 GB, free: 9.551 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.246e-06/1.042, allocations: 0 / 0.5525 GB, free: 9.551 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.000197/1.042, allocations: 314.8 kB / 0.5528 GB, free: 9.234 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.498e-06/1.042, allocations: 0 / 0.5528 GB, free: 9.234 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.995e-06/1.042, allocations: 7.969 kB / 0.5529 GB, free: 9.227 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.358e-05/1.042, allocations: 3.984 kB / 0.5529 GB, free: 9.223 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.285e-06/1.042, allocations: 0 / 0.5529 GB, free: 9.223 MB / 394.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001189/1.043, allocations: 37.64 kB / 0.5529 GB, free: 9.18 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.869e-05/1.043, allocations: 4 kB / 0.5529 GB, free: 9.176 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.702e-06/1.043, allocations: 0 / 0.5529 GB, free: 9.176 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.392e-05/1.043, allocations: 3.906 kB / 0.5529 GB, free: 9.172 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.635e-06/1.043, allocations: 3.938 kB / 0.5529 GB, free: 9.168 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.541e-06/1.043, allocations: 0 / 0.5529 GB, free: 9.168 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.27e-05/1.043, allocations: 4.094 kB / 0.5529 GB, free: 9.164 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.096e-05/1.043, allocations: 4 kB / 0.5529 GB, free: 9.16 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: 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 0.0001472/1.043, allocations: 136.1 kB / 0.553 GB, free: 9.016 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.085e-06/1.043, allocations: 0 / 0.553 GB, free: 9.016 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.199e-05/1.043, allocations: 3 kB / 0.553 GB, free: 9.008 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.818e-06/1.043, allocations: 4 kB / 0.5531 GB, free: 9.004 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.016e-05/1.043, allocations: 3.906 kB / 0.5531 GB, free: 9 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.961e-06/1.043, allocations: 0 / 0.5531 GB, free: 9 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001372/1.043, allocations: 126.2 kB / 0.5532 GB, free: 8.84 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.72e-07/1.043, allocations: 4 kB / 0.5532 GB, free: 8.836 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.11e-07/1.043, allocations: 0 / 0.5532 GB, free: 8.836 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.5e-06/1.043, allocations: 3.984 kB / 0.5532 GB, free: 8.832 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.208e-05/1.043, allocations: 4 kB / 0.5532 GB, free: 8.828 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.828e-06/1.043, allocations: 4 kB / 0.5532 GB, free: 8.824 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.186e-06/1.043, allocations: 0 / 0.5532 GB, free: 8.824 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000126/1.043, allocations: 64.98 kB / 0.5533 GB, free: 8.742 MB / 394.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003617/1.044, allocations: 437.6 kB / 0.5537 GB, free: 8.293 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.978e-05/1.044, allocations: 85.02 kB / 0.5538 GB, free: 8.191 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.997e-05/1.044, allocations: 0 / 0.5538 GB, free: 8.191 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.146e-06/1.044, allocations: 0 / 0.5538 GB, free: 8.191 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.476e-05/1.044, allocations: 3.984 kB / 0.5538 GB, free: 8.188 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.786e-06/1.044, allocations: 0 / 0.5538 GB, free: 8.188 MB / 394.7 MB Notification: Performance of sort global known variables: time 6.782e-05/1.044, allocations: 79.28 kB / 0.5538 GB, free: 8.109 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001008/1.045, allocations: 83.91 kB / 0.5539 GB, free: 8.027 MB / 394.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.0007599/1.046, allocations: 203 kB / 0.5541 GB, free: 7.82 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001162/1.046, allocations: 33.64 kB / 0.5541 GB, free: 7.781 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.507e-06/1.046, allocations: 64 / 0.5541 GB, free: 7.781 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 3.565e-05/1.046, allocations: 37.7 kB / 0.5542 GB, free: 7.738 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000111/1.046, allocations: 0 / 0.5542 GB, free: 7.738 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002139/1.046, allocations: 40.08 kB / 0.5542 GB, free: 7.676 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004811/1.047, allocations: 0.6918 MB / 0.5549 GB, free: 6.957 MB / 394.7 MB Notification: Performance of SimCode: time 2.3e-07/1.047, allocations: 0 / 0.5549 GB, free: 6.957 MB / 394.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Math_TestMatrices_fmu --startTime=0 --stopTime=0 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Math_TestMatrices.fmu > ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices.pipe 2>&1)