Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Blocks.Hysteresis.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.Hysteresis,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|hysteresis.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Blocks.Hysteresis") translateModel(ModelicaTest.Blocks.Hysteresis,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|hysteresis.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Blocks.Hysteresis") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007224/0.0007228, allocations: 95.56 kB / 16.33 MB, free: 5.945 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.0007164/0.0007164, allocations: 187.3 kB / 17.22 MB, free: 5.879 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.328/1.328, allocations: 205.4 MB / 223.4 MB, free: 13.15 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.175/0.175, allocations: 43.56 MB / 315.2 MB, free: 0.625 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.0004893/0.0004893, allocations: 18.17 kB / 384.5 MB, free: 57.09 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1009/0.1014, allocations: 58.86 MB / 443.4 MB, free: 5.828 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.Hysteresis): time 0.001573/0.103, allocations: 1.149 MB / 444.6 MB, free: 4.664 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005693/0.1036, allocations: 432.8 kB / 445 MB, free: 4.234 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.528e-05/0.1037, allocations: 0 / 445 MB, free: 4.234 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 2.011e-05/0.1037, allocations: 4 kB / 445 MB, free: 4.23 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 6.839e-05/0.1038, allocations: 7.922 kB / 445 MB, free: 4.223 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002004/0.104, allocations: 11.98 kB / 445 MB, free: 4.211 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 8.152e-05/0.1041, allocations: 31.86 kB / 445 MB, free: 4.18 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001001/0.1042, allocations: 8.219 kB / 445 MB, free: 4.172 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.808e-05/0.1043, allocations: 15.97 kB / 445.1 MB, free: 4.156 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.039e-05/0.1044, allocations: 11.92 kB / 445.1 MB, free: 4.145 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.616e-05/0.1044, allocations: 4 kB / 445.1 MB, free: 4.141 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.137e-05/0.1044, allocations: 4 kB / 445.1 MB, free: 4.137 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 1.283e-05/0.1044, allocations: 7.938 kB / 445.1 MB, free: 4.129 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 2.306e-05/0.1045, allocations: 29.7 kB / 445.1 MB, free: 4.094 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 6.535e-05/0.1045, allocations: 23.89 kB / 445.1 MB, free: 4.07 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.073e-06/0.1045, allocations: 4 kB / 445.1 MB, free: 4.066 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.844e-06/0.1045, allocations: 0 / 445.1 MB, free: 4.066 MB / 318.1 MB Notification: Performance of Transformations before backend: time 4.359e-06/0.1046, allocations: 0 / 445.1 MB, free: 4.066 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003669/0.1049, allocations: 339.3 kB / 445.5 MB, free: 3.688 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.243e-05/0.105, allocations: 20 kB / 445.5 MB, free: 3.668 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.14e-05/0.105, allocations: 3.906 kB / 445.5 MB, free: 3.664 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.149e-05/0.1051, allocations: 175 kB / 445.7 MB, free: 3.453 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.261e-05/0.1051, allocations: 0 / 445.7 MB, free: 3.453 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.109e-05/0.1052, allocations: 4 kB / 445.7 MB, free: 3.449 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001617/0.1053, allocations: 59.33 kB / 445.7 MB, free: 3.379 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.327e-06/0.1053, allocations: 7.938 kB / 445.7 MB, free: 3.371 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.465e-05/0.1054, allocations: 4 kB / 445.7 MB, free: 3.367 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.151e-06/0.1054, allocations: 0 / 445.7 MB, free: 3.367 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.267e-05/0.1055, allocations: 23.98 kB / 445.8 MB, free: 3.344 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000374/0.1059, allocations: 264.9 kB / 446 MB, free: 3.035 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.602e-05/0.106, allocations: 38.52 kB / 446.1 MB, free: 2.988 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.458e-05/0.106, allocations: 20.91 kB / 446.1 MB, free: 2.965 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.413e-05/0.106, allocations: 0 / 446.1 MB, free: 2.965 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.095e-05/0.1061, allocations: 30.56 kB / 446.1 MB, free: 2.926 MB / 318.1 MB Notification: Performance of pre-optimization done (n=2): time 8.01e-07/0.1061, allocations: 0 / 446.1 MB, free: 2.926 MB / 318.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002276/0.1063, allocations: 73.58 kB / 446.2 MB, free: 2.848 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.558e-05/0.1063, allocations: 85.06 kB / 446.3 MB, free: 2.746 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.805e-05/0.1064, allocations: 109.8 kB / 446.4 MB, free: 2.629 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.188e-05/0.1064, allocations: 29.7 kB / 446.4 MB, free: 2.594 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.951e-05/0.1065, allocations: 84.14 kB / 446.5 MB, free: 2.508 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.716e-05/0.1065, allocations: 3.906 kB / 446.5 MB, free: 2.504 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.779e-06/0.1065, allocations: 4.125 kB / 446.5 MB, free: 2.5 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 6.295e-05/0.1066, allocations: 326.8 kB / 446.8 MB, free: 2.172 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.214e-05/0.1066, allocations: 8 kB / 446.8 MB, free: 2.164 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.164e-05/0.1067, allocations: 25.7 kB / 446.8 MB, free: 2.133 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.314e-05/0.1067, allocations: 20 kB / 446.9 MB, free: 2.113 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/0.1067, allocations: 4.031 kB / 446.9 MB, free: 2.109 MB / 318.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001017/0.1068, allocations: 57.69 kB / 446.9 MB, free: 2.047 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.327e-05/0.1069, allocations: 6.031 kB / 446.9 MB, free: 2.043 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.959e-06/0.1069, allocations: 0 / 446.9 MB, free: 2.043 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.312e-05/0.1069, allocations: 4 kB / 446.9 MB, free: 2.039 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.774e-05/0.107, allocations: 16.06 kB / 446.9 MB, free: 2.023 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.062e-06/0.107, allocations: 0 / 446.9 MB, free: 2.023 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.311e-05/0.107, allocations: 19.94 kB / 447 MB, free: 2.004 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.033e-06/0.107, allocations: 0 / 447 MB, free: 2.004 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: 2 ($PRE.hysteresis.y,hysteresis.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 3 * 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.992e-05/0.1071, allocations: 113.8 kB / 447.1 MB, free: 1.883 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.258e-05/0.1072, allocations: 3.906 kB / 447.1 MB, free: 1.879 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.341e-05/0.1072, allocations: 11.53 kB / 447.1 MB, free: 1.867 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.022e-06/0.1072, allocations: 0 / 447.1 MB, free: 1.867 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.659e-06/0.1072, allocations: 0 / 447.1 MB, free: 1.867 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.755e-06/0.1072, allocations: 0 / 447.1 MB, free: 1.867 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001127/0.1073, allocations: 165.6 kB / 447.3 MB, free: 1.656 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.1073, allocations: 8 kB / 447.3 MB, free: 1.648 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.433e-05/0.1074, allocations: 7.984 kB / 447.3 MB, free: 1.641 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.513e-06/0.1074, allocations: 0 / 447.3 MB, free: 1.641 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.693e-06/0.1074, allocations: 0 / 447.3 MB, free: 1.641 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.41e-07/0.1074, allocations: 0 / 447.3 MB, free: 1.641 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.1074, allocations: 3.938 kB / 447.3 MB, free: 1.637 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001186/0.1075, allocations: 163.4 kB / 447.4 MB, free: 1.461 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.006e-05/0.1076, allocations: 88.95 kB / 447.5 MB, free: 1.355 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.677e-05/0.1076, allocations: 0 / 447.5 MB, free: 1.355 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.039e-05/0.1077, allocations: 11.98 kB / 447.5 MB, free: 1.344 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.577e-05/0.1077, allocations: 7.984 kB / 447.5 MB, free: 1.336 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.216e-06/0.1077, allocations: 0 / 447.5 MB, free: 1.336 MB / 318.1 MB Notification: Performance of sorting global known variables: time 2.792e-05/0.1077, allocations: 91.58 kB / 447.6 MB, free: 1.246 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1078, allocations: 4.031 kB / 447.6 MB, free: 1.242 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.000199/0.108, allocations: 4 kB / 447.6 MB, free: 1.238 MB / 318.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 (hysteresis.y) * Number of discrete states: 1 (hysteresis.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (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 Backend phase and start with SimCode phase: time 7.542e-05/0.108, allocations: 99.23 kB / 447.7 MB, free: 1.129 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0001243/0.1082, allocations: 31.92 kB / 447.8 MB, free: 1.098 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.1082, allocations: 0 / 447.8 MB, free: 1.098 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 4.121e-05/0.1082, allocations: 23.94 kB / 447.8 MB, free: 1.074 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001999/0.1084, allocations: 3.953 kB / 447.8 MB, free: 1.07 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002282/0.1087, allocations: 158.3 kB / 447.9 MB, free: 0.8867 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.738e-05/0.1088, allocations: 0.6809 MB / 448.6 MB, free: 184 kB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.566e-05/0.1088, allocations: 7.438 kB / 448.6 MB, free: 176 kB / 318.1 MB Notification: Performance of SimCode: time 1.9e-07/0.1088, allocations: 0 / 448.6 MB, free: 176 kB / 318.1 MB Notification: Performance of Templates: time 0.001688/0.1105, allocations: 0.625 MB / 449.3 MB, free: 15.54 MB / 334.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Blocks.Hysteresis.makefile make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Blocks.Hysteresis.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.HysteresisCalcHelperMain.o OMCppModelicaTest_3.2.3_ModelicaTest.Blocks.HysteresisCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_3.2.3_ModelicaTest.Blocks.HysteresisCalcHelperMain.o] Error 1