Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Math_TestMatricesExamplesSolveLinearEquations",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations,fileNamePrefix="ModelicaTest_trunk_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 trunk/package.mo): time 0.00114/0.00114, allocations: 207 kB / 8.542 MB, free: 1.801 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.171/1.171, allocations: 225.5 MB / 234.4 MB, free: 3.363 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009357/0.000936, allocations: 92.44 kB / 286.3 MB, free: 5.207 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1665/0.1665, allocations: 45.15 MB / 383.3 MB, free: 0.5352 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2098/0.3763, allocations: 69.37 MB / 452.7 MB, free: 76.08 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08751/0.4638, allocations: 63.24 MB / 0.5039 GB, free: 12.91 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2661/0.73, allocations: 90.83 MB / 0.5926 GB, free: 12.11 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001614/0.7302, allocations: 60.22 kB / 0.5926 GB, free: 12.09 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.03071/0.761, allocations: 9.258 MB / 0.6017 GB, free: 4.082 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.671e-05/0.761, allocations: 16 kB / 0.6017 GB, free: 4.066 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.542e-05/0.7611, allocations: 75.28 kB / 0.6018 GB, free: 3.992 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.805e-05/0.7611, allocations: 238.3 kB / 0.602 GB, free: 3.719 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.157e-05/0.7612, allocations: 150.6 kB / 0.6021 GB, free: 3.57 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.158e-05/0.7612, allocations: 150.6 kB / 0.6023 GB, free: 3.422 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 4.597e-05/0.7613, allocations: 150.6 kB / 0.6024 GB, free: 3.273 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.019e-05/0.7614, allocations: 112.8 kB / 0.6025 GB, free: 3.156 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.241e-05/0.7614, allocations: 79.28 kB / 0.6026 GB, free: 3.078 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.622e-05/0.7614, allocations: 154.4 kB / 0.6027 GB, free: 2.93 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.711e-05/0.7615, allocations: 150.6 kB / 0.6029 GB, free: 2.781 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001923/0.7617, allocations: 418.5 kB / 0.6033 GB, free: 2.336 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.016e-05/0.7618, allocations: 169.1 kB / 0.6034 GB, free: 2.16 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.758e-05/0.7618, allocations: 88.11 kB / 0.6035 GB, free: 2.07 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.335e-05/0.7618, allocations: 79.22 kB / 0.6036 GB, free: 1.992 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.127e-05/0.7619, allocations: 113.1 kB / 0.6037 GB, free: 1.875 MB / 394.7 MB Notification: Performance of pre-optimization done (n=0): time 9.92e-07/0.7619, allocations: 0 / 0.6037 GB, free: 1.875 MB / 394.7 MB Notification: Performance of matching and sorting (n=0): time 6.171e-05/0.7619, allocations: 25.7 kB / 0.6037 GB, free: 1.844 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.525e-05/0.762, allocations: 85.05 kB / 0.6038 GB, free: 1.742 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.582e-05/0.762, allocations: 85 kB / 0.6039 GB, free: 1.652 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 9.999e-06/0.762, allocations: 25.7 kB / 0.6039 GB, free: 1.621 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.269e-05/0.7621, allocations: 80.14 kB / 0.604 GB, free: 1.539 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.21e-07/0.7621, allocations: 0 / 0.604 GB, free: 1.539 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.7e-07/0.7621, allocations: 4 kB / 0.604 GB, free: 1.535 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 8.549e-05/0.7622, allocations: 314.8 kB / 0.6043 GB, free: 1.219 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.036e-06/0.7622, allocations: 0 / 0.6043 GB, free: 1.219 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.464e-05/0.7622, allocations: 4 kB / 0.6043 GB, free: 1.215 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.247e-05/0.7622, allocations: 75.84 kB / 0.6044 GB, free: 1.141 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-05/0.7623, allocations: 75.28 kB / 0.6045 GB, free: 1.066 MB / 394.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 6.127e-05/0.7623, allocations: 40.94 kB / 0.6045 GB, free: 1.023 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.678e-06/0.7623, allocations: 4 kB / 0.6045 GB, free: 1.02 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.11e-05/0.7624, allocations: 75.28 kB / 0.6046 GB, free: 0.9453 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.515e-05/0.7624, allocations: 150.6 kB / 0.6047 GB, free: 0.7969 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.259e-05/0.7625, allocations: 87.16 kB / 0.6048 GB, free: 0.7109 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.714e-05/0.7625, allocations: 158.6 kB / 0.6049 GB, free: 0.5547 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.747e-05/0.7626, allocations: 75.28 kB / 0.605 GB, free: 492 kB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.782e-05/0.7626, allocations: 81.27 kB / 0.6051 GB, free: 412 kB / 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: 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.000112/0.7627, allocations: 259.5 kB / 0.6053 GB, free: 144 kB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.188e-05/0.7628, allocations: 105 kB / 0.6054 GB, free: 32 kB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.58e-05/0.7629, allocations: 115.6 kB / 0.6056 GB, free: 15.91 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.936e-05/0.763, allocations: 180.2 kB / 0.6057 GB, free: 15.73 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.538e-05/0.763, allocations: 180.3 kB / 0.6059 GB, free: 15.54 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.225e-05/0.7631, allocations: 176.3 kB / 0.6061 GB, free: 15.36 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001725/0.7633, allocations: 381.7 kB / 0.6064 GB, free: 14.95 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.277e-05/0.7633, allocations: 105 kB / 0.6065 GB, free: 14.84 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.715e-05/0.7633, allocations: 101 kB / 0.6066 GB, free: 14.73 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.967e-05/0.7634, allocations: 195.8 kB / 0.6068 GB, free: 14.54 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.632e-05/0.7635, allocations: 180.2 kB / 0.607 GB, free: 14.35 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.688e-05/0.7635, allocations: 176.3 kB / 0.6071 GB, free: 14.17 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.377e-05/0.7636, allocations: 180.2 kB / 0.6073 GB, free: 13.99 MB / 410.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001124/0.7637, allocations: 307.6 kB / 0.6076 GB, free: 13.67 MB / 410.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002209/0.7639, allocations: 0.672 MB / 0.6083 GB, free: 12.97 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.616e-05/0.764, allocations: 189.2 kB / 0.6085 GB, free: 12.77 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.674e-05/0.764, allocations: 184.2 kB / 0.6086 GB, free: 12.58 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.528e-05/0.7641, allocations: 104.9 kB / 0.6087 GB, free: 12.47 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.47e-05/0.7642, allocations: 184.2 kB / 0.6089 GB, free: 12.28 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.329e-05/0.7642, allocations: 105 kB / 0.609 GB, free: 12.17 MB / 410.7 MB Notification: Performance of sort global known variables: time 2.253e-05/0.7643, allocations: 75.28 kB / 0.6091 GB, free: 12.1 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001238/0.7655, allocations: 185.9 kB / 0.6093 GB, free: 11.93 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.0006854/0.7662, allocations: 382.9 kB / 0.6096 GB, free: 11.55 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 3.991e-05/0.7663, allocations: 3.938 kB / 0.6096 GB, free: 11.55 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.794e-06/0.7663, allocations: 0 / 0.6096 GB, free: 11.55 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 1.062e-06/0.7663, allocations: 0 / 0.6096 GB, free: 11.55 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002237/0.7665, allocations: 0.5185 MB / 0.6101 GB, free: 11.03 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001038/0.7666, allocations: 115.4 kB / 0.6102 GB, free: 10.89 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002017/0.7668, allocations: 0.6841 MB / 0.6109 GB, free: 10.18 MB / 410.7 MB Notification: Performance of SimCode: time 2.5e-07/0.7668, allocations: 0 / 0.6109 GB, free: 10.18 MB / 410.7 MB (rm -f ModelicaTest_trunk_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Math_TestMatricesExamplesSolveLinearEquations_fmu --startTime=0 --stopTime=0 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Math_TestMatricesExamplesSolveLinearEquations.fmu > ModelicaTest_trunk_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.pipe 2>&1)