Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices.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.TestMatrices,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Math_TestMatrices",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Math.TestMatrices,fileNamePrefix="ModelicaTest_4_0_0_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 4.0.0+maint.om/package.mo): time 0.000976/0.0009759, allocations: 183 kB / 8.519 MB, free: 1.82 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.212/1.212, allocations: 221.4 MB / 230.3 MB, free: 7.703 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.0009331/0.0009331, allocations: 94.16 kB / 281.2 MB, free: 5.523 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.1625/0.1625, allocations: 44.15 MB / 376.1 MB, free: 3.238 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1782/0.3408, allocations: 68.02 MB / 444.1 MB, free: 15.53 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09453/0.4353, allocations: 61.91 MB / 0.4942 GB, free: 1.547 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2495/0.6849, allocations: 86.78 MB / 0.5789 GB, free: 9.953 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001633/0.6851, allocations: 63.97 kB / 0.579 GB, free: 9.891 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.008642/0.6937, allocations: 2.9 MB / 0.5818 GB, free: 6.957 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.576e-05/0.6938, allocations: 11.94 kB / 0.5818 GB, free: 6.945 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.083e-05/0.6938, allocations: 4 kB / 0.5818 GB, free: 6.941 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001016/0.6939, allocations: 167 kB / 0.582 GB, free: 6.738 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.137e-05/0.6939, allocations: 0 / 0.582 GB, free: 6.738 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.736e-06/0.6939, allocations: 0 / 0.582 GB, free: 6.738 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 3.767e-05/0.694, allocations: 3.906 kB / 0.582 GB, free: 6.734 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 4.812e-05/0.694, allocations: 29.7 kB / 0.582 GB, free: 6.699 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.302e-06/0.6941, allocations: 0 / 0.582 GB, free: 6.699 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.404e-06/0.6941, allocations: 0 / 0.582 GB, free: 6.699 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.586e-06/0.6941, allocations: 0 / 0.582 GB, free: 6.699 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001007/0.6942, allocations: 126.2 kB / 0.5821 GB, free: 6.535 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.123e-05/0.6942, allocations: 26.61 kB / 0.5822 GB, free: 6.5 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.3e-05/0.6942, allocations: 4.859 kB / 0.5822 GB, free: 6.492 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.06e-06/0.6942, allocations: 3.938 kB / 0.5822 GB, free: 6.488 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.552e-05/0.6943, allocations: 56.27 kB / 0.5822 GB, free: 6.418 MB / 394.7 MB Notification: Performance of pre-optimization done (n=1): time 9.62e-07/0.6943, allocations: 0 / 0.5822 GB, free: 6.418 MB / 394.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001193/0.6944, allocations: 37.66 kB / 0.5823 GB, free: 6.375 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.297e-05/0.6945, allocations: 77.11 kB / 0.5823 GB, free: 6.281 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.012e-05/0.6945, allocations: 93.03 kB / 0.5824 GB, free: 6.184 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.045e-05/0.6945, allocations: 25.7 kB / 0.5824 GB, free: 6.152 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.157e-05/0.6945, allocations: 80.14 kB / 0.5825 GB, free: 6.07 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.615e-05/0.6946, allocations: 0 / 0.5825 GB, free: 6.07 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.064e-06/0.6946, allocations: 0 / 0.5825 GB, free: 6.07 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 8.533e-05/0.6947, allocations: 314.8 kB / 0.5828 GB, free: 5.754 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.43e-06/0.6947, allocations: 0 / 0.5828 GB, free: 5.754 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.67e-06/0.6947, allocations: 4 kB / 0.5828 GB, free: 5.75 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.793e-05/0.6947, allocations: 4.062 kB / 0.5828 GB, free: 5.746 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.173e-06/0.6947, allocations: 3.938 kB / 0.5828 GB, free: 5.742 MB / 394.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.334e-05/0.6948, allocations: 41.19 kB / 0.5829 GB, free: 5.699 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.398e-06/0.6948, allocations: 4 kB / 0.5829 GB, free: 5.695 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.606e-06/0.6948, allocations: 4.844 kB / 0.5829 GB, free: 5.691 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.164e-05/0.6948, allocations: 3.906 kB / 0.5829 GB, free: 5.688 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.31e-07/0.6948, allocations: 0 / 0.5829 GB, free: 5.688 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.988e-06/0.6948, allocations: 0.625 kB / 0.5829 GB, free: 5.688 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.07e-05/0.6949, allocations: 0 / 0.5829 GB, free: 5.688 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.3e-06/0.6949, allocations: 0 / 0.5829 GB, free: 5.688 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 6.402e-05/0.6949, allocations: 134.7 kB / 0.583 GB, free: 5.543 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.414e-06/0.695, allocations: 0 / 0.583 GB, free: 5.543 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.027e-05/0.695, allocations: 6.953 kB / 0.583 GB, free: 5.535 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.112e-06/0.695, allocations: 3.938 kB / 0.583 GB, free: 5.531 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/0.695, allocations: 3.906 kB / 0.583 GB, free: 5.527 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.444e-06/0.695, allocations: 0 / 0.583 GB, free: 5.527 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.898e-05/0.6951, allocations: 130.2 kB / 0.5832 GB, free: 5.363 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.71e-07/0.6951, allocations: 0 / 0.5832 GB, free: 5.363 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.31e-07/0.6951, allocations: 0 / 0.5832 GB, free: 5.363 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.422e-06/0.6951, allocations: 0 / 0.5832 GB, free: 5.363 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.226e-06/0.6951, allocations: 8 kB / 0.5832 GB, free: 5.355 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.11e-07/0.6951, allocations: 0 / 0.5832 GB, free: 5.355 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.877e-06/0.6951, allocations: 3.984 kB / 0.5832 GB, free: 5.352 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 7.739e-05/0.6952, allocations: 64.97 kB / 0.5832 GB, free: 5.27 MB / 394.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0001743/0.6954, allocations: 445.6 kB / 0.5837 GB, free: 4.812 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.184e-05/0.6954, allocations: 77.11 kB / 0.5837 GB, free: 4.719 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.345e-05/0.6954, allocations: 3.906 kB / 0.5837 GB, free: 4.715 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.004e-05/0.6955, allocations: 4 kB / 0.5837 GB, free: 4.711 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.768e-06/0.6955, allocations: 0 / 0.5837 GB, free: 4.711 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.565e-06/0.6955, allocations: 0 / 0.5837 GB, free: 4.711 MB / 394.7 MB Notification: Performance of sort global known variables: time 2.445e-05/0.6955, allocations: 75.28 kB / 0.5838 GB, free: 4.637 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0008875/0.6964, allocations: 87.86 kB / 0.5839 GB, free: 4.551 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.0004541/0.6969, allocations: 218.7 kB / 0.5841 GB, free: 4.332 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 6.198e-05/0.6969, allocations: 29.7 kB / 0.5841 GB, free: 4.297 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.6969, allocations: 3.938 kB / 0.5841 GB, free: 4.293 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 2.873e-05/0.697, allocations: 29.7 kB / 0.5842 GB, free: 4.258 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 7.922e-05/0.6971, allocations: 14.16 kB / 0.5842 GB, free: 4.246 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001228/0.6972, allocations: 44.08 kB / 0.5842 GB, free: 4.18 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000229/0.6974, allocations: 0.6841 MB / 0.5849 GB, free: 3.469 MB / 394.7 MB Notification: Performance of SimCode: time 2.5e-07/0.6974, allocations: 0 / 0.5849 GB, free: 3.469 MB / 394.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Math_TestMatrices_fmu --startTime=0 --stopTime=0 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Math_TestMatrices.fmu > ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices.pipe 2>&1)