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.001022/0.001022, allocations: 96.14 kB / 15.87 MB, free: 16 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.001063/0.001063, allocations: 193.9 kB / 16.79 MB, free: 6.812 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.375/1.375, allocations: 222.9 MB / 240.4 MB, free: 4.594 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7397/0.7397, allocations: 132.2 MB / 422.8 MB, free: 2.008 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001246/0.001247, allocations: 64.61 kB / 0.5017 GB, free: 4.348 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4881/0.4894, allocations: 80.2 MB / 0.58 GB, free: 4.797 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Discrete.Examples.HysteresisRelease_Cooling): time 0.003483/0.4929, allocations: 2.088 MB / 0.5821 GB, free: 3.348 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008634/0.4938, allocations: 0.526 MB / 0.5826 GB, free: 2.969 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001111/0.4939, allocations: 2.219 kB / 0.5826 GB, free: 2.969 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001464/0.494, allocations: 15.2 kB / 0.5826 GB, free: 2.961 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000108/0.4942, allocations: 35.28 kB / 0.5826 GB, free: 2.938 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002302/0.4944, allocations: 51.03 kB / 0.5827 GB, free: 2.906 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002354/0.4946, allocations: 172.9 kB / 0.5828 GB, free: 2.824 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001901/0.4948, allocations: 63.41 kB / 0.5829 GB, free: 2.789 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001537/0.495, allocations: 71.31 kB / 0.583 GB, free: 2.758 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001413/0.4952, allocations: 79.61 kB / 0.583 GB, free: 2.719 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 3.327e-05/0.4952, allocations: 10.12 kB / 0.5831 GB, free: 2.719 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.563e-05/0.4952, allocations: 10.53 kB / 0.5831 GB, free: 2.719 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 5.151e-05/0.4953, allocations: 31.64 kB / 0.5831 GB, free: 2.699 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001053/0.4954, allocations: 78.55 kB / 0.5832 GB, free: 2.652 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002154/0.4956, allocations: 121.3 kB / 0.5833 GB, free: 2.613 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.933e-06/0.4956, allocations: 0 / 0.5833 GB, free: 2.613 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.222e-06/0.4956, allocations: 0.8438 kB / 0.5833 GB, free: 2.613 MB / 430.1 MB Notification: Performance of Transformations before backend: time 5.079e-06/0.4957, allocations: 4 kB / 0.5833 GB, free: 2.609 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.0008329/0.4965, allocations: 487.1 kB / 0.5838 GB, free: 2.188 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.784e-05/0.4965, allocations: 9.75 kB / 0.5838 GB, free: 2.188 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.218e-05/0.4966, allocations: 21.41 kB / 0.5838 GB, free: 2.176 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001754/0.4968, allocations: 210.7 kB / 0.584 GB, free: 1.953 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.41e-05/0.4969, allocations: 46.64 kB / 0.584 GB, free: 1.91 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.565e-05/0.4969, allocations: 12.5 kB / 0.584 GB, free: 1.906 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004305/0.4973, allocations: 157.6 kB / 0.5842 GB, free: 1.836 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.533e-05/0.4974, allocations: 1.062 kB / 0.5842 GB, free: 1.836 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.883e-05/0.4974, allocations: 9 kB / 0.5842 GB, free: 1.828 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.188e-05/0.4974, allocations: 3.531 kB / 0.5842 GB, free: 1.828 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000515/0.4979, allocations: 148 kB / 0.5843 GB, free: 1.793 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007725/0.4987, allocations: 0.5317 MB / 0.5849 GB, free: 1.359 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004608/0.4992, allocations: 139.5 kB / 0.585 GB, free: 1.297 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002493/0.4994, allocations: 86.23 kB / 0.5851 GB, free: 1.266 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.639e-05/0.4995, allocations: 1.375 kB / 0.5851 GB, free: 1.266 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.992e-05/0.4995, allocations: 32.56 kB / 0.5851 GB, free: 1.227 MB / 430.1 MB Notification: Performance of pre-optimization done (n=12): time 1.343e-06/0.4995, allocations: 0 / 0.5851 GB, free: 1.227 MB / 430.1 MB Notification: Performance of matching and sorting (n=12): time 0.0007812/0.5003, allocations: 221.9 kB / 0.5853 GB, free: 1.148 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.246e-05/0.5003, allocations: 53.22 kB / 0.5854 GB, free: 1.086 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001326/0.5005, allocations: 155.4 kB / 0.5855 GB, free: 0.9648 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.725e-05/0.5005, allocations: 30.64 kB / 0.5855 GB, free: 0.9297 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.365e-05/0.5006, allocations: 129.7 kB / 0.5857 GB, free: 0.8086 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.747e-05/0.5006, allocations: 40.06 kB / 0.5857 GB, free: 0.7773 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.862e-05/0.5007, allocations: 34.53 kB / 0.5857 GB, free: 0.75 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 6.825e-05/0.5007, allocations: 329.7 kB / 0.5861 GB, free: 436 kB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002203/0.501, allocations: 62.05 kB / 0.5861 GB, free: 420 kB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002205/0.5012, allocations: 87.12 kB / 0.5862 GB, free: 376 kB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003985/0.5016, allocations: 138.7 kB / 0.5863 GB, free: 320 kB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.467e-06/0.5016, allocations: 8.781 kB / 0.5863 GB, free: 312 kB / 430.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0004975/0.5021, allocations: 185.6 kB / 0.5865 GB, free: 236 kB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.733e-05/0.5021, allocations: 6.422 kB / 0.5865 GB, free: 236 kB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.15e-06/0.5022, allocations: 0 / 0.5865 GB, free: 236 kB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.424e-05/0.5022, allocations: 5.781 kB / 0.5865 GB, free: 232 kB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002092/0.5024, allocations: 36.69 kB / 0.5866 GB, free: 232 kB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.946e-06/0.5024, allocations: 5.906 kB / 0.5866 GB, free: 228 kB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001607/0.5026, allocations: 32.33 kB / 0.5866 GB, free: 216 kB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.503e-05/0.5026, allocations: 4.469 kB / 0.5866 GB, free: 216 kB / 430.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 8.771e-05/0.5027, allocations: 130.4 kB / 0.5867 GB, free: 84 kB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.518e-05/0.5027, allocations: 13.88 kB / 0.5867 GB, free: 76 kB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.219e-05/0.5028, allocations: 15.95 kB / 0.5868 GB, free: 60 kB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.478e-06/0.5028, allocations: 7.344 kB / 0.5868 GB, free: 56 kB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.43e-06/0.5028, allocations: 0 / 0.5868 GB, free: 56 kB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.987e-06/0.5028, allocations: 0.8438 kB / 0.5868 GB, free: 56 kB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003032/0.5031, allocations: 246.5 kB / 0.587 GB, free: 15.82 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.5031, allocations: 4.781 kB / 0.587 GB, free: 15.82 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001981/0.5033, allocations: 32.95 kB / 0.587 GB, free: 15.82 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.574e-06/0.5033, allocations: 0.875 kB / 0.587 GB, free: 15.82 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.447e-05/0.5034, allocations: 1.156 kB / 0.587 GB, free: 15.82 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.915e-06/0.5034, allocations: 1.875 kB / 0.587 GB, free: 15.82 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.91e-07/0.5034, allocations: 0 / 0.587 GB, free: 15.82 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008304/0.5042, allocations: 345.3 kB / 0.5874 GB, free: 15.62 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.375e-05/0.5043, allocations: 85.91 kB / 0.5875 GB, free: 15.52 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.696e-05/0.5043, allocations: 6.188 kB / 0.5875 GB, free: 15.52 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001707/0.5045, allocations: 21.64 kB / 0.5875 GB, free: 15.52 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.902e-05/0.5046, allocations: 12.97 kB / 0.5875 GB, free: 15.52 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.078e-05/0.5046, allocations: 1.969 kB / 0.5875 GB, free: 15.52 MB / 446.1 MB Notification: Performance of sorting global known variables: time 9.54e-05/0.5047, allocations: 121.2 kB / 0.5876 GB, free: 15.43 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.5047, allocations: 0 / 0.5876 GB, free: 15.43 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002699/0.505, allocations: 40.88 kB / 0.5876 GB, free: 15.41 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.0001088/0.5051, allocations: 99.16 kB / 0.5877 GB, free: 15.32 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.000506/0.5056, allocations: 142.4 kB / 0.5879 GB, free: 15.29 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.5056, allocations: 1.312 kB / 0.5879 GB, free: 15.29 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000233/0.5058, allocations: 77.27 kB / 0.588 GB, free: 15.27 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003706/0.5062, allocations: 25.62 kB / 0.588 GB, free: 15.26 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008898/0.5071, allocations: 480.2 kB / 0.5884 GB, free: 14.9 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004043/0.5075, allocations: 0.7156 MB / 0.5891 GB, free: 14.21 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.448e-05/0.5076, allocations: 14.48 kB / 0.5891 GB, free: 14.2 MB / 446.1 MB Notification: Performance of SimCode: time 2.4e-07/0.5076, allocations: 4 kB / 0.5892 GB, free: 14.2 MB / 446.1 MB Notification: Performance of Templates: time 0.00408/0.5117, allocations: 1.794 MB / 0.5909 GB, free: 14.04 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