Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Controls.Discrete.Examples.HysteresisRelease_Heating.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_Heating,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.Discrete.Examples.HysteresisRelease_Heating") translateModel(IDEAS.Controls.Discrete.Examples.HysteresisRelease_Heating,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.Discrete.Examples.HysteresisRelease_Heating") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007544/0.0007544, allocations: 92.08 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.000774/0.0007739, allocations: 175.4 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.331/1.331, allocations: 223.2 MB / 240.9 MB, free: 5.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7357/0.7357, allocations: 132.3 MB / 424.4 MB, free: 1.957 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003198/0.0003198, allocations: 8 kB / 0.5046 GB, free: 3.895 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4628/0.4631, allocations: 81.58 MB / 0.5843 GB, free: 4.02 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Discrete.Examples.HysteresisRelease_Heating): time 0.002261/0.4655, allocations: 1.74 MB / 0.586 GB, free: 2.762 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008586/0.4663, allocations: 0.5118 MB / 0.5865 GB, free: 2.395 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.939e-05/0.4664, allocations: 2.719 kB / 0.5865 GB, free: 2.395 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001198/0.4666, allocations: 18.91 kB / 0.5865 GB, free: 2.383 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001085/0.4667, allocations: 38.62 kB / 0.5865 GB, free: 2.355 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002488/0.467, allocations: 47.33 kB / 0.5866 GB, free: 2.328 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002455/0.4672, allocations: 174.4 kB / 0.5867 GB, free: 2.246 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001838/0.4674, allocations: 55.98 kB / 0.5868 GB, free: 2.215 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001423/0.4675, allocations: 75.83 kB / 0.5869 GB, free: 2.176 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001369/0.4677, allocations: 64.48 kB / 0.5869 GB, free: 2.148 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 2.564e-05/0.4677, allocations: 6.312 kB / 0.5869 GB, free: 2.148 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.691e-05/0.4678, allocations: 11.56 kB / 0.5869 GB, free: 2.145 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 4.095e-05/0.4678, allocations: 26.56 kB / 0.587 GB, free: 2.129 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001015/0.4679, allocations: 97.58 kB / 0.5871 GB, free: 2.055 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001959/0.4681, allocations: 114.3 kB / 0.5872 GB, free: 2.031 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.911e-06/0.4681, allocations: 0.8438 kB / 0.5872 GB, free: 2.031 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.4681, allocations: 0.9062 kB / 0.5872 GB, free: 2.031 MB / 430.1 MB Notification: Performance of Transformations before backend: time 6.142e-06/0.4681, allocations: 0 / 0.5872 GB, free: 2.031 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.0007718/0.4689, allocations: 488.1 kB / 0.5876 GB, free: 1.609 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.972e-05/0.469, allocations: 9.594 kB / 0.5877 GB, free: 1.609 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.086e-05/0.469, allocations: 22.11 kB / 0.5877 GB, free: 1.598 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000192/0.4692, allocations: 206.4 kB / 0.5879 GB, free: 1.379 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.473e-05/0.4693, allocations: 45.39 kB / 0.5879 GB, free: 1.336 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.85e-05/0.4694, allocations: 14.45 kB / 0.5879 GB, free: 1.332 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004626/0.4699, allocations: 173 kB / 0.5881 GB, free: 1.258 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.531e-05/0.4699, allocations: 0 / 0.5881 GB, free: 1.258 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.151e-05/0.4699, allocations: 9.812 kB / 0.5881 GB, free: 1.25 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.878e-06/0.4699, allocations: 2.469 kB / 0.5881 GB, free: 1.25 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005843/0.4705, allocations: 167.5 kB / 0.5883 GB, free: 1.219 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008718/0.4714, allocations: 0.5399 MB / 0.5888 GB, free: 0.7852 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005002/0.4719, allocations: 150.9 kB / 0.5889 GB, free: 0.7227 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002695/0.4722, allocations: 90.39 kB / 0.589 GB, free: 0.6953 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.867e-05/0.4722, allocations: 5.688 kB / 0.589 GB, free: 0.6914 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.077e-05/0.4722, allocations: 32.81 kB / 0.5891 GB, free: 0.6523 MB / 430.1 MB Notification: Performance of pre-optimization done (n=12): time 1.162e-06/0.4723, allocations: 0 / 0.5891 GB, free: 0.6523 MB / 430.1 MB Notification: Performance of matching and sorting (n=12): time 0.0008494/0.4731, allocations: 263.5 kB / 0.5893 GB, free: 0.5664 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.245e-05/0.4732, allocations: 52.88 kB / 0.5894 GB, free: 0.5039 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001465/0.4733, allocations: 156 kB / 0.5895 GB, free: 392 kB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.69e-05/0.4733, allocations: 31.08 kB / 0.5895 GB, free: 356 kB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.347e-05/0.4734, allocations: 130.2 kB / 0.5897 GB, free: 232 kB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.606e-05/0.4735, allocations: 36.55 kB / 0.5897 GB, free: 204 kB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.147e-05/0.4735, allocations: 19.22 kB / 0.5897 GB, free: 184 kB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001301/0.4736, allocations: 322.1 kB / 0.59 GB, free: 15.86 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002425/0.4739, allocations: 78.02 kB / 0.5901 GB, free: 15.84 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002727/0.4742, allocations: 100.4 kB / 0.5902 GB, free: 15.8 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004995/0.4747, allocations: 168.1 kB / 0.5904 GB, free: 15.74 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.225e-05/0.4747, allocations: 7.938 kB / 0.5904 GB, free: 15.73 MB / 446.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0005969/0.4753, allocations: 204.8 kB / 0.5906 GB, free: 15.66 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.848e-05/0.4753, allocations: 6.141 kB / 0.5906 GB, free: 15.66 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.085e-06/0.4753, allocations: 1.219 kB / 0.5906 GB, free: 15.66 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.701e-05/0.4754, allocations: 1.281 kB / 0.5906 GB, free: 15.66 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002172/0.4756, allocations: 54.95 kB / 0.5906 GB, free: 15.65 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.835e-06/0.4756, allocations: 1.812 kB / 0.5906 GB, free: 15.65 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001733/0.4758, allocations: 38.72 kB / 0.5907 GB, free: 15.64 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.656e-05/0.4758, allocations: 11.42 kB / 0.5907 GB, free: 15.63 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.0001196/0.4759, allocations: 127.3 kB / 0.5908 GB, free: 15.5 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.082e-05/0.476, allocations: 17.75 kB / 0.5908 GB, free: 15.49 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.491e-05/0.476, allocations: 17.19 kB / 0.5908 GB, free: 15.48 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.406e-06/0.4761, allocations: 5.781 kB / 0.5908 GB, free: 15.47 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.472e-06/0.4761, allocations: 0 / 0.5908 GB, free: 15.47 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.131e-06/0.4761, allocations: 2.578 kB / 0.5908 GB, free: 15.47 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003067/0.4764, allocations: 241.8 kB / 0.5911 GB, free: 15.25 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.994e-06/0.4764, allocations: 4.594 kB / 0.5911 GB, free: 15.24 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000226/0.4766, allocations: 50.05 kB / 0.5911 GB, free: 15.23 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.709e-06/0.4767, allocations: 1.766 kB / 0.5911 GB, free: 15.23 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.344e-05/0.4767, allocations: 0.875 kB / 0.5911 GB, free: 15.23 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.136e-06/0.4767, allocations: 1.266 kB / 0.5911 GB, free: 15.23 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.4767, allocations: 0 / 0.5911 GB, free: 15.23 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008483/0.4775, allocations: 376.8 kB / 0.5915 GB, free: 15.04 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.2e-05/0.4776, allocations: 89.27 kB / 0.5916 GB, free: 14.93 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.762e-05/0.4777, allocations: 5.844 kB / 0.5916 GB, free: 14.93 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001823/0.4778, allocations: 29.23 kB / 0.5916 GB, free: 14.93 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.595e-05/0.4779, allocations: 16.45 kB / 0.5916 GB, free: 14.92 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.111e-05/0.4779, allocations: 6.5 kB / 0.5916 GB, free: 14.92 MB / 446.1 MB Notification: Performance of sorting global known variables: time 9.431e-05/0.478, allocations: 118 kB / 0.5917 GB, free: 14.83 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.478, allocations: 0 / 0.5917 GB, free: 14.83 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002788/0.4783, allocations: 40.83 kB / 0.5918 GB, free: 14.82 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.0001358/0.4785, allocations: 98.5 kB / 0.5919 GB, free: 14.73 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0005879/0.4791, allocations: 177.3 kB / 0.592 GB, free: 14.7 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.4791, allocations: 0 / 0.592 GB, free: 14.7 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002569/0.4793, allocations: 90.62 kB / 0.5921 GB, free: 14.68 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003556/0.4797, allocations: 20.89 kB / 0.5921 GB, free: 14.66 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009446/0.4807, allocations: 0.5085 MB / 0.5926 GB, free: 14.3 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003447/0.481, allocations: 0.7185 MB / 0.5933 GB, free: 13.61 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.589e-05/0.4811, allocations: 15.45 kB / 0.5933 GB, free: 13.6 MB / 446.1 MB Notification: Performance of SimCode: time 3.71e-07/0.4811, allocations: 4 kB / 0.5934 GB, free: 13.59 MB / 446.1 MB Notification: Performance of Templates: time 0.004493/0.4856, allocations: 1.777 MB / 0.5951 GB, free: 13.46 MB / 446.1 MB make -j1 -f IDEAS_IDEAS.Controls.Discrete.Examples.HysteresisRelease_Heating.makefile make -j1 -f IDEAS_IDEAS.Controls.Discrete.Examples.HysteresisRelease_Heating.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_HeatingCalcHelperMain.o OMCppIDEAS_IDEAS.Controls.Discrete.Examples.HysteresisRelease_HeatingCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppIDEAS_IDEAS.Controls.Discrete.Examples.HysteresisRelease_HeatingCalcHelperMain.o] Error 1