Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Controls.Discrete.Examples.HysteresisRelease_Cooling.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(IDEAS.Controls.Discrete.Examples.HysteresisRelease_Cooling,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.Discrete.Examples.HysteresisRelease_Cooling") translateModel(IDEAS.Controls.Discrete.Examples.HysteresisRelease_Cooling,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.Discrete.Examples.HysteresisRelease_Cooling") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008806/0.0008805, allocations: 92.16 kB / 16.02 MB, free: 80 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.0009721/0.0009721, allocations: 172.9 kB / 16.92 MB, free: 6.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.427/1.427, allocations: 223.3 MB / 241 MB, free: 5.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7263/0.7263, allocations: 132.3 MB / 424.4 MB, free: 1.973 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003452/0.0003453, allocations: 8 kB / 0.5046 GB, free: 3.93 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4886/0.489, allocations: 81.58 MB / 0.5843 GB, free: 4.055 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Discrete.Examples.HysteresisRelease_Cooling): time 0.002133/0.4912, allocations: 1.741 MB / 0.586 GB, free: 2.797 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007787/0.492, allocations: 0.5153 MB / 0.5865 GB, free: 2.426 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.315e-05/0.4921, allocations: 6.562 kB / 0.5865 GB, free: 2.422 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001173/0.4922, allocations: 14.56 kB / 0.5865 GB, free: 2.414 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001056/0.4923, allocations: 36.28 kB / 0.5865 GB, free: 2.391 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002038/0.4925, allocations: 50.22 kB / 0.5866 GB, free: 2.359 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002381/0.4928, allocations: 173.9 kB / 0.5868 GB, free: 2.277 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001799/0.493, allocations: 57.06 kB / 0.5868 GB, free: 2.246 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001353/0.4931, allocations: 67.66 kB / 0.5869 GB, free: 2.215 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001184/0.4932, allocations: 68.47 kB / 0.5869 GB, free: 2.184 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 2.754e-05/0.4933, allocations: 6.125 kB / 0.5869 GB, free: 2.184 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.456e-05/0.4933, allocations: 8.188 kB / 0.587 GB, free: 2.184 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 4.048e-05/0.4933, allocations: 25.42 kB / 0.587 GB, free: 2.168 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 8.435e-05/0.4934, allocations: 98.38 kB / 0.5871 GB, free: 2.094 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001869/0.4936, allocations: 117.9 kB / 0.5872 GB, free: 2.066 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.4936, allocations: 4.656 kB / 0.5872 GB, free: 2.062 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.994e-06/0.4936, allocations: 0 / 0.5872 GB, free: 2.062 MB / 430.1 MB Notification: Performance of Transformations before backend: time 5.651e-06/0.4937, allocations: 0.9062 kB / 0.5872 GB, free: 2.062 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.0007282/0.4944, allocations: 480.7 kB / 0.5876 GB, free: 1.648 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.174e-05/0.4944, allocations: 9.188 kB / 0.5877 GB, free: 1.648 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.862e-05/0.4945, allocations: 22.78 kB / 0.5877 GB, free: 1.637 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001726/0.4947, allocations: 209.8 kB / 0.5879 GB, free: 1.414 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.991e-05/0.4948, allocations: 42.38 kB / 0.5879 GB, free: 1.375 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.085e-05/0.4948, allocations: 13.41 kB / 0.5879 GB, free: 1.371 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004851/0.4953, allocations: 169.2 kB / 0.5881 GB, free: 1.301 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.39e-05/0.4953, allocations: 0 / 0.5881 GB, free: 1.301 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.867e-05/0.4954, allocations: 9.406 kB / 0.5881 GB, free: 1.293 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.805e-06/0.4954, allocations: 3.281 kB / 0.5881 GB, free: 1.293 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005368/0.4959, allocations: 174.4 kB / 0.5883 GB, free: 1.254 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007963/0.4967, allocations: 0.5359 MB / 0.5888 GB, free: 0.8242 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000467/0.4972, allocations: 148 kB / 0.5889 GB, free: 0.7656 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002559/0.4975, allocations: 94.33 kB / 0.589 GB, free: 0.7344 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.846e-05/0.4975, allocations: 1.438 kB / 0.589 GB, free: 0.7344 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.674e-05/0.4975, allocations: 36.95 kB / 0.5891 GB, free: 0.6914 MB / 430.1 MB Notification: Performance of pre-optimization done (n=12): time 1.162e-06/0.4975, allocations: 0 / 0.5891 GB, free: 0.6914 MB / 430.1 MB Notification: Performance of matching and sorting (n=12): time 0.0008178/0.4983, allocations: 259.9 kB / 0.5893 GB, free: 0.6094 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.836e-05/0.4984, allocations: 56.98 kB / 0.5894 GB, free: 0.543 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001349/0.4985, allocations: 155.2 kB / 0.5895 GB, free: 432 kB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.541e-05/0.4985, allocations: 26.39 kB / 0.5895 GB, free: 400 kB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.447e-05/0.4986, allocations: 134.3 kB / 0.5897 GB, free: 272 kB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.611e-05/0.4987, allocations: 40.53 kB / 0.5897 GB, free: 240 kB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.1e-05/0.4987, allocations: 23.44 kB / 0.5897 GB, free: 216 kB / 430.1 MB Notification: Performance of setup shared object (initialization): time 9.371e-05/0.4988, allocations: 322.3 kB / 0.59 GB, free: 15.89 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002384/0.499, allocations: 70.17 kB / 0.5901 GB, free: 15.88 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002638/0.4993, allocations: 111.1 kB / 0.5902 GB, free: 15.83 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004673/0.4998, allocations: 163.3 kB / 0.5904 GB, free: 15.77 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.636e-06/0.4998, allocations: 3.938 kB / 0.5904 GB, free: 15.77 MB / 446.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0006332/0.5004, allocations: 209.1 kB / 0.5906 GB, free: 15.69 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.315e-05/0.5005, allocations: 5.719 kB / 0.5906 GB, free: 15.69 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.436e-06/0.5005, allocations: 2.047 kB / 0.5906 GB, free: 15.69 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.649e-05/0.5005, allocations: 1.031 kB / 0.5906 GB, free: 15.69 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002113/0.5007, allocations: 53.75 kB / 0.5906 GB, free: 15.68 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.153e-06/0.5007, allocations: 1.219 kB / 0.5906 GB, free: 15.68 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000167/0.5009, allocations: 39.31 kB / 0.5907 GB, free: 15.67 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.683e-05/0.5009, allocations: 9.312 kB / 0.5907 GB, free: 15.66 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 2 (con.y_boolean,$PRE.con.y_boolean) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (16): * Single equations (assignments): 16 * 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 0.0001365/0.5011, allocations: 124.6 kB / 0.5908 GB, free: 15.54 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.558e-05/0.5011, allocations: 18.44 kB / 0.5908 GB, free: 15.53 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.631e-05/0.5012, allocations: 16.77 kB / 0.5908 GB, free: 15.51 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.947e-06/0.5012, allocations: 1.531 kB / 0.5908 GB, free: 15.51 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.166e-06/0.5012, allocations: 1.484 kB / 0.5908 GB, free: 15.51 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.097e-06/0.5012, allocations: 4.5 kB / 0.5908 GB, free: 15.51 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000301/0.5015, allocations: 243.2 kB / 0.5911 GB, free: 15.28 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.983e-06/0.5015, allocations: 4.688 kB / 0.5911 GB, free: 15.28 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001961/0.5018, allocations: 41.83 kB / 0.5911 GB, free: 15.27 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.504e-06/0.5018, allocations: 1.5 kB / 0.5911 GB, free: 15.27 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.625e-05/0.5018, allocations: 5.312 kB / 0.5911 GB, free: 15.27 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.195e-06/0.5018, allocations: 1 kB / 0.5911 GB, free: 15.27 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.364e-06/0.5018, allocations: 0.6562 kB / 0.5911 GB, free: 15.27 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008333/0.5026, allocations: 379.9 kB / 0.5915 GB, free: 15.07 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001261/0.5028, allocations: 89.64 kB / 0.5916 GB, free: 14.97 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.528e-05/0.5028, allocations: 4.797 kB / 0.5916 GB, free: 14.97 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001742/0.503, allocations: 29.7 kB / 0.5916 GB, free: 14.96 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.095e-05/0.5031, allocations: 16.2 kB / 0.5916 GB, free: 14.96 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.251e-05/0.5031, allocations: 2.672 kB / 0.5916 GB, free: 14.96 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001126/0.5032, allocations: 118 kB / 0.5917 GB, free: 14.88 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5032, allocations: 0 / 0.5917 GB, free: 14.88 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002648/0.5035, allocations: 40.34 kB / 0.5918 GB, free: 14.86 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (cap.T) * Number of discrete variables: 1 (con.y_boolean) * Number of discrete states: 1 (con.y_boolean) * 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.0001078/0.5036, allocations: 103.3 kB / 0.5919 GB, free: 14.77 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0005519/0.5042, allocations: 172.4 kB / 0.592 GB, free: 14.73 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.5042, allocations: 0 / 0.592 GB, free: 14.73 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002694/0.5044, allocations: 89.95 kB / 0.5921 GB, free: 14.71 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003471/0.5048, allocations: 22.05 kB / 0.5921 GB, free: 14.7 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008859/0.5057, allocations: 0.513 MB / 0.5926 GB, free: 14.34 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003668/0.5061, allocations: 0.7186 MB / 0.5933 GB, free: 13.64 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.224e-05/0.5061, allocations: 14.62 kB / 0.5934 GB, free: 13.63 MB / 446.1 MB Notification: Performance of SimCode: time 3.41e-07/0.5061, allocations: 1.188 kB / 0.5934 GB, free: 13.63 MB / 446.1 MB Notification: Performance of Templates: time 0.004523/0.5107, allocations: 1.779 MB / 0.5951 GB, free: 13.5 MB / 446.1 MB make -j1 -f IDEAS_IDEAS.Controls.Discrete.Examples.HysteresisRelease_Cooling.makefile make -j1 -f IDEAS_IDEAS.Controls.Discrete.Examples.HysteresisRelease_Cooling.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 OMCppIDEAS_IDEAS.Controls.Discrete.Examples.HysteresisRelease_CoolingCalcHelperMain.o OMCppIDEAS_IDEAS.Controls.Discrete.Examples.HysteresisRelease_CoolingCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppIDEAS_IDEAS.Controls.Discrete.Examples.HysteresisRelease_CoolingCalcHelperMain.o] Error 1