Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Controls.Continuous.Examples.LimPIDWithReset.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.Continuous.Examples.LimPIDWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.Continuous.Examples.LimPIDWithReset") translateModel(IDEAS.Controls.Continuous.Examples.LimPIDWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.Continuous.Examples.LimPIDWithReset") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009707/0.000971, allocations: 91.77 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.001423/0.001423, allocations: 178.6 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.445/1.445, allocations: 223.3 MB / 241 MB, free: 5.285 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.788/0.788, allocations: 132.3 MB / 424.4 MB, free: 1.91 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003672/0.0003673, allocations: 8 kB / 0.5046 GB, free: 3.879 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.495/0.4954, allocations: 81.58 MB / 0.5843 GB, free: 4.016 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Continuous.Examples.LimPIDWithReset): time 0.003603/0.4991, allocations: 3.699 MB / 0.5879 GB, free: 1.305 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.00205/0.5011, allocations: 1.268 MB / 0.5891 GB, free: 396 kB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002946/0.5014, allocations: 24.28 kB / 0.5892 GB, free: 388 kB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002564/0.5017, allocations: 98.59 kB / 0.5892 GB, free: 324 kB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003019/0.502, allocations: 146.2 kB / 0.5894 GB, free: 216 kB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007907/0.5028, allocations: 387 kB / 0.5898 GB, free: 15.96 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009512/0.5038, allocations: 0.8694 MB / 0.5906 GB, free: 15.52 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006467/0.5044, allocations: 424.3 kB / 0.591 GB, free: 15.28 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003256/0.5048, allocations: 234.7 kB / 0.5912 GB, free: 15.17 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003357/0.5051, allocations: 256.6 kB / 0.5915 GB, free: 15.04 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 6.581e-05/0.5052, allocations: 23.22 kB / 0.5915 GB, free: 15.04 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.068e-05/0.5053, allocations: 23.53 kB / 0.5915 GB, free: 15.04 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001221/0.5054, allocations: 102.2 kB / 0.5916 GB, free: 14.98 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003173/0.5057, allocations: 330.4 kB / 0.5919 GB, free: 14.75 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009893/0.5067, allocations: 0.8044 MB / 0.5927 GB, free: 14.57 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.569e-06/0.5067, allocations: 0 / 0.5927 GB, free: 14.57 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.354e-06/0.5067, allocations: 0.8125 kB / 0.5927 GB, free: 14.57 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.282e-05/0.5068, allocations: 0 / 0.5927 GB, free: 14.57 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 146 * Number of variables: 146 Notification: Performance of Generate backend data structure: time 0.001738/0.5085, allocations: 0.9573 MB / 0.5937 GB, free: 13.88 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.214e-05/0.5086, allocations: 10.03 kB / 0.5937 GB, free: 13.88 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001538/0.5087, allocations: 86.41 kB / 0.5937 GB, free: 13.84 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008606/0.5096, allocations: 0.5512 MB / 0.5943 GB, free: 13.43 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.928e-05/0.5096, allocations: 53.69 kB / 0.5943 GB, free: 13.4 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001173/0.5098, allocations: 56.39 kB / 0.5944 GB, free: 13.39 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001237/0.511, allocations: 0.6082 MB / 0.595 GB, free: 13.09 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.113e-05/0.511, allocations: 5.281 kB / 0.595 GB, free: 13.09 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.074e-05/0.5111, allocations: 26.3 kB / 0.595 GB, free: 13.07 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.497e-05/0.5111, allocations: 14.34 kB / 0.595 GB, free: 13.07 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00109/0.5122, allocations: 467.5 kB / 0.5955 GB, free: 12.91 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003137/0.5154, allocations: 2.022 MB / 0.5974 GB, free: 11.66 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00096/0.5164, allocations: 465.2 kB / 0.5979 GB, free: 11.43 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004338/0.5168, allocations: 246.7 kB / 0.5981 GB, free: 11.31 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.771e-05/0.5169, allocations: 3.844 kB / 0.5981 GB, free: 11.31 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005585/0.5174, allocations: 267.8 kB / 0.5984 GB, free: 11.14 MB / 446.1 MB Notification: Performance of pre-optimization done (n=49): time 1.753e-06/0.5174, allocations: 4 kB / 0.5984 GB, free: 11.13 MB / 446.1 MB Notification: Performance of matching and sorting (n=49): time 0.001314/0.5188, allocations: 0.5941 MB / 0.599 GB, free: 10.84 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.666e-05/0.5188, allocations: 57.31 kB / 0.599 GB, free: 10.78 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005675/0.5194, allocations: 448 kB / 0.5995 GB, free: 10.5 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 4.145e-05/0.5194, allocations: 36.58 kB / 0.5995 GB, free: 10.46 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002208/0.5197, allocations: 320.4 kB / 0.5998 GB, free: 10.18 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001188/0.5198, allocations: 169.9 kB / 0.6 GB, free: 10.03 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.861e-05/0.5199, allocations: 50.78 kB / 0.6 GB, free: 9.992 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001612/0.52, allocations: 362.6 kB / 0.6004 GB, free: 9.641 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003896/0.5204, allocations: 177.6 kB / 0.6005 GB, free: 9.551 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004386/0.5209, allocations: 259 kB / 0.6008 GB, free: 9.379 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008427/0.5217, allocations: 457.6 kB / 0.6012 GB, free: 9.094 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.31e-06/0.5218, allocations: 5.172 kB / 0.6012 GB, free: 9.09 MB / 446.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001072/0.5228, allocations: 0.5724 MB / 0.6018 GB, free: 8.777 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.976e-05/0.5229, allocations: 39.7 kB / 0.6018 GB, free: 8.738 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.134e-05/0.5229, allocations: 6.312 kB / 0.6018 GB, free: 8.734 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.825e-05/0.5229, allocations: 9.5 kB / 0.6018 GB, free: 8.73 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004871/0.5234, allocations: 114.8 kB / 0.6019 GB, free: 8.703 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.111e-05/0.5234, allocations: 5.312 kB / 0.6019 GB, free: 8.703 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003694/0.5238, allocations: 74.55 kB / 0.602 GB, free: 8.656 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.719e-05/0.5239, allocations: 17.28 kB / 0.602 GB, free: 8.652 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 9 (TSet.count,$PRE.TSet.count,TSet.T_start,$PRE.TSet.T_start,conNoRes.trigger.y,conWitRes.trigger.y,$whenCondition1,$whenCondition2,conNoRes.conPID.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (65): * Single equations (assignments): 64 * Array equations: 0 * Algorithm blocks: 1 * 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.0002725/0.5241, allocations: 206.8 kB / 0.6022 GB, free: 8.477 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.664e-05/0.5242, allocations: 61.88 kB / 0.6023 GB, free: 8.441 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001321/0.5244, allocations: 63.42 kB / 0.6023 GB, free: 8.395 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.791e-06/0.5244, allocations: 4.188 kB / 0.6023 GB, free: 8.395 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.768e-06/0.5244, allocations: 4 kB / 0.6023 GB, free: 8.391 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.911e-06/0.5244, allocations: 1.219 kB / 0.6023 GB, free: 8.391 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001782/0.5262, allocations: 1.193 MB / 0.6035 GB, free: 7.52 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.268e-06/0.5262, allocations: 3.984 kB / 0.6035 GB, free: 7.516 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004468/0.5267, allocations: 94.55 kB / 0.6036 GB, free: 7.496 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.647e-06/0.5267, allocations: 1.938 kB / 0.6036 GB, free: 7.496 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.905e-05/0.5267, allocations: 7.188 kB / 0.6036 GB, free: 7.492 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.14e-06/0.5267, allocations: 5.984 kB / 0.6036 GB, free: 7.488 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.5267, allocations: 1.062 kB / 0.6036 GB, free: 7.488 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001366/0.5281, allocations: 0.7808 MB / 0.6044 GB, free: 7.031 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001769/0.5283, allocations: 174.8 kB / 0.6046 GB, free: 6.859 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.091e-05/0.5284, allocations: 11.88 kB / 0.6046 GB, free: 6.852 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002907/0.5286, allocations: 29.16 kB / 0.6046 GB, free: 6.84 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.309e-05/0.5288, allocations: 40.42 kB / 0.6046 GB, free: 6.816 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.569e-05/0.5288, allocations: 8.688 kB / 0.6046 GB, free: 6.816 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0003532/0.5291, allocations: 311.1 kB / 0.6049 GB, free: 6.625 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.91e-07/0.5292, allocations: 5.438 kB / 0.6049 GB, free: 6.621 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0004664/0.5296, allocations: 140.9 kB / 0.6051 GB, free: 6.582 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (plaWitRes.cap.T,plaWitRes.cap1.T,conWitRes.conPID.I.y,plaNoRes.cap.T,plaNoRes.cap1.T,conNoRes.conPID.I.y) * Number of discrete variables: 6 (conWitRes.trigger.y,$whenCondition2,$whenCondition1,conNoRes.trigger.y,TSet.T_start,TSet.count) * Number of discrete states: 1 (TSet.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (49): * Single equations (assignments): 47 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0001344/0.5298, allocations: 112.8 kB / 0.6052 GB, free: 6.484 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0009205/0.5307, allocations: 498.2 kB / 0.6057 GB, free: 6.227 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.5307, allocations: 1.594 kB / 0.6057 GB, free: 6.227 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004195/0.5311, allocations: 215.2 kB / 0.6059 GB, free: 6.141 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007929/0.5319, allocations: 155.8 kB / 0.606 GB, free: 6.059 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002901/0.5348, allocations: 1.729 MB / 0.6077 GB, free: 4.789 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005576/0.5354, allocations: 0.8938 MB / 0.6086 GB, free: 3.996 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001578/0.5356, allocations: 45.53 kB / 0.6086 GB, free: 3.988 MB / 446.1 MB Notification: Performance of SimCode: time 5.01e-07/0.5356, allocations: 0 / 0.6086 GB, free: 3.988 MB / 446.1 MB Notification: Performance of Templates: time 0.01311/0.5487, allocations: 7.481 MB / 0.6159 GB, free: 15.51 MB / 462.1 MB make -j1 -f IDEAS_IDEAS.Controls.Continuous.Examples.LimPIDWithReset.makefile make -j1 -f IDEAS_IDEAS.Controls.Continuous.Examples.LimPIDWithReset.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.Continuous.Examples.LimPIDWithResetCalcHelperMain.o OMCppIDEAS_IDEAS.Controls.Continuous.Examples.LimPIDWithResetCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppIDEAS_IDEAS.Controls.Continuous.Examples.LimPIDWithResetCalcHelperMain.o] Error 1