Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Utilities.Examples.readRealParameterModel.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) 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) 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Utilities.Examples.readRealParameterModel,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|J|phi_rel0|w_rel0",fileNamePrefix="Modelica_trunk_Modelica.Utilities.Examples.readRealParameterModel") translateModel(Modelica.Utilities.Examples.readRealParameterModel,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|J|phi_rel0|w_rel0",fileNamePrefix="Modelica_trunk_Modelica.Utilities.Examples.readRealParameterModel") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001293/0.001293, allocations: 89.73 kB / 17.63 MB, free: 6.16 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002104/0.002103, allocations: 201.6 kB / 18.54 MB, free: 5.305 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.488/1.488, allocations: 227.3 MB / 246.6 MB, free: 12.04 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002226/0.0002226, allocations: 4 kB / 307.3 MB, free: 1.621 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1209/0.1211, allocations: 51.49 MB / 358.8 MB, free: 14.13 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Utilities.Examples.readRealParameterModel): time 0.001387/0.1226, allocations: 0.9267 MB / 359.7 MB, free: 13.19 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.003192/0.1258, allocations: 1.923 MB / 361.6 MB, free: 11.26 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.372e-05/0.1258, allocations: 4 kB / 361.6 MB, free: 11.26 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 1.201e-05/0.1259, allocations: 0 / 361.6 MB, free: 11.26 MB / 302.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/Utilities/Examples.mo:279:3-378:24:writable] Warning: Pure function ‘Modelica.Utilities.Examples.readRealParameter‘ contains a call to impure function ‘Modelica.Utilities.Streams.readLine‘. Notification: Performance of NFTyping.typeBindings: time 0.001302/0.1272, allocations: 350.9 kB / 362 MB, free: 10.92 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 2.758e-05/0.1272, allocations: 0 / 362 MB, free: 10.92 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 5.398e-05/0.1273, allocations: 7.938 kB / 362 MB, free: 10.91 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.298e-05/0.1273, allocations: 7.984 kB / 362 MB, free: 10.9 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.346e-05/0.1274, allocations: 7.984 kB / 362 MB, free: 10.89 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000111/0.1275, allocations: 11.94 kB / 362 MB, free: 10.88 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.018e-05/0.1275, allocations: 3.938 kB / 362 MB, free: 10.88 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008927/0.1284, allocations: 431.6 kB / 362.4 MB, free: 10.46 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 1.502e-05/0.1284, allocations: 3.984 kB / 362.4 MB, free: 10.45 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 3.708e-05/0.1285, allocations: 29.64 kB / 362.5 MB, free: 10.42 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004719/0.129, allocations: 251.6 kB / 362.7 MB, free: 10.17 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.5e-06/0.129, allocations: 4 kB / 362.7 MB, free: 10.17 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.575e-06/0.129, allocations: 0 / 362.7 MB, free: 10.17 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.111e-06/0.129, allocations: 0 / 362.7 MB, free: 10.17 MB / 302.1 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.0004897/0.1295, allocations: 423.4 kB / 363.1 MB, free: 9.707 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.976e-05/0.1296, allocations: 8.031 kB / 363.1 MB, free: 9.699 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.147e-05/0.1296, allocations: 79.28 kB / 363.2 MB, free: 9.621 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001781/0.1298, allocations: 242.3 kB / 363.5 MB, free: 9.344 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.396e-05/0.1299, allocations: 150.6 kB / 363.6 MB, free: 9.195 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.366e-05/0.13, allocations: 158.5 kB / 363.8 MB, free: 9.039 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.736e-05/0.13, allocations: 109 kB / 363.9 MB, free: 8.926 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.166e-05/0.1301, allocations: 75.28 kB / 363.9 MB, free: 8.852 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.939e-05/0.1302, allocations: 154.5 kB / 364.1 MB, free: 8.699 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.3e-05/0.1302, allocations: 150.6 kB / 364.2 MB, free: 8.551 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.99e-05/0.1303, allocations: 154.6 kB / 364.4 MB, free: 8.398 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003238/0.1306, allocations: 449.9 kB / 364.8 MB, free: 7.91 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.906e-05/0.1307, allocations: 169.1 kB / 365 MB, free: 7.734 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.921e-05/0.1308, allocations: 80.14 kB / 365.1 MB, free: 7.652 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.61e-05/0.1308, allocations: 79.22 kB / 365.1 MB, free: 7.574 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001333/0.131, allocations: 55.34 kB / 365.2 MB, free: 7.508 MB / 302.1 MB Notification: Performance of pre-optimization done (n=1): time 2.124e-06/0.131, allocations: 0 / 365.2 MB, free: 7.508 MB / 302.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001333/0.1311, allocations: 33.7 kB / 365.2 MB, free: 7.469 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.288e-05/0.1312, allocations: 55.41 kB / 365.3 MB, free: 7.402 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.174e-05/0.1313, allocations: 101.8 kB / 365.4 MB, free: 7.293 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.474e-05/0.1313, allocations: 29.7 kB / 365.4 MB, free: 7.258 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.031e-05/0.1314, allocations: 84.14 kB / 365.5 MB, free: 7.172 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.499e-05/0.1314, allocations: 4.125 kB / 365.5 MB, free: 7.168 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.923e-06/0.1314, allocations: 0 / 365.5 MB, free: 7.168 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001464/0.1315, allocations: 310.8 kB / 365.8 MB, free: 6.855 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.324e-06/0.1315, allocations: 0 / 365.8 MB, free: 6.855 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.132e-06/0.1316, allocations: 4 kB / 365.8 MB, free: 6.852 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.466e-05/0.1316, allocations: 0 / 365.8 MB, free: 6.852 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.1316, allocations: 0 / 365.8 MB, free: 6.852 MB / 302.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.423e-05/0.1316, allocations: 41.59 kB / 365.8 MB, free: 6.805 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.57e-05/0.1317, allocations: 11.95 kB / 365.9 MB, free: 6.793 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.15e-06/0.1317, allocations: 8.219 kB / 365.9 MB, free: 6.785 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.03e-05/0.1317, allocations: 0 / 365.9 MB, free: 6.785 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.324e-05/0.1317, allocations: 0 / 365.9 MB, free: 6.785 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.879e-06/0.1317, allocations: 7.922 kB / 365.9 MB, free: 6.777 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.965e-05/0.1318, allocations: 7.922 kB / 365.9 MB, free: 6.77 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.921e-06/0.1318, allocations: 0 / 365.9 MB, free: 6.77 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: 1 ($whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (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 prepare postOptimizeDAE: time 8.524e-05/0.1319, allocations: 109.8 kB / 366 MB, free: 6.652 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.154e-06/0.1319, allocations: 0 / 366 MB, free: 6.652 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.317e-05/0.1319, allocations: 15.02 kB / 366 MB, free: 6.633 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.124e-06/0.1319, allocations: 8 kB / 366 MB, free: 6.625 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.36e-06/0.1319, allocations: 0 / 366 MB, free: 6.625 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.505e-06/0.132, allocations: 0 / 366 MB, free: 6.625 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000125/0.1321, allocations: 149.7 kB / 366.2 MB, free: 6.43 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.569e-06/0.1321, allocations: 8 kB / 366.2 MB, free: 6.422 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.256e-06/0.1321, allocations: 0 / 366.2 MB, free: 6.422 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.763e-06/0.1321, allocations: 0 / 366.2 MB, free: 6.422 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.631e-06/0.1321, allocations: 0 / 366.2 MB, free: 6.422 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.867e-06/0.1321, allocations: 3.953 kB / 366.2 MB, free: 6.418 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.62e-07/0.1321, allocations: 0 / 366.2 MB, free: 6.418 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.741e-05/0.1322, allocations: 65.12 kB / 366.2 MB, free: 6.336 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.054e-05/0.1323, allocations: 77.11 kB / 366.3 MB, free: 6.242 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.462e-05/0.1323, allocations: 0 / 366.3 MB, free: 6.242 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.173e-05/0.1323, allocations: 3.938 kB / 366.3 MB, free: 6.238 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.491e-05/0.1323, allocations: 7.953 kB / 366.3 MB, free: 6.23 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.824e-06/0.1323, allocations: 0 / 366.3 MB, free: 6.23 MB / 302.1 MB Notification: Performance of sorting global known variables: time 5.319e-05/0.1324, allocations: 83.27 kB / 366.4 MB, free: 6.148 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1324, allocations: 0 / 366.4 MB, free: 6.148 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004329/0.1328, allocations: 151.9 kB / 366.5 MB, free: 6 MB / 302.1 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 ($whenCondition1) * 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.001013/0.1339, allocations: 499.4 kB / 367 MB, free: 5.562 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 6.132e-05/0.1339, allocations: 4 kB / 367 MB, free: 5.559 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.1339, allocations: 0 / 367 MB, free: 5.559 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 4.929e-06/0.1339, allocations: 0 / 367 MB, free: 5.559 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001416/0.1341, allocations: 10.75 kB / 367.1 MB, free: 5.551 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002722/0.1344, allocations: 138.2 kB / 367.2 MB, free: 5.379 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002698/0.1347, allocations: 0.6811 MB / 367.9 MB, free: 4.672 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.172e-05/0.1347, allocations: 11.44 kB / 367.9 MB, free: 4.66 MB / 302.1 MB Notification: Performance of SimCode: time 2.1e-07/0.1347, allocations: 0 / 367.9 MB, free: 4.66 MB / 302.1 MB Notification: Performance of Templates: time 0.005945/0.1406, allocations: 3.388 MB / 371.3 MB, free: 1.273 MB / 302.1 MB make -j1 -f Modelica_trunk_Modelica.Utilities.Examples.readRealParameterModel.makefile make -j1 -f Modelica_trunk_Modelica.Utilities.Examples.readRealParameterModel.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 trunk/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 trunk/Resources/C-Sources" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppModelica_trunk_Modelica.Utilities.Examples.readRealParameterModelCalcHelperMain.o OMCppModelica_trunk_Modelica.Utilities.Examples.readRealParameterModelCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_trunk_Modelica.Utilities.Examples.readRealParameterModelCalcHelperMain.o] Error 1