Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.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.TestMatricesExamplesSolveLinearEquations,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Math_TestMatricesExamplesSolveLinearEquations",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations,fileNamePrefix="ModelicaTest_4_0_0_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 4.0.0+maint.om/package.mo): time 0.0009869/0.000987, allocations: 172.8 kB / 8.516 MB, free: 1.848 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.164/1.164, allocations: 221.4 MB / 230.3 MB, free: 7.645 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.001027/0.001027, allocations: 93.94 kB / 281.2 MB, free: 5.469 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.1605/0.1605, allocations: 44.14 MB / 376.1 MB, free: 3.238 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1873/0.3479, allocations: 68.02 MB / 444.1 MB, free: 15.54 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09514/0.443, allocations: 61.92 MB / 0.4942 GB, free: 1.555 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2539/0.697, allocations: 89.68 MB / 0.5818 GB, free: 7.102 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001681/0.6972, allocations: 59.97 kB / 0.5818 GB, free: 7.043 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.0301/0.7273, allocations: 9.178 MB / 0.5908 GB, free: 13.81 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.224e-05/0.7273, allocations: 11.94 kB / 0.5908 GB, free: 13.8 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.788e-05/0.7274, allocations: 79.28 kB / 0.5909 GB, free: 13.72 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.698e-05/0.7275, allocations: 238.4 kB / 0.5911 GB, free: 13.45 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.834e-05/0.7276, allocations: 150.6 kB / 0.5912 GB, free: 13.3 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.393e-05/0.7276, allocations: 150.6 kB / 0.5914 GB, free: 13.15 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 4.72e-05/0.7277, allocations: 150.6 kB / 0.5915 GB, free: 13 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.289e-05/0.7277, allocations: 104.9 kB / 0.5916 GB, free: 12.89 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.847e-05/0.7278, allocations: 91.17 kB / 0.5917 GB, free: 12.8 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.71e-05/0.7278, allocations: 158.6 kB / 0.5919 GB, free: 12.64 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.114e-05/0.7279, allocations: 150.6 kB / 0.592 GB, free: 12.5 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002423/0.7281, allocations: 418.5 kB / 0.5924 GB, free: 12.05 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.219e-05/0.7282, allocations: 165.1 kB / 0.5926 GB, free: 11.88 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.876e-05/0.7283, allocations: 84.14 kB / 0.5926 GB, free: 11.79 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.303e-05/0.7283, allocations: 79.28 kB / 0.5927 GB, free: 11.71 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.35e-05/0.7283, allocations: 113.8 kB / 0.5928 GB, free: 11.59 MB / 410.7 MB Notification: Performance of pre-optimization done (n=0): time 1.062e-06/0.7283, allocations: 0 / 0.5928 GB, free: 11.59 MB / 410.7 MB Notification: Performance of matching and sorting (n=0): time 6.505e-05/0.7284, allocations: 25.7 kB / 0.5928 GB, free: 11.56 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.301e-05/0.7285, allocations: 77.11 kB / 0.5929 GB, free: 11.47 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.961e-05/0.7285, allocations: 93.73 kB / 0.593 GB, free: 11.37 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.003e-05/0.7285, allocations: 25.7 kB / 0.593 GB, free: 11.34 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.826e-05/0.7286, allocations: 80.14 kB / 0.5931 GB, free: 11.26 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.022e-06/0.7286, allocations: 0 / 0.5931 GB, free: 11.26 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.6e-07/0.7286, allocations: 0 / 0.5931 GB, free: 11.26 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.000105/0.7287, allocations: 318.8 kB / 0.5934 GB, free: 10.94 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.444e-06/0.7287, allocations: 3.938 kB / 0.5934 GB, free: 10.93 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.558e-05/0.7287, allocations: 0 / 0.5934 GB, free: 10.93 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.681e-05/0.7287, allocations: 79.22 kB / 0.5935 GB, free: 10.86 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.916e-05/0.7288, allocations: 79.31 kB / 0.5936 GB, free: 10.78 MB / 410.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 6.191e-05/0.7288, allocations: 33.64 kB / 0.5936 GB, free: 10.74 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.668e-06/0.7288, allocations: 4 kB / 0.5936 GB, free: 10.73 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.153e-05/0.7289, allocations: 75.28 kB / 0.5937 GB, free: 10.66 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.591e-05/0.7289, allocations: 154.6 kB / 0.5938 GB, free: 10.51 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.425e-05/0.729, allocations: 83.2 kB / 0.5939 GB, free: 10.43 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.959e-05/0.729, allocations: 154.6 kB / 0.594 GB, free: 10.27 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.568e-05/0.7291, allocations: 79.28 kB / 0.5941 GB, free: 10.2 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.3e-05/0.7291, allocations: 81.23 kB / 0.5942 GB, free: 10.12 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 9.594e-05/0.7292, allocations: 259.5 kB / 0.5944 GB, free: 9.855 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.123e-05/0.7293, allocations: 101 kB / 0.5945 GB, free: 9.75 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.045e-05/0.7293, allocations: 111.8 kB / 0.5947 GB, free: 9.633 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.881e-05/0.7294, allocations: 188.2 kB / 0.5948 GB, free: 9.441 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.64e-05/0.7295, allocations: 180.3 kB / 0.595 GB, free: 9.258 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.705e-05/0.7295, allocations: 180.3 kB / 0.5952 GB, free: 9.074 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001802/0.7297, allocations: 381.7 kB / 0.5955 GB, free: 8.656 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.706e-05/0.7298, allocations: 105 kB / 0.5956 GB, free: 8.547 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.809e-05/0.7298, allocations: 101 kB / 0.5957 GB, free: 8.441 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.187e-05/0.7299, allocations: 188.2 kB / 0.5959 GB, free: 8.25 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.793e-05/0.7299, allocations: 180.2 kB / 0.5961 GB, free: 8.066 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.683e-05/0.73, allocations: 176.3 kB / 0.5963 GB, free: 7.887 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.941e-05/0.73, allocations: 180.2 kB / 0.5964 GB, free: 7.703 MB / 410.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001202/0.7302, allocations: 308.2 kB / 0.5967 GB, free: 7.379 MB / 410.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002417/0.7304, allocations: 0.6798 MB / 0.5974 GB, free: 6.672 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.584e-05/0.7305, allocations: 178.1 kB / 0.5976 GB, free: 6.473 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.806e-05/0.7306, allocations: 184.2 kB / 0.5977 GB, free: 6.285 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.007e-05/0.7306, allocations: 105 kB / 0.5978 GB, free: 6.176 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.287e-05/0.7307, allocations: 184.2 kB / 0.598 GB, free: 5.988 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.938e-05/0.7308, allocations: 104.9 kB / 0.5981 GB, free: 5.879 MB / 410.7 MB Notification: Performance of sort global known variables: time 2.304e-05/0.7308, allocations: 75.28 kB / 0.5982 GB, free: 5.805 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001208/0.732, allocations: 191.7 kB / 0.5984 GB, free: 5.617 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.0007148/0.7327, allocations: 379.8 kB / 0.5987 GB, free: 5.242 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 3.301e-05/0.7328, allocations: 7.938 kB / 0.5987 GB, free: 5.234 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.714e-06/0.7328, allocations: 0 / 0.5987 GB, free: 5.234 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 1.213e-06/0.7328, allocations: 0 / 0.5987 GB, free: 5.234 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002624/0.733, allocations: 0.5262 MB / 0.5992 GB, free: 4.703 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001135/0.7332, allocations: 115.3 kB / 0.5994 GB, free: 4.566 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002448/0.7334, allocations: 0.6841 MB / 0.6 GB, free: 3.855 MB / 410.7 MB Notification: Performance of SimCode: time 2.51e-07/0.7334, allocations: 0 / 0.6 GB, free: 3.855 MB / 410.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Math_TestMatricesExamplesSolveLinearEquations_fmu --startTime=0 --stopTime=0 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Math_TestMatricesExamplesSolveLinearEquations.fmu > ModelicaTest_4.0.0_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.pipe 2>&1)