Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.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.TestMatricesExamplesSolveLinearEquations,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Math_TestMatricesExamplesSolveLinearEquations",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Math_TestMatricesExamplesSolveLinearEquations",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.001208/0.001208, allocations: 189.2 kB / 7.807 MB, free: 2.23 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.423/1.423, allocations: 205.2 MB / 213.4 MB, free: 13.91 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.0009496/0.0009496, allocations: 85.78 kB / 261.4 MB, free: 13.54 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.1892/0.1892, allocations: 43.48 MB / 352.8 MB, free: 1.957 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2188/0.408, allocations: 64.97 MB / 417.8 MB, free: 40.46 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3096/0.7177, allocations: 58.84 MB / 476.7 MB, free: 5.168 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1374/0.8552, allocations: 88.2 MB / 0.5516 GB, free: 10.68 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002227/0.8555, allocations: 63.36 kB / 0.5517 GB, free: 10.62 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: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.03285/0.8883, allocations: 9.118 MB / 0.5606 GB, free: 1.449 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.014e-05/0.8884, allocations: 12 kB / 0.5606 GB, free: 1.438 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.241e-05/0.8885, allocations: 79.22 kB / 0.5607 GB, free: 1.359 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000163/0.8886, allocations: 234.4 kB / 0.5609 GB, free: 1.09 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.597e-05/0.8887, allocations: 154.6 kB / 0.561 GB, free: 0.9375 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.794e-05/0.8888, allocations: 150.6 kB / 0.5612 GB, free: 0.7891 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.277e-05/0.8889, allocations: 158.5 kB / 0.5613 GB, free: 0.6328 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.747e-05/0.8889, allocations: 108.9 kB / 0.5614 GB, free: 0.5195 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.854e-05/0.889, allocations: 75.28 kB / 0.5615 GB, free: 456 kB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.467e-05/0.889, allocations: 150.6 kB / 0.5616 GB, free: 304 kB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.514e-05/0.8891, allocations: 150.6 kB / 0.5618 GB, free: 152 kB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000274/0.8894, allocations: 422.5 kB / 0.5622 GB, free: 15.7 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.095e-05/0.8895, allocations: 177.1 kB / 0.5624 GB, free: 15.52 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.299e-05/0.8895, allocations: 84.72 kB / 0.5624 GB, free: 15.43 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.901e-05/0.8896, allocations: 75.28 kB / 0.5625 GB, free: 15.36 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.109e-05/0.8896, allocations: 109.8 kB / 0.5626 GB, free: 15.24 MB / 410.7 MB Notification: Performance of pre-optimization done (n=0): time 1.844e-06/0.8896, allocations: 0 / 0.5626 GB, free: 15.24 MB / 410.7 MB Notification: Performance of matching and sorting (n=0): time 8.692e-05/0.8897, allocations: 29.7 kB / 0.5627 GB, free: 15.2 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.663e-05/0.8898, allocations: 77.11 kB / 0.5627 GB, free: 15.11 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.906e-05/0.8899, allocations: 85 kB / 0.5628 GB, free: 15.02 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.902e-05/0.8899, allocations: 29.7 kB / 0.5628 GB, free: 14.98 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.177e-05/0.8899, allocations: 80.14 kB / 0.5629 GB, free: 14.9 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.793e-06/0.8899, allocations: 0 / 0.5629 GB, free: 14.9 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.7e-07/0.89, allocations: 0 / 0.5629 GB, free: 14.9 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001526/0.8901, allocations: 322.7 kB / 0.5632 GB, free: 14.58 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.481e-06/0.8901, allocations: 0 / 0.5632 GB, free: 14.58 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.541e-05/0.8902, allocations: 4 kB / 0.5632 GB, free: 14.57 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.012e-05/0.8902, allocations: 83.22 kB / 0.5633 GB, free: 14.49 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.033e-05/0.8903, allocations: 75.28 kB / 0.5634 GB, free: 14.42 MB / 410.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 7.06e-05/0.8903, allocations: 33.69 kB / 0.5634 GB, free: 14.38 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.211e-05/0.8904, allocations: 4 kB / 0.5634 GB, free: 14.38 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001098/0.8905, allocations: 75.28 kB / 0.5635 GB, free: 14.3 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001021/0.8906, allocations: 158.5 kB / 0.5636 GB, free: 14.14 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.236e-05/0.8906, allocations: 83.25 kB / 0.5637 GB, free: 14.06 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.441e-05/0.8907, allocations: 154.5 kB / 0.5639 GB, free: 13.91 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.901e-05/0.8908, allocations: 79.22 kB / 0.5639 GB, free: 13.83 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.926e-05/0.8909, allocations: 79.28 kB / 0.564 GB, free: 13.75 MB / 410.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: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (0): * Single equations (assignments): 0 * 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.0001952/0.8911, allocations: 258.7 kB / 0.5643 GB, free: 13.5 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.061e-05/0.8912, allocations: 102.9 kB / 0.5644 GB, free: 13.39 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.981e-05/0.8913, allocations: 115.9 kB / 0.5645 GB, free: 13.27 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001032/0.8914, allocations: 180.3 kB / 0.5646 GB, free: 13.08 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.967e-05/0.8915, allocations: 180.2 kB / 0.5648 GB, free: 12.9 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001048/0.8916, allocations: 180.2 kB / 0.565 GB, free: 12.71 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002643/0.8919, allocations: 373.8 kB / 0.5653 GB, free: 12.3 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.932e-05/0.892, allocations: 112.9 kB / 0.5654 GB, free: 12.19 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.116e-05/0.8921, allocations: 108.9 kB / 0.5655 GB, free: 12.07 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.384e-05/0.8922, allocations: 180.2 kB / 0.5657 GB, free: 11.89 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.602e-05/0.8923, allocations: 180.3 kB / 0.5659 GB, free: 11.71 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001019/0.8924, allocations: 184.2 kB / 0.5661 GB, free: 11.52 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001081/0.8925, allocations: 180.3 kB / 0.5662 GB, free: 11.34 MB / 410.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001957/0.8927, allocations: 308.1 kB / 0.5665 GB, free: 11.01 MB / 410.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.000439/0.8932, allocations: 0.6759 MB / 0.5672 GB, free: 10.31 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.941e-05/0.8933, allocations: 186 kB / 0.5674 GB, free: 10.1 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001045/0.8934, allocations: 176.3 kB / 0.5675 GB, free: 9.922 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.435e-05/0.8935, allocations: 101 kB / 0.5676 GB, free: 9.816 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001005/0.8936, allocations: 188.2 kB / 0.5678 GB, free: 9.625 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.612e-05/0.8936, allocations: 105 kB / 0.5679 GB, free: 9.516 MB / 410.7 MB Notification: Performance of sort global known variables: time 4.908e-05/0.8937, allocations: 75.28 kB / 0.568 GB, free: 9.441 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.00149/0.8952, allocations: 187.7 kB / 0.5682 GB, free: 9.258 MB / 410.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: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * 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.001213/0.8964, allocations: 380.2 kB / 0.5685 GB, free: 8.875 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 5.578e-05/0.8965, allocations: 3.938 kB / 0.5685 GB, free: 8.871 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.919e-06/0.8965, allocations: 4 kB / 0.5685 GB, free: 8.867 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 1.173e-06/0.8965, allocations: 0 / 0.5685 GB, free: 8.867 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000334/0.8969, allocations: 0.5185 MB / 0.569 GB, free: 8.344 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001557/0.897, allocations: 123.3 kB / 0.5692 GB, free: 8.199 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002612/0.8973, allocations: 0.6802 MB / 0.5698 GB, free: 7.492 MB / 410.7 MB Notification: Performance of SimCode: time 4.7e-07/0.8973, allocations: 0 / 0.5698 GB, free: 7.492 MB / 410.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Math_TestMatricesExamplesSolveLinearEquations_fmu --startTime=0 --stopTime=0 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Math_TestMatricesExamplesSolveLinearEquations.fmu > ModelicaTest_3.2.3_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.pipe 2>&1)