Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Utilities.Examples.ReadRealMatrixFromFile.conf.json 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/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) 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) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Utilities.Examples.ReadRealMatrixFromFile,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|x",fileNamePrefix="Modelica_4.0.0_Modelica.Utilities.Examples.ReadRealMatrixFromFile") translateModel(Modelica.Utilities.Examples.ReadRealMatrixFromFile,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|x",fileNamePrefix="Modelica_4.0.0_Modelica.Utilities.Examples.ReadRealMatrixFromFile") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008174/0.0008171, allocations: 92.88 kB / 16.95 MB, free: 5.953 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008382/0.0008383, allocations: 178.8 kB / 17.84 MB, free: 5.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.252/1.252, allocations: 223.2 MB / 241.9 MB, free: 340 kB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002242/0.0002243, allocations: 7.938 kB / 301.4 MB, free: 6.484 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08012/0.08036, allocations: 50.41 MB / 351.8 MB, free: 4.062 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Utilities.Examples.ReadRealMatrixFromFile): time 0.0004845/0.08089, allocations: 258 kB / 352.1 MB, free: 3.812 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001627/0.08253, allocations: 1.727 MB / 353.8 MB, free: 2.066 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.671e-05/0.08256, allocations: 0 / 353.8 MB, free: 2.066 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000505/0.08308, allocations: 99.72 kB / 353.9 MB, free: 1.969 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 4.823e-05/0.08314, allocations: 23.91 kB / 353.9 MB, free: 1.945 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001411/0.08329, allocations: 43.95 kB / 354 MB, free: 1.902 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 5.944e-05/0.08335, allocations: 39.83 kB / 354 MB, free: 1.863 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 2.842e-05/0.08339, allocations: 8 kB / 354 MB, free: 1.855 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.16e-05/0.08343, allocations: 23.86 kB / 354.1 MB, free: 1.832 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.347e-05/0.08352, allocations: 27.91 kB / 354.1 MB, free: 1.805 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.546e-05/0.08354, allocations: 4 kB / 354.1 MB, free: 1.801 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.114e-05/0.08359, allocations: 15.98 kB / 354.1 MB, free: 1.785 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 7.932e-05/0.08368, allocations: 59.88 kB / 354.2 MB, free: 1.727 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 3.037e-05/0.08371, allocations: 33.7 kB / 354.2 MB, free: 1.688 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 7.533e-05/0.08379, allocations: 35.95 kB / 354.2 MB, free: 1.652 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.6e-06/0.0838, allocations: 3.984 kB / 354.2 MB, free: 1.648 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.082e-06/0.08381, allocations: 0 / 354.2 MB, free: 1.648 MB / 286.1 MB Notification: Performance of Transformations before backend: time 4.609e-06/0.08382, allocations: 0 / 354.2 MB, free: 1.648 MB / 286.1 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.0003216/0.08415, allocations: 385 kB / 354.6 MB, free: 1.219 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.706e-05/0.08418, allocations: 11.97 kB / 354.6 MB, free: 1.207 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.375e-05/0.08422, allocations: 15.84 kB / 354.6 MB, free: 1.191 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001949/0.08442, allocations: 199 kB / 354.8 MB, free: 0.957 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.863e-06/0.08443, allocations: 0 / 354.8 MB, free: 0.957 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.244e-05/0.08445, allocations: 8 kB / 354.8 MB, free: 0.9492 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.98e-05/0.08455, allocations: 65.98 kB / 354.9 MB, free: 0.8633 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.963e-06/0.08456, allocations: 4 kB / 354.9 MB, free: 0.8594 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.457e-05/0.08458, allocations: 7.922 kB / 354.9 MB, free: 0.8516 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.416e-06/0.08459, allocations: 0 / 354.9 MB, free: 0.8516 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.449e-05/0.08461, allocations: 3.953 kB / 354.9 MB, free: 0.8477 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002426/0.08486, allocations: 181.7 kB / 355.1 MB, free: 0.6211 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.098e-05/0.0849, allocations: 14.58 kB / 355.1 MB, free: 0.5977 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.395e-05/0.08493, allocations: 16.84 kB / 355.1 MB, free: 0.5781 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.452e-06/0.08494, allocations: 0 / 355.1 MB, free: 0.5781 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.185e-05/0.08498, allocations: 60.27 kB / 355.2 MB, free: 0.5039 MB / 286.1 MB Notification: Performance of pre-optimization done (n=1): time 7.61e-07/0.08499, allocations: 0 / 355.2 MB, free: 0.5039 MB / 286.1 MB Notification: Performance of matching and sorting (n=1): time 9.966e-05/0.08509, allocations: 49.55 kB / 355.2 MB, free: 460 kB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.579e-05/0.08516, allocations: 162.2 kB / 355.4 MB, free: 260 kB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001302/0.0853, allocations: 168.8 kB / 355.6 MB, free: 84 kB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.377e-05/0.08532, allocations: 25.7 kB / 355.6 MB, free: 52 kB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.754e-05/0.08537, allocations: 92.14 kB / 355.7 MB, free: 15.96 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.483e-05/0.08539, allocations: 7.891 kB / 355.7 MB, free: 15.95 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.944e-06/0.0854, allocations: 0 / 355.7 MB, free: 15.95 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 9.523e-05/0.0855, allocations: 322.8 kB / 356 MB, free: 15.62 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.009e-05/0.08552, allocations: 4.125 kB / 356 MB, free: 15.62 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.955e-05/0.08556, allocations: 44.28 kB / 356 MB, free: 15.56 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.754e-05/0.08559, allocations: 7.938 kB / 356.1 MB, free: 15.55 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.292e-06/0.08559, allocations: 0 / 356.1 MB, free: 15.55 MB / 302.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 5.92e-05/0.08565, allocations: 45.69 kB / 356.1 MB, free: 15.5 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.986e-06/0.08567, allocations: 4.094 kB / 356.1 MB, free: 15.5 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.427e-06/0.08568, allocations: 8 kB / 356.1 MB, free: 15.49 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.015e-06/0.08569, allocations: 4.031 kB / 356.1 MB, free: 15.49 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.303e-05/0.08572, allocations: 4 kB / 356.1 MB, free: 15.48 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.391e-06/0.08573, allocations: 4 kB / 356.1 MB, free: 15.48 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.789e-05/0.08579, allocations: 7.844 kB / 356.1 MB, free: 15.47 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.491e-06/0.08581, allocations: 3.953 kB / 356.1 MB, free: 15.47 MB / 302.1 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * 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 8.076e-05/0.08589, allocations: 125.8 kB / 356.3 MB, free: 15.34 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.288e-05/0.08591, allocations: 4 kB / 356.3 MB, free: 15.33 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.097e-05/0.08594, allocations: 15.88 kB / 356.3 MB, free: 15.31 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.002e-06/0.08594, allocations: 3.938 kB / 356.3 MB, free: 15.31 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.605e-06/0.08595, allocations: 0 / 356.3 MB, free: 15.31 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.835e-06/0.08595, allocations: 3.984 kB / 356.3 MB, free: 15.3 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001469/0.08611, allocations: 177.5 kB / 356.5 MB, free: 15.08 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.52e-07/0.08612, allocations: 0 / 356.5 MB, free: 15.08 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.104e-05/0.08614, allocations: 0 / 356.5 MB, free: 15.08 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.473e-06/0.08615, allocations: 0 / 356.5 MB, free: 15.08 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.794e-06/0.08616, allocations: 4 kB / 356.5 MB, free: 15.08 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.064e-06/0.08617, allocations: 0 / 356.5 MB, free: 15.08 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.41e-07/0.08617, allocations: 3.938 kB / 356.5 MB, free: 15.07 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.056e-05/0.08627, allocations: 81.02 kB / 356.5 MB, free: 14.98 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.691e-05/0.08633, allocations: 93 kB / 356.6 MB, free: 14.87 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.57e-05/0.08635, allocations: 0 / 356.6 MB, free: 14.87 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.209e-05/0.08641, allocations: 7.984 kB / 356.6 MB, free: 14.86 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.755e-06/0.08642, allocations: 0 / 356.6 MB, free: 14.86 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.813e-06/0.08643, allocations: 0 / 356.6 MB, free: 14.86 MB / 302.1 MB Notification: Performance of sorting global known variables: time 8.392e-05/0.08652, allocations: 127.3 kB / 356.8 MB, free: 14.73 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.08653, allocations: 11.94 kB / 356.8 MB, free: 14.72 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.000184/0.08672, allocations: 16 kB / 356.8 MB, free: 14.71 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (x) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 1 * 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.0002847/0.08701, allocations: 178.5 kB / 357 MB, free: 14.56 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 5.737e-05/0.08707, allocations: 8 kB / 357 MB, free: 14.55 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.493e-06/0.08708, allocations: 0 / 357 MB, free: 14.55 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 9.207e-06/0.08709, allocations: 4 kB / 357 MB, free: 14.55 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001298/0.08723, allocations: 15.94 kB / 357 MB, free: 14.54 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002273/0.08746, allocations: 190.8 kB / 357.2 MB, free: 14.31 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000207/0.08768, allocations: 0.6935 MB / 357.9 MB, free: 13.59 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.132e-05/0.08771, allocations: 11.44 kB / 357.9 MB, free: 13.58 MB / 302.1 MB Notification: Performance of SimCode: time 2e-07/0.08771, allocations: 0 / 357.9 MB, free: 13.58 MB / 302.1 MB Notification: Performance of Templates: time 0.002534/0.09025, allocations: 1.464 MB / 359.4 MB, free: 12.14 MB / 302.1 MB make -j1 -f Modelica_4.0.0_Modelica.Utilities.Examples.ReadRealMatrixFromFile.makefile make -j1 -f Modelica_4.0.0_Modelica.Utilities.Examples.ReadRealMatrixFromFile.makefile clang++ NOTFOUND -Winvalid-pch -O0 -g -DNDEBUG -fPIC -std=c++11 -DBOOST_ALL_DYN_LINK -DUSE_DGESV -DUSE_LOGGER -DOMC_BUILD -DUSE_THREAD -DSUNDIALS_MAJOR_VERSION=5 -DSUNDIALS_MINOR_VERSION=4 -DPMC_USE_SUNDIALS -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/" -I. "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -I"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/c/sundials" "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppModelica_4.0.0_Modelica.Utilities.Examples.ReadRealMatrixFromFileCalcHelperMain.o OMCppModelica_4.0.0_Modelica.Utilities.Examples.ReadRealMatrixFromFileCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_4.0.0_Modelica.Utilities.Examples.ReadRealMatrixFromFileCalcHelperMain.o] Error 1