Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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_dev_IDEAS.Controls.Continuous.Examples.LimPIDWithReset") translateModel(IDEAS.Controls.Continuous.Examples.LimPIDWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_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.000798/0.0007982, allocations: 99.83 kB / 15.71 MB, free: 452 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.0008505/0.0008508, allocations: 177.6 kB / 16.58 MB, free: 6.422 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.282/1.282, allocations: 223.3 MB / 240.6 MB, free: 5.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9333/0.9333, allocations: 135.3 MB / 427 MB, free: 14.28 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003109/0.0003109, allocations: 8 kB / 0.5076 GB, free: 5.293 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.151/0.1513, allocations: 82.3 MB / 0.588 GB, free: 3.16 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Continuous.Examples.LimPIDWithReset): time 0.003503/0.1549, allocations: 3.501 MB / 0.5914 GB, free: 15.64 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001862/0.1568, allocations: 1.243 MB / 0.5926 GB, free: 14.39 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002597/0.1571, allocations: 19.94 kB / 0.5926 GB, free: 14.37 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0002227/0.1573, allocations: 87.22 kB / 0.5927 GB, free: 14.28 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0002441/0.1575, allocations: 142.8 kB / 0.5928 GB, free: 14.14 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.000655/0.1582, allocations: 282.2 kB / 0.5931 GB, free: 13.87 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0006536/0.1589, allocations: 0.8344 MB / 0.5939 GB, free: 13.03 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004063/0.1593, allocations: 307.5 kB / 0.5942 GB, free: 12.72 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002139/0.1595, allocations: 218.8 kB / 0.5944 GB, free: 12.5 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002378/0.1597, allocations: 242.6 kB / 0.5947 GB, free: 12.27 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 5.379e-05/0.1598, allocations: 24 kB / 0.5947 GB, free: 12.24 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 5.674e-05/0.1599, allocations: 24 kB / 0.5947 GB, free: 12.22 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 8.02e-05/0.16, allocations: 99.47 kB / 0.5948 GB, free: 12.12 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001079/0.1601, allocations: 157.3 kB / 0.595 GB, free: 11.96 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0005769/0.1607, allocations: 0.7988 MB / 0.5957 GB, free: 11.16 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.1607, allocations: 0 / 0.5957 GB, free: 11.16 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.052e-06/0.1607, allocations: 0 / 0.5957 GB, free: 11.16 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 7.724e-06/0.1607, allocations: 3.938 kB / 0.5957 GB, free: 11.16 MB / 0.4981 GB 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.001376/0.1621, allocations: 0.9639 MB / 0.5967 GB, free: 10.13 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.76e-05/0.1621, allocations: 16.02 kB / 0.5967 GB, free: 10.12 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001192/0.1622, allocations: 86.97 kB / 0.5968 GB, free: 10.03 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00068/0.1629, allocations: 0.5252 MB / 0.5973 GB, free: 9.469 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.911e-05/0.163, allocations: 45.31 kB / 0.5973 GB, free: 9.426 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.153e-05/0.1631, allocations: 60 kB / 0.5974 GB, free: 9.367 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009718/0.164, allocations: 0.6075 MB / 0.598 GB, free: 8.734 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.763e-05/0.1641, allocations: 0 / 0.598 GB, free: 8.734 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.095e-05/0.1641, allocations: 24 kB / 0.598 GB, free: 8.711 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.598e-05/0.1642, allocations: 16 kB / 0.598 GB, free: 8.695 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008548/0.165, allocations: 465 kB / 0.5985 GB, free: 8.242 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002522/0.1675, allocations: 2.024 MB / 0.6004 GB, free: 6.148 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008016/0.1684, allocations: 462.4 kB / 0.6009 GB, free: 5.691 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003836/0.1688, allocations: 242.1 kB / 0.6011 GB, free: 5.453 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.455e-05/0.1688, allocations: 4.438 kB / 0.6011 GB, free: 5.449 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005063/0.1693, allocations: 265.3 kB / 0.6014 GB, free: 5.176 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=49): time 2.285e-06/0.1693, allocations: 7.875 kB / 0.6014 GB, free: 5.168 MB / 0.4981 GB Notification: Performance of matching and sorting (n=49): time 0.001125/0.1704, allocations: 0.5961 MB / 0.602 GB, free: 4.566 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.031e-05/0.1705, allocations: 59.84 kB / 0.602 GB, free: 4.496 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004237/0.1709, allocations: 442.7 kB / 0.6024 GB, free: 4.055 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 3.386e-05/0.171, allocations: 37.7 kB / 0.6025 GB, free: 4.012 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001926/0.1712, allocations: 320.3 kB / 0.6028 GB, free: 3.691 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001106/0.1713, allocations: 173.5 kB / 0.6029 GB, free: 3.52 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.223e-05/0.1713, allocations: 8 kB / 0.603 GB, free: 3.512 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001232/0.1714, allocations: 366.8 kB / 0.6033 GB, free: 3.145 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003314/0.1718, allocations: 173 kB / 0.6035 GB, free: 2.973 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003663/0.1722, allocations: 253.8 kB / 0.6037 GB, free: 2.703 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003716/0.1725, allocations: 223.9 kB / 0.6039 GB, free: 2.48 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.484e-06/0.1726, allocations: 0 / 0.6039 GB, free: 2.48 MB / 0.4981 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.0008801/0.1734, allocations: 0.5702 MB / 0.6045 GB, free: 1.895 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 3.412e-05/0.1735, allocations: 33.7 kB / 0.6045 GB, free: 1.855 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.577e-06/0.1735, allocations: 4 kB / 0.6045 GB, free: 1.852 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.498e-05/0.1735, allocations: 7.953 kB / 0.6045 GB, free: 1.844 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000454/0.174, allocations: 119.8 kB / 0.6046 GB, free: 1.727 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.668e-06/0.174, allocations: 4 kB / 0.6046 GB, free: 1.723 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003013/0.1743, allocations: 67.81 kB / 0.6047 GB, free: 1.656 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.482e-05/0.1743, allocations: 16 kB / 0.6047 GB, free: 1.641 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition2,$whenCondition1,conWitRes.trigger.y,conNoRes.trigger.y,$PRE.TSet.T_start,TSet.T_start,$PRE.TSet.count,TSet.count,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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002328/0.1746, allocations: 219.5 kB / 0.6049 GB, free: 1.418 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.959e-05/0.1746, allocations: 51.34 kB / 0.605 GB, free: 1.367 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001182/0.1748, allocations: 65.53 kB / 0.605 GB, free: 1.305 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.713e-06/0.1748, allocations: 8 kB / 0.605 GB, free: 1.297 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.376e-06/0.1748, allocations: 3.953 kB / 0.6051 GB, free: 1.293 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.723e-06/0.1748, allocations: 3.984 kB / 0.6051 GB, free: 1.289 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001485/0.1763, allocations: 1.185 MB / 0.6062 GB, free: 48 kB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/0.1763, allocations: 4 kB / 0.6062 GB, free: 44 kB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.2943/0.4706, allocations: 91.89 kB / 0.6063 GB, free: 48.73 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.528e-05/0.4707, allocations: 2.047 kB / 0.6063 GB, free: 48.73 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.926e-05/0.4707, allocations: 13.73 kB / 0.6063 GB, free: 48.73 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.71e-06/0.4708, allocations: 2.297 kB / 0.6063 GB, free: 48.73 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.204e-06/0.4708, allocations: 2.031 kB / 0.6063 GB, free: 48.73 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001299/0.4721, allocations: 0.7738 MB / 0.6071 GB, free: 48.6 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001765/0.4723, allocations: 170.7 kB / 0.6072 GB, free: 48.5 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.694e-05/0.4723, allocations: 14.31 kB / 0.6073 GB, free: 48.5 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002616/0.4726, allocations: 32.94 kB / 0.6073 GB, free: 48.5 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.493e-05/0.4727, allocations: 39.86 kB / 0.6073 GB, free: 48.5 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.493e-05/0.4727, allocations: 11.75 kB / 0.6073 GB, free: 48.5 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0003101/0.473, allocations: 308.3 kB / 0.6076 GB, free: 48.42 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.01e-07/0.473, allocations: 0 / 0.6076 GB, free: 48.42 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0004443/0.4735, allocations: 144.9 kB / 0.6078 GB, free: 48.42 MB / 0.4981 GB 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001268/0.4736, allocations: 114.8 kB / 0.6079 GB, free: 48.33 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0008033/0.4744, allocations: 491.7 kB / 0.6083 GB, free: 48.26 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.4745, allocations: 1.688 kB / 0.6084 GB, free: 48.26 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0003432/0.4748, allocations: 219.4 kB / 0.6086 GB, free: 48.26 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006652/0.4755, allocations: 147.7 kB / 0.6087 GB, free: 48.26 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002221/0.4777, allocations: 1.651 MB / 0.6103 GB, free: 47.41 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002551/0.478, allocations: 0.8907 MB / 0.6112 GB, free: 46.7 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001242/0.4781, allocations: 41.53 kB / 0.6112 GB, free: 46.7 MB / 0.4981 GB Notification: Performance of SimCode: time 2.4e-07/0.4781, allocations: 0 / 0.6112 GB, free: 46.7 MB / 0.4981 GB Notification: Performance of Templates: time 0.008387/0.4865, allocations: 7.496 MB / 0.6185 GB, free: 46.11 MB / 0.4981 GB make -j1 -f IDEAS_dev_IDEAS.Controls.Continuous.Examples.LimPIDWithReset.makefile make -j1 -f IDEAS_dev_IDEAS.Controls.Continuous.Examples.LimPIDWithReset.makefile clang++ NOTFOUND -Winvalid-pch -O0 -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/c/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppIDEAS_dev_IDEAS.Controls.Continuous.Examples.LimPIDWithResetCalcHelperMain.o OMCppIDEAS_dev_IDEAS.Controls.Continuous.Examples.LimPIDWithResetCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppIDEAS_dev_IDEAS.Controls.Continuous.Examples.LimPIDWithResetCalcHelperMain.o] Error 1