Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Utilities.Examples.readRealParameterModel.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 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.readRealParameterModel,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|J|phi_rel0|w_rel0",fileNamePrefix="Modelica_3.2.3_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_3.2.3_Modelica.Utilities.Examples.readRealParameterModel") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001007/0.001007, allocations: 98.7 kB / 17.96 MB, free: 5.762 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.001202/0.001203, allocations: 178.3 kB / 18.86 MB, free: 4.898 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.899/1.899, allocations: 205.4 MB / 225 MB, free: 13.07 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0004979/0.0004981, allocations: 12 kB / 282 MB, free: 3.43 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1237/0.1242, allocations: 47.59 MB / 329.6 MB, free: 3.777 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Utilities.Examples.readRealParameterModel): time 0.00171/0.126, allocations: 0.918 MB / 330.5 MB, free: 2.848 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.003751/0.1297, allocations: 1.997 MB / 332.5 MB, free: 0.8398 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.529e-05/0.1298, allocations: 8 kB / 332.5 MB, free: 0.832 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 2.391e-05/0.1298, allocations: 0 / 332.5 MB, free: 0.832 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001261/0.1311, allocations: 327.2 kB / 332.8 MB, free: 0.5117 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 2.399e-05/0.1312, allocations: 7.938 kB / 332.8 MB, free: 0.5039 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 4.939e-05/0.1312, allocations: 11.94 kB / 332.9 MB, free: 0.4922 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.511e-05/0.1313, allocations: 0 / 332.9 MB, free: 0.4922 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.696e-05/0.1313, allocations: 4 kB / 332.9 MB, free: 500 kB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001179/0.1314, allocations: 15.91 kB / 332.9 MB, free: 484 kB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 1.059e-05/0.1314, allocations: 0 / 332.9 MB, free: 484 kB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006365/0.1321, allocations: 419.6 kB / 333.3 MB, free: 64 kB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 1.316e-05/0.1321, allocations: 3.984 kB / 333.3 MB, free: 60 kB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 3.622e-05/0.1321, allocations: 33.7 kB / 333.3 MB, free: 20 kB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003542/0.1325, allocations: 223.6 kB / 333.5 MB, free: 15.8 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.517e-06/0.1325, allocations: 3.938 kB / 333.5 MB, free: 15.8 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.753e-06/0.1325, allocations: 0 / 333.5 MB, free: 15.8 MB / 286.1 MB Notification: Performance of Transformations before backend: time 4.098e-06/0.1325, allocations: 0 / 333.5 MB, free: 15.8 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: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.0004468/0.133, allocations: 399.5 kB / 333.9 MB, free: 15.36 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.614e-05/0.133, allocations: 12.03 kB / 334 MB, free: 15.35 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.402e-05/0.1331, allocations: 80.12 kB / 334 MB, free: 15.27 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001672/0.1333, allocations: 243.9 kB / 334.3 MB, free: 14.99 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.023e-05/0.1334, allocations: 158.9 kB / 334.4 MB, free: 14.84 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.288e-05/0.1334, allocations: 158.7 kB / 334.6 MB, free: 14.68 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.069e-05/0.1335, allocations: 101 kB / 334.7 MB, free: 14.57 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.64e-05/0.1335, allocations: 79.22 kB / 334.8 MB, free: 14.5 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.452e-05/0.1336, allocations: 150.6 kB / 334.9 MB, free: 14.35 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.778e-05/0.1337, allocations: 154.6 kB / 335.1 MB, free: 14.2 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.311e-05/0.1337, allocations: 158.5 kB / 335.2 MB, free: 14.04 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002884/0.134, allocations: 445.9 kB / 335.6 MB, free: 13.55 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.766e-05/0.1341, allocations: 165.1 kB / 335.8 MB, free: 13.38 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.453e-05/0.1341, allocations: 92.08 kB / 335.9 MB, free: 13.29 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.138e-05/0.1342, allocations: 75.28 kB / 336 MB, free: 13.21 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001567/0.1343, allocations: 47.36 kB / 336 MB, free: 13.16 MB / 286.1 MB Notification: Performance of pre-optimization done (n=1): time 2.425e-06/0.1344, allocations: 0 / 336 MB, free: 13.16 MB / 286.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001425/0.1345, allocations: 33.69 kB / 336 MB, free: 13.12 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.918e-05/0.1346, allocations: 51.53 kB / 336.1 MB, free: 13.05 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.115e-05/0.1347, allocations: 109.8 kB / 336.2 MB, free: 12.94 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.221e-05/0.1347, allocations: 25.7 kB / 336.2 MB, free: 12.91 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.635e-05/0.1347, allocations: 80.14 kB / 336.3 MB, free: 12.82 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.349e-05/0.1347, allocations: 3.938 kB / 336.3 MB, free: 12.82 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.184e-05/0.1348, allocations: 9.719 kB / 336.3 MB, free: 12.8 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001215/0.1349, allocations: 318.9 kB / 336.6 MB, free: 12.48 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.167e-06/0.1349, allocations: 4 kB / 336.6 MB, free: 12.48 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.997e-06/0.1349, allocations: 0 / 336.6 MB, free: 12.48 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.27e-05/0.1349, allocations: 12.92 kB / 336.6 MB, free: 12.46 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.1349, allocations: 0 / 336.6 MB, free: 12.46 MB / 286.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.012e-05/0.135, allocations: 45.47 kB / 336.7 MB, free: 12.41 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.55e-05/0.135, allocations: 4 kB / 336.7 MB, free: 12.41 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.81e-06/0.135, allocations: 0 / 336.7 MB, free: 12.41 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.097e-05/0.1351, allocations: 4 kB / 336.7 MB, free: 12.41 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.548e-05/0.1351, allocations: 0 / 336.7 MB, free: 12.41 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.598e-06/0.1351, allocations: 3.938 kB / 336.7 MB, free: 12.4 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.622e-05/0.1351, allocations: 0 / 336.7 MB, free: 12.4 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.941e-06/0.1351, allocations: 4.031 kB / 336.7 MB, free: 12.4 MB / 286.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.663e-05/0.1352, allocations: 117.8 kB / 336.8 MB, free: 12.27 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.973e-06/0.1352, allocations: 0 / 336.8 MB, free: 12.27 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.4e-05/0.1353, allocations: 15.06 kB / 336.8 MB, free: 12.25 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.585e-06/0.1353, allocations: 192 / 336.8 MB, free: 12.25 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.569e-06/0.1353, allocations: 0 / 336.8 MB, free: 12.25 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.861e-06/0.1353, allocations: 3.984 kB / 336.8 MB, free: 12.25 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001209/0.1354, allocations: 157.5 kB / 337 MB, free: 12.05 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.82e-07/0.1354, allocations: 0 / 337 MB, free: 12.05 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.327e-06/0.1354, allocations: 4 kB / 337 MB, free: 12.04 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.222e-06/0.1354, allocations: 0 / 337 MB, free: 12.04 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.643e-06/0.1354, allocations: 4 kB / 337 MB, free: 12.04 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.92e-07/0.1355, allocations: 0 / 337 MB, free: 12.04 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.1355, allocations: 0 / 337 MB, free: 12.04 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.115e-05/0.1355, allocations: 57.08 kB / 337.1 MB, free: 11.96 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.046e-05/0.1356, allocations: 89.03 kB / 337.1 MB, free: 11.86 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.166e-05/0.1356, allocations: 0 / 337.1 MB, free: 11.86 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.297e-05/0.1356, allocations: 8.031 kB / 337.2 MB, free: 11.85 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.761e-05/0.1357, allocations: 0 / 337.2 MB, free: 11.85 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.843e-06/0.1357, allocations: 0 / 337.2 MB, free: 11.85 MB / 286.1 MB Notification: Performance of sorting global known variables: time 4.395e-05/0.1357, allocations: 83.27 kB / 337.2 MB, free: 11.77 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1357, allocations: 0 / 337.2 MB, free: 11.77 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0004009/0.1361, allocations: 128 kB / 337.4 MB, free: 11.64 MB / 286.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000914/0.137, allocations: 469.2 kB / 337.8 MB, free: 11.2 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 6.356e-05/0.1371, allocations: 8 kB / 337.8 MB, free: 11.19 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.1371, allocations: 0 / 337.8 MB, free: 11.19 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 7.694e-06/0.1371, allocations: 4 kB / 337.8 MB, free: 11.18 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001415/0.1373, allocations: 11.88 kB / 337.8 MB, free: 11.17 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002682/0.1376, allocations: 154.1 kB / 338 MB, free: 10.99 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000238/0.1378, allocations: 0.6692 MB / 338.7 MB, free: 10.29 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.947e-05/0.1378, allocations: 19.55 kB / 338.7 MB, free: 10.27 MB / 286.1 MB Notification: Performance of SimCode: time 2.21e-07/0.1378, allocations: 0 / 338.7 MB, free: 10.27 MB / 286.1 MB Notification: Performance of Templates: time 0.005178/0.143, allocations: 3.073 MB / 341.8 MB, free: 7.195 MB / 286.1 MB make -j1 -f Modelica_3.2.3_Modelica.Utilities.Examples.readRealParameterModel.makefile make -j1 -f Modelica_3.2.3_Modelica.Utilities.Examples.readRealParameterModel.makefile clang++ -std=c++14 NOTFOUND -Winvalid-pch -O2 -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"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppModelica_3.2.3_Modelica.Utilities.Examples.readRealParameterModelCalcHelperMain.o OMCppModelica_3.2.3_Modelica.Utilities.Examples.readRealParameterModelCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_3.2.3_Modelica.Utilities.Examples.readRealParameterModelCalcHelperMain.o] Error 1