Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_dT_parameter.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo", uses=false) Using package HelmholtzMedia with version (/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo) 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(HelmholtzMedia.Examples.Parameter.State_dT_parameter,tolerance=1e-07,outputFormat="empty",numberOfIntervals=4,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_dT_parameter") translateModel(HelmholtzMedia.Examples.Parameter.State_dT_parameter,tolerance=1e-07,outputFormat="empty",numberOfIntervals=4,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_dT_parameter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009343/0.0009344, allocations: 99.27 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00161/0.00161, allocations: 182.6 kB / 16.92 MB, free: 6.918 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.823/1.823, allocations: 205.4 MB / 223.1 MB, free: 5.52 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo): time 0.04919/0.04919, allocations: 9.065 MB / 280.5 MB, free: 12.15 MB / 238.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.0005368/0.000537, allocations: 12.78 kB / 340.4 MB, free: 25.64 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1141/0.1146, allocations: 49.19 MB / 389.6 MB, free: 8.406 MB / 286.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.Parameter.State_dT_parameter): time 0.02242/0.1371, allocations: 16.99 MB / 406.6 MB, free: 7.336 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01664/0.1538, allocations: 15.61 MB / 422.2 MB, free: 7.672 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001509/0.154, allocations: 0 / 422.2 MB, free: 7.672 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00126/0.1553, allocations: 335.7 kB / 422.5 MB, free: 7.344 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003195/0.1585, allocations: 1.13 MB / 423.6 MB, free: 6.211 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01431/0.1728, allocations: 3.685 MB / 427.3 MB, free: 2.523 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003066/0.1731, allocations: 143.2 kB / 427.5 MB, free: 2.383 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.947e-05/0.1732, allocations: 17.06 kB / 427.5 MB, free: 2.367 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001616/0.1734, allocations: 63.67 kB / 427.5 MB, free: 2.305 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.105e-05/0.1735, allocations: 51.66 kB / 427.6 MB, free: 2.254 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.473e-05/0.1735, allocations: 4 kB / 427.6 MB, free: 2.25 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.3015/0.475, allocations: 7.969 MB / 435.6 MB, free: 17.76 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 3.891e-05/0.4751, allocations: 14.05 kB / 435.6 MB, free: 17.76 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001465/0.4753, allocations: 83.64 kB / 435.7 MB, free: 17.73 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005513/0.4808, allocations: 1.962 MB / 437.6 MB, free: 17.69 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.521e-06/0.4808, allocations: 0 / 437.6 MB, free: 17.69 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.763e-06/0.4809, allocations: 0.8125 kB / 437.6 MB, free: 17.69 MB / 318.1 MB Notification: Performance of Transformations before backend: time 4.859e-06/0.4809, allocations: 1.344 kB / 437.6 MB, free: 17.69 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 41 * Number of variables: 41 Notification: Performance of Generate backend data structure: time 0.002797/0.4837, allocations: 0.7726 MB / 438.4 MB, free: 17.12 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.719e-05/0.4837, allocations: 11.94 kB / 438.4 MB, free: 17.12 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004353/0.4842, allocations: 57.48 kB / 438.5 MB, free: 17.11 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001198/0.4843, allocations: 177.2 kB / 438.6 MB, free: 16.91 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.162e-05/0.4843, allocations: 6.344 kB / 438.6 MB, free: 16.91 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.164e-05/0.4844, allocations: 3.812 kB / 438.7 MB, free: 16.91 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005059/0.4849, allocations: 260.5 kB / 438.9 MB, free: 16.88 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.283e-05/0.4849, allocations: 2.469 kB / 438.9 MB, free: 16.88 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.803e-05/0.4849, allocations: 4.812 kB / 438.9 MB, free: 16.88 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.738e-05/0.485, allocations: 5.969 kB / 438.9 MB, free: 16.88 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005725/0.4855, allocations: 449.4 kB / 439.4 MB, free: 16.88 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000334/0.4859, allocations: 331.4 kB / 439.7 MB, free: 16.68 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003124/0.4862, allocations: 276.7 kB / 440 MB, free: 16.66 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002614/0.4865, allocations: 252.7 kB / 440.2 MB, free: 16.65 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0148/0.5013, allocations: 9.798 MB / 450 MB, free: 7.906 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.323e-05/0.5014, allocations: 33.52 kB / 450 MB, free: 7.867 MB / 318.1 MB Notification: Performance of pre-optimization done (n=41): time 4.248e-06/0.5014, allocations: 4 kB / 450 MB, free: 7.863 MB / 318.1 MB Notification: Performance of matching and sorting (n=41): time 0.001112/0.5025, allocations: 0.6734 MB / 450.7 MB, free: 7.816 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.959e-05/0.5025, allocations: 53.72 kB / 450.8 MB, free: 7.754 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.212e-05/0.5026, allocations: 99.95 kB / 450.9 MB, free: 7.652 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.711e-05/0.5026, allocations: 29.52 kB / 450.9 MB, free: 7.621 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.106e-05/0.5027, allocations: 81.86 kB / 451 MB, free: 7.539 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001049/0.5028, allocations: 129.6 kB / 451.1 MB, free: 7.449 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.147e-05/0.5028, allocations: 30.47 kB / 451.1 MB, free: 7.434 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 6.819e-05/0.5029, allocations: 330.7 kB / 451.4 MB, free: 7.117 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002293/0.5031, allocations: 183.4 kB / 451.6 MB, free: 7.117 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001953/0.5033, allocations: 190.9 kB / 451.8 MB, free: 7.117 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004267/0.5038, allocations: 450.2 kB / 452.2 MB, free: 7.07 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.554e-06/0.5038, allocations: 0 / 452.2 MB, free: 7.07 MB / 318.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0005145/0.5043, allocations: 499.4 kB / 452.7 MB, free: 6.996 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.978e-05/0.5043, allocations: 9.656 kB / 452.7 MB, free: 6.996 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.204e-06/0.5043, allocations: 4 kB / 452.8 MB, free: 6.992 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.881e-05/0.5044, allocations: 0 / 452.8 MB, free: 6.992 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001435/0.5045, allocations: 26.5 kB / 452.8 MB, free: 6.992 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.013e-06/0.5045, allocations: 0 / 452.8 MB, free: 6.992 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000108/0.5046, allocations: 30.41 kB / 452.8 MB, free: 6.973 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.528e-05/0.5047, allocations: 9.438 kB / 452.8 MB, free: 6.973 MB / 318.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 (state.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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 8.993e-05/0.5048, allocations: 121.1 kB / 452.9 MB, free: 6.859 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.019e-05/0.5048, allocations: 7.062 kB / 452.9 MB, free: 6.855 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000841/0.5056, allocations: 0.6705 MB / 453.6 MB, free: 6.566 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.19e-06/0.5057, allocations: 6.562 kB / 453.6 MB, free: 6.566 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.953e-06/0.5057, allocations: 0 / 453.6 MB, free: 6.566 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.144e-06/0.5057, allocations: 7.828 kB / 453.6 MB, free: 6.562 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00113/0.5068, allocations: 0.9052 MB / 454.5 MB, free: 6.164 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.22e-06/0.5068, allocations: 2.156 kB / 454.5 MB, free: 6.164 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001165/0.507, allocations: 31.55 kB / 454.6 MB, free: 6.164 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.713e-06/0.507, allocations: 8.156 kB / 454.6 MB, free: 6.16 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.98e-05/0.507, allocations: 9.906 kB / 454.6 MB, free: 6.16 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.991e-06/0.507, allocations: 7.484 kB / 454.6 MB, free: 6.16 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.36e-06/0.507, allocations: 8.094 kB / 454.6 MB, free: 6.16 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004239/0.5075, allocations: 371.1 kB / 455 MB, free: 5.938 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.815e-05/0.5075, allocations: 129 kB / 455.1 MB, free: 5.832 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.547e-05/0.5076, allocations: 13.22 kB / 455.1 MB, free: 5.828 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001254/0.5077, allocations: 5.578 kB / 455.1 MB, free: 5.828 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.531e-05/0.5078, allocations: 18.84 kB / 455.1 MB, free: 5.824 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.468e-05/0.5078, allocations: 10.19 kB / 455.1 MB, free: 5.824 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001458/0.5079, allocations: 175.7 kB / 455.3 MB, free: 5.746 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.5079, allocations: 3.562 kB / 455.3 MB, free: 5.746 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.003644/0.5116, allocations: 0.7376 MB / 456 MB, free: 5.621 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * 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 simulation (12): * Single equations (assignments): 12 * 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.002948/0.5145, allocations: 1.22 MB / 457.3 MB, free: 5.336 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0004396/0.515, allocations: 334.5 kB / 457.6 MB, free: 5.336 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 4.369e-06/0.515, allocations: 6.078 kB / 457.6 MB, free: 5.336 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001307/0.5152, allocations: 98.94 kB / 457.7 MB, free: 5.332 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006503/0.5158, allocations: 74.95 kB / 457.8 MB, free: 5.328 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000623/0.5164, allocations: 0.5021 MB / 458.3 MB, free: 5.008 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001506/0.5166, allocations: 0.7054 MB / 459 MB, free: 4.301 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.722e-05/0.5167, allocations: 29.3 kB / 459 MB, free: 4.289 MB / 318.1 MB Notification: Performance of SimCode: time 2.2e-07/0.5167, allocations: 0 / 459 MB, free: 4.289 MB / 318.1 MB Notification: Performance of Templates: time 0.02921/0.5459, allocations: 18.19 MB / 477.2 MB, free: 5.891 MB / 334.1 MB make -j1 -f HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_dT_parameter.makefile make -j1 -f HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_dT_parameter.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 OMCppHelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_dT_parameterCalcHelperMain.o OMCppHelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_dT_parameterCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppHelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_dT_parameterCalcHelperMain.o] Error 1