Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Blocks.IntegratorForceState.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/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/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(ModelicaTest.Blocks.IntegratorForceState,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|gain.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Blocks.IntegratorForceState") translateModel(ModelicaTest.Blocks.IntegratorForceState,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|gain.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Blocks.IntegratorForceState") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007934/0.0007934, allocations: 100 kB / 16.33 MB, free: 5.941 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.0008295/0.0008296, allocations: 187.2 kB / 17.22 MB, free: 5.883 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.247/1.247, allocations: 205.4 MB / 223.4 MB, free: 5.566 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2837/0.2837, allocations: 43.55 MB / 315.2 MB, free: 8.891 MB / 254.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.0004665/0.0004665, allocations: 12 kB / 384.5 MB, free: 8.023 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1029/0.1034, allocations: 58.86 MB / 443.4 MB, free: 13.06 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.IntegratorForceState): time 0.001461/0.1049, allocations: 1.258 MB / 444.7 MB, free: 11.79 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001737/0.1051, allocations: 55.83 kB / 444.7 MB, free: 11.74 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.313e-05/0.1052, allocations: 0 / 444.7 MB, free: 11.74 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 8.015e-05/0.1053, allocations: 3.938 kB / 444.7 MB, free: 11.73 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 2.624e-05/0.1053, allocations: 7.922 kB / 444.7 MB, free: 11.73 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 9.32e-05/0.1054, allocations: 8 kB / 444.7 MB, free: 11.72 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 7.546e-05/0.1055, allocations: 35.91 kB / 444.8 MB, free: 11.68 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.665e-05/0.1056, allocations: 12 kB / 444.8 MB, free: 11.67 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.084e-05/0.1056, allocations: 7.938 kB / 444.8 MB, free: 11.66 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.345e-05/0.1057, allocations: 11.92 kB / 444.8 MB, free: 11.65 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.407e-05/0.1057, allocations: 4 kB / 444.8 MB, free: 11.65 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.777e-06/0.1057, allocations: 0 / 444.8 MB, free: 11.65 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.042e-05/0.1057, allocations: 3.938 kB / 444.8 MB, free: 11.64 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.373e-05/0.1057, allocations: 33.7 kB / 444.8 MB, free: 11.61 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 5.482e-05/0.1058, allocations: 28.16 kB / 444.9 MB, free: 11.58 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.176e-06/0.1058, allocations: 0 / 444.9 MB, free: 11.58 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.122e-06/0.1058, allocations: 4 kB / 444.9 MB, free: 11.57 MB / 382.1 MB Notification: Performance of Transformations before backend: time 2.825e-06/0.1058, allocations: 4 kB / 444.9 MB, free: 11.57 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003308/0.1062, allocations: 339.2 kB / 445.2 MB, free: 11.19 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.239e-05/0.1062, allocations: 12.03 kB / 445.2 MB, free: 11.18 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.33e-05/0.1062, allocations: 0 / 445.2 MB, free: 11.18 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001547/0.1064, allocations: 190.8 kB / 445.4 MB, free: 10.95 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.776e-06/0.1064, allocations: 0 / 445.4 MB, free: 10.95 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.905e-05/0.1064, allocations: 8 kB / 445.4 MB, free: 10.95 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001451/0.1066, allocations: 76.25 kB / 445.5 MB, free: 10.86 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.574e-06/0.1066, allocations: 3.938 kB / 445.5 MB, free: 10.85 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.025e-06/0.1066, allocations: 7.938 kB / 445.5 MB, free: 10.84 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.531e-06/0.1066, allocations: 3.984 kB / 445.5 MB, free: 10.84 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.66e-05/0.1067, allocations: 27.92 kB / 445.5 MB, free: 10.81 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004179/0.1071, allocations: 453.2 kB / 446 MB, free: 10.31 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001287/0.1073, allocations: 42.56 kB / 446 MB, free: 10.26 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.365e-05/0.1073, allocations: 24.94 kB / 446 MB, free: 10.23 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.357e-06/0.1073, allocations: 4 kB / 446 MB, free: 10.23 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.591e-05/0.1074, allocations: 30.56 kB / 446.1 MB, free: 10.19 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 9.41e-07/0.1074, allocations: 0 / 446.1 MB, free: 10.19 MB / 382.1 MB Notification: Performance of matching and sorting (n=4): time 0.000367/0.1078, allocations: 117.4 kB / 446.2 MB, free: 10.07 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.982e-05/0.1078, allocations: 55.41 kB / 446.2 MB, free: 10 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.731e-05/0.1079, allocations: 118 kB / 446.4 MB, free: 9.875 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.058e-05/0.1079, allocations: 25.7 kB / 446.4 MB, free: 9.844 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.722e-05/0.1079, allocations: 91.98 kB / 446.5 MB, free: 9.75 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.965e-05/0.108, allocations: 15.81 kB / 446.5 MB, free: 9.734 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.025e-06/0.108, allocations: 0 / 446.5 MB, free: 9.734 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 9.981e-05/0.1081, allocations: 322.8 kB / 446.8 MB, free: 9.41 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.457e-05/0.1081, allocations: 15.94 kB / 446.8 MB, free: 9.395 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.145e-05/0.1082, allocations: 43.42 kB / 446.9 MB, free: 9.34 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.985e-05/0.1082, allocations: 23.98 kB / 446.9 MB, free: 9.316 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.62e-07/0.1083, allocations: 0 / 446.9 MB, free: 9.316 MB / 382.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001446/0.1084, allocations: 89.52 kB / 447 MB, free: 9.223 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.122e-05/0.1084, allocations: 4 kB / 447 MB, free: 9.219 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.557e-06/0.1084, allocations: 0 / 447 MB, free: 9.219 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.183e-05/0.1085, allocations: 7.953 kB / 447 MB, free: 9.211 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.647e-05/0.1085, allocations: 15.92 kB / 447 MB, free: 9.195 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.449e-06/0.1085, allocations: 8.25 kB / 447 MB, free: 9.188 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.45e-05/0.1086, allocations: 4 kB / 447 MB, free: 9.184 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.46e-06/0.1086, allocations: 3.984 kB / 447 MB, free: 9.18 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 1 (integrator.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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 6.602e-05/0.1086, allocations: 117.8 kB / 447.1 MB, free: 9.055 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.245e-05/0.1087, allocations: 4 kB / 447.1 MB, free: 9.051 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.029e-05/0.1087, allocations: 8.281 kB / 447.1 MB, free: 9.043 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.122e-06/0.1087, allocations: 0 / 447.1 MB, free: 9.043 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.971e-06/0.1087, allocations: 7.938 kB / 447.2 MB, free: 9.035 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/0.1087, allocations: 0 / 447.2 MB, free: 9.035 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001414/0.1089, allocations: 181.9 kB / 447.3 MB, free: 8.809 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.91e-07/0.1089, allocations: 0 / 447.3 MB, free: 8.809 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.221e-05/0.109, allocations: 8 kB / 447.3 MB, free: 8.801 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.644e-06/0.109, allocations: 0 / 447.3 MB, free: 8.801 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.187e-06/0.109, allocations: 4 kB / 447.3 MB, free: 8.797 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.013e-05/0.109, allocations: 3.938 kB / 447.3 MB, free: 8.793 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.109, allocations: 0 / 447.3 MB, free: 8.793 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001984/0.1092, allocations: 191.4 kB / 447.5 MB, free: 8.59 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.025e-05/0.1093, allocations: 77.11 kB / 447.6 MB, free: 8.496 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.361e-05/0.1093, allocations: 4 kB / 447.6 MB, free: 8.492 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.639e-05/0.1093, allocations: 4.031 kB / 447.6 MB, free: 8.488 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.128e-05/0.1094, allocations: 7.984 kB / 447.6 MB, free: 8.48 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.579e-06/0.1094, allocations: 4 kB / 447.6 MB, free: 8.477 MB / 382.1 MB Notification: Performance of sorting global known variables: time 4.037e-05/0.1094, allocations: 95.22 kB / 447.7 MB, free: 8.383 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1094, allocations: 4.062 kB / 447.7 MB, free: 8.379 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002102/0.1096, allocations: 4 kB / 447.7 MB, free: 8.375 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (gain.y) * 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 (4): * Single equations (assignments): 4 * 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 8.335e-05/0.1097, allocations: 91.25 kB / 447.8 MB, free: 8.277 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001237/0.1099, allocations: 43.92 kB / 447.9 MB, free: 8.234 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.443e-06/0.1099, allocations: 0 / 447.9 MB, free: 8.234 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 4.565e-05/0.1099, allocations: 28.11 kB / 447.9 MB, free: 8.207 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002542/0.1102, allocations: 11.94 kB / 447.9 MB, free: 8.195 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003594/0.1105, allocations: 202.6 kB / 448.1 MB, free: 7.961 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002294/0.1108, allocations: 0.6809 MB / 448.8 MB, free: 7.254 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.402e-05/0.1108, allocations: 15.44 kB / 448.8 MB, free: 7.242 MB / 382.1 MB Notification: Performance of SimCode: time 2.21e-07/0.1108, allocations: 3.938 kB / 448.8 MB, free: 7.238 MB / 382.1 MB Notification: Performance of Templates: time 0.001665/0.1125, allocations: 0.766 MB / 449.6 MB, free: 6.473 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Blocks.IntegratorForceState.makefile make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Blocks.IntegratorForceState.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"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/c/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppModelicaTest_3.2.3_ModelicaTest.Blocks.IntegratorForceStateCalcHelperMain.o OMCppModelicaTest_3.2.3_ModelicaTest.Blocks.IntegratorForceStateCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_3.2.3_ModelicaTest.Blocks.IntegratorForceStateCalcHelperMain.o] Error 1