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.001067/0.001067, 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.001033/0.001033, allocations: 194.3 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.33/1.33, allocations: 222.9 MB / 240.4 MB, free: 4.516 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7105/0.7105, allocations: 132.2 MB / 422.8 MB, free: 2.012 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001052/0.001052, allocations: 54.34 kB / 0.5017 GB, free: 4.371 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4715/0.4725, allocations: 80.21 MB / 0.58 GB, free: 4.543 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Discrete.Examples.HysteresisRelease_Heating): time 0.003136/0.4757, allocations: 2.081 MB / 0.5821 GB, free: 3.094 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007694/0.4765, allocations: 0.5236 MB / 0.5826 GB, free: 2.719 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.6e-05/0.4766, allocations: 1.781 kB / 0.5826 GB, free: 2.719 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001386/0.4768, allocations: 18.95 kB / 0.5826 GB, free: 2.707 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 9.751e-05/0.4769, allocations: 38.33 kB / 0.5826 GB, free: 2.68 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002018/0.4771, allocations: 43.56 kB / 0.5827 GB, free: 2.656 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.000227/0.4773, allocations: 177.5 kB / 0.5828 GB, free: 2.57 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001676/0.4775, allocations: 60.91 kB / 0.5829 GB, free: 2.535 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001399/0.4776, allocations: 79.12 kB / 0.583 GB, free: 2.496 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001278/0.4778, allocations: 72.5 kB / 0.583 GB, free: 2.465 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 3.037e-05/0.4778, allocations: 10.16 kB / 0.583 GB, free: 2.465 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.143e-05/0.4779, allocations: 9.031 kB / 0.5831 GB, free: 2.465 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 4.273e-05/0.4779, allocations: 31.69 kB / 0.5831 GB, free: 2.445 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 8.658e-05/0.478, allocations: 79.52 kB / 0.5832 GB, free: 2.398 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001719/0.4782, allocations: 117.4 kB / 0.5833 GB, free: 2.363 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.06e-06/0.4782, allocations: 4 kB / 0.5833 GB, free: 2.359 MB / 430.1 MB Notification: Performance of FrontEnd: time 8.52e-07/0.4782, allocations: 0 / 0.5833 GB, free: 2.359 MB / 430.1 MB Notification: Performance of Transformations before backend: time 5.029e-06/0.4782, allocations: 1.25 kB / 0.5833 GB, free: 2.359 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.0007472/0.4789, allocations: 497.5 kB / 0.5838 GB, free: 1.926 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.817e-05/0.479, allocations: 10.66 kB / 0.5838 GB, free: 1.926 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.423e-05/0.4791, allocations: 21.53 kB / 0.5838 GB, free: 1.914 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001792/0.4792, allocations: 211.4 kB / 0.584 GB, free: 1.691 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.983e-05/0.4793, allocations: 40.91 kB / 0.584 GB, free: 1.652 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.608e-05/0.4794, allocations: 17.06 kB / 0.584 GB, free: 1.645 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004084/0.4798, allocations: 158.3 kB / 0.5842 GB, free: 1.574 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.427e-05/0.4798, allocations: 7.922 kB / 0.5842 GB, free: 1.566 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.862e-05/0.4798, allocations: 4.938 kB / 0.5842 GB, free: 1.562 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.844e-06/0.4798, allocations: 4.062 kB / 0.5842 GB, free: 1.562 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005004/0.4803, allocations: 148.1 kB / 0.5843 GB, free: 1.527 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007548/0.4811, allocations: 0.5234 MB / 0.5849 GB, free: 1.102 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004457/0.4816, allocations: 139.7 kB / 0.585 GB, free: 1.039 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002315/0.4818, allocations: 83.62 kB / 0.5851 GB, free: 1.008 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.905e-05/0.4818, allocations: 1 kB / 0.5851 GB, free: 1.008 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.618e-05/0.4818, allocations: 33.02 kB / 0.5851 GB, free: 0.9688 MB / 430.1 MB Notification: Performance of pre-optimization done (n=12): time 1.192e-06/0.4819, allocations: 0 / 0.5851 GB, free: 0.9688 MB / 430.1 MB Notification: Performance of matching and sorting (n=12): time 0.0007236/0.4826, allocations: 229.2 kB / 0.5853 GB, free: 0.8867 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.259e-05/0.4826, allocations: 52.16 kB / 0.5854 GB, free: 0.8242 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001166/0.4827, allocations: 155.8 kB / 0.5855 GB, free: 0.7031 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.421e-05/0.4828, allocations: 26.86 kB / 0.5855 GB, free: 0.6719 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.365e-05/0.4828, allocations: 130.5 kB / 0.5857 GB, free: 0.5508 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.541e-05/0.4829, allocations: 44.41 kB / 0.5857 GB, free: 0.5156 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.351e-05/0.4829, allocations: 37.28 kB / 0.5858 GB, free: 496 kB / 430.1 MB Notification: Performance of setup shared object (initialization): time 5.589e-05/0.483, allocations: 321.4 kB / 0.5861 GB, free: 172 kB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002064/0.4832, allocations: 58.2 kB / 0.5861 GB, free: 160 kB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002127/0.4834, allocations: 84.25 kB / 0.5862 GB, free: 120 kB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000389/0.4838, allocations: 140.2 kB / 0.5863 GB, free: 60 kB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.846e-06/0.4838, allocations: 3.938 kB / 0.5863 GB, free: 56 kB / 430.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0005106/0.4843, allocations: 188.5 kB / 0.5865 GB, free: 15.98 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.863e-05/0.4844, allocations: 5.125 kB / 0.5865 GB, free: 15.98 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.761e-06/0.4844, allocations: 5.609 kB / 0.5865 GB, free: 15.98 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.358e-05/0.4844, allocations: 1.75 kB / 0.5865 GB, free: 15.98 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002114/0.4846, allocations: 39.81 kB / 0.5866 GB, free: 15.97 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.023e-06/0.4846, allocations: 1.5 kB / 0.5866 GB, free: 15.97 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001615/0.4848, allocations: 37.39 kB / 0.5866 GB, free: 15.96 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.239e-05/0.4848, allocations: 3.625 kB / 0.5866 GB, free: 15.96 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.0001018/0.4849, allocations: 125.2 kB / 0.5867 GB, free: 15.83 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.92e-05/0.485, allocations: 15 kB / 0.5867 GB, free: 15.82 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.61e-05/0.485, allocations: 21.38 kB / 0.5868 GB, free: 15.8 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.767e-06/0.485, allocations: 1.75 kB / 0.5868 GB, free: 15.8 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.42e-06/0.4851, allocations: 4.656 kB / 0.5868 GB, free: 15.8 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.319e-06/0.4851, allocations: 1.219 kB / 0.5868 GB, free: 15.8 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002779/0.4853, allocations: 242.2 kB / 0.587 GB, free: 15.57 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.507e-06/0.4854, allocations: 5.156 kB / 0.587 GB, free: 15.57 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000198/0.4856, allocations: 36.95 kB / 0.587 GB, free: 15.57 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.246e-06/0.4856, allocations: 1.156 kB / 0.587 GB, free: 15.57 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.645e-05/0.4856, allocations: 4.797 kB / 0.587 GB, free: 15.56 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.4856, allocations: 1.031 kB / 0.587 GB, free: 15.56 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.4856, allocations: 1.188 kB / 0.587 GB, free: 15.56 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007523/0.4864, allocations: 336.4 kB / 0.5874 GB, free: 15.37 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.003e-05/0.4864, allocations: 85.67 kB / 0.5874 GB, free: 15.27 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.549e-05/0.4865, allocations: 2.062 kB / 0.5874 GB, free: 15.27 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001722/0.4867, allocations: 25.64 kB / 0.5875 GB, free: 15.27 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.51e-05/0.4867, allocations: 12.55 kB / 0.5875 GB, free: 15.27 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.246e-05/0.4867, allocations: 10.12 kB / 0.5875 GB, free: 15.26 MB / 446.1 MB Notification: Performance of sorting global known variables: time 8.971e-05/0.4868, allocations: 115 kB / 0.5876 GB, free: 15.18 MB / 446.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.4868, allocations: 0 / 0.5876 GB, free: 15.18 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002658/0.4871, allocations: 40.06 kB / 0.5876 GB, free: 15.16 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.0001151/0.4872, allocations: 103 kB / 0.5877 GB, free: 15.07 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0005083/0.4878, allocations: 142.9 kB / 0.5879 GB, free: 15.04 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.4878, allocations: 0 / 0.5879 GB, free: 15.04 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002214/0.488, allocations: 70.98 kB / 0.5879 GB, free: 15.03 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000367/0.4884, allocations: 28.28 kB / 0.588 GB, free: 15.01 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008311/0.4892, allocations: 478.5 kB / 0.5884 GB, free: 14.65 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003064/0.4895, allocations: 0.715 MB / 0.5891 GB, free: 13.96 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.22e-05/0.4896, allocations: 14.77 kB / 0.5891 GB, free: 13.95 MB / 446.1 MB Notification: Performance of SimCode: time 2.41e-07/0.4896, allocations: 0 / 0.5891 GB, free: 13.95 MB / 446.1 MB Notification: Performance of Templates: time 0.004238/0.4938, allocations: 1.804 MB / 0.5909 GB, free: 13.79 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