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.001149/0.001149, allocations: 102.6 kB / 15.71 MB, free: 460 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.001608/0.001608, allocations: 173.8 kB / 16.58 MB, free: 6.398 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.468/1.468, allocations: 223.2 MB / 240.6 MB, free: 5.434 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7547/0.7547, allocations: 132.3 MB / 424 MB, free: 2.113 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003378/0.0003379, allocations: 12 kB / 0.504 GB, free: 4.266 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5119/0.5123, allocations: 81.58 MB / 0.5837 GB, free: 4.23 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Continuous.Examples.LimPIDWithReset): time 0.004031/0.5164, allocations: 3.499 MB / 0.5871 GB, free: 1.699 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.002716/0.5191, allocations: 1.253 MB / 0.5883 GB, free: 0.7891 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004368/0.5196, allocations: 26.41 kB / 0.5883 GB, free: 0.7812 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003019/0.5199, allocations: 85.97 kB / 0.5884 GB, free: 0.7305 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003193/0.5202, allocations: 134.4 kB / 0.5885 GB, free: 0.6367 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008603/0.5211, allocations: 281.8 kB / 0.5888 GB, free: 0.4922 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.00095/0.5221, allocations: 0.8289 MB / 0.5896 GB, free: 60 kB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006544/0.5227, allocations: 300.2 kB / 0.5899 GB, free: 15.91 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003758/0.5231, allocations: 231.6 kB / 0.5901 GB, free: 15.81 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003886/0.5235, allocations: 238.8 kB / 0.5904 GB, free: 15.69 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 7.693e-05/0.5236, allocations: 27.94 kB / 0.5904 GB, free: 15.69 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.214e-05/0.5237, allocations: 27.09 kB / 0.5904 GB, free: 15.68 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001192/0.5238, allocations: 94.73 kB / 0.5905 GB, free: 15.63 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000173/0.524, allocations: 152.7 kB / 0.5906 GB, free: 15.52 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001146/0.5251, allocations: 0.8049 MB / 0.5914 GB, free: 15.34 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.034e-06/0.5252, allocations: 1 kB / 0.5914 GB, free: 15.34 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.023e-06/0.5252, allocations: 0 / 0.5914 GB, free: 15.34 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.751e-05/0.5252, allocations: 0 / 0.5914 GB, free: 15.34 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.001898/0.5271, allocations: 0.9648 MB / 0.5924 GB, free: 14.66 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.996e-05/0.5272, allocations: 9.453 kB / 0.5924 GB, free: 14.66 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002007/0.5274, allocations: 85.06 kB / 0.5925 GB, free: 14.61 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000934/0.5283, allocations: 0.5385 MB / 0.593 GB, free: 14.22 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.951e-05/0.5284, allocations: 46.31 kB / 0.593 GB, free: 14.2 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001185/0.5285, allocations: 54.61 kB / 0.5931 GB, free: 14.18 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001431/0.53, allocations: 0.6041 MB / 0.5937 GB, free: 13.89 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.37e-05/0.53, allocations: 2.266 kB / 0.5937 GB, free: 13.89 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.169e-05/0.5301, allocations: 29.03 kB / 0.5937 GB, free: 13.87 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.577e-05/0.5301, allocations: 19.72 kB / 0.5937 GB, free: 13.86 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00112/0.5312, allocations: 462.6 kB / 0.5942 GB, free: 13.7 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00357/0.5348, allocations: 2.026 MB / 0.5961 GB, free: 12.45 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009971/0.5358, allocations: 461.2 kB / 0.5966 GB, free: 12.25 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000449/0.5363, allocations: 239.4 kB / 0.5968 GB, free: 12.13 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.999e-05/0.5363, allocations: 5.406 kB / 0.5968 GB, free: 12.13 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000607/0.5369, allocations: 273.3 kB / 0.5971 GB, free: 11.95 MB / 446.1 MB Notification: Performance of pre-optimization done (n=49): time 2.274e-06/0.5369, allocations: 1 kB / 0.5971 GB, free: 11.95 MB / 446.1 MB Notification: Performance of matching and sorting (n=49): time 0.001335/0.5383, allocations: 0.5918 MB / 0.5977 GB, free: 11.65 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.34e-05/0.5384, allocations: 60.2 kB / 0.5977 GB, free: 11.59 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005596/0.5389, allocations: 435.7 kB / 0.5981 GB, free: 11.32 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 4.651e-05/0.539, allocations: 36.89 kB / 0.5982 GB, free: 11.28 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000263/0.5393, allocations: 325.5 kB / 0.5985 GB, free: 10.99 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001571/0.5394, allocations: 169.5 kB / 0.5986 GB, free: 10.84 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.591e-05/0.5395, allocations: 9.5 kB / 0.5986 GB, free: 10.84 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001682/0.5396, allocations: 370.9 kB / 0.599 GB, free: 10.48 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003838/0.54, allocations: 172.2 kB / 0.5992 GB, free: 10.39 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004386/0.5405, allocations: 256 kB / 0.5994 GB, free: 10.22 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004243/0.5409, allocations: 221.1 kB / 0.5996 GB, free: 10.09 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.767e-06/0.5409, allocations: 1.438 kB / 0.5996 GB, free: 10.09 MB / 446.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.00107/0.542, allocations: 0.568 MB / 0.6002 GB, free: 9.785 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.367e-05/0.5421, allocations: 36.41 kB / 0.6002 GB, free: 9.75 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.125e-06/0.5421, allocations: 1.438 kB / 0.6002 GB, free: 9.75 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.776e-05/0.5421, allocations: 4.625 kB / 0.6002 GB, free: 9.75 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004875/0.5426, allocations: 117.4 kB / 0.6003 GB, free: 9.723 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.451e-05/0.5426, allocations: 12 kB / 0.6003 GB, free: 9.715 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003825/0.543, allocations: 66.62 kB / 0.6004 GB, free: 9.676 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.098e-05/0.5431, allocations: 22.48 kB / 0.6004 GB, free: 9.668 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 ($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.0003279/0.5434, allocations: 210.2 kB / 0.6006 GB, free: 9.488 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.1e-05/0.5435, allocations: 57.59 kB / 0.6007 GB, free: 9.457 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001432/0.5436, allocations: 66.69 kB / 0.6007 GB, free: 9.406 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.814e-06/0.5436, allocations: 5.688 kB / 0.6007 GB, free: 9.406 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.233e-05/0.5437, allocations: 0 / 0.6007 GB, free: 9.406 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.512e-06/0.5437, allocations: 0 / 0.6007 GB, free: 9.406 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001877/0.5456, allocations: 1.187 MB / 0.6019 GB, free: 8.543 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.208e-06/0.5456, allocations: 1.312 kB / 0.6019 GB, free: 8.543 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000456/0.546, allocations: 102.3 kB / 0.602 GB, free: 8.516 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.338e-06/0.5461, allocations: 1.312 kB / 0.602 GB, free: 8.516 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.249e-05/0.5461, allocations: 10.88 kB / 0.602 GB, free: 8.508 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.077e-06/0.5461, allocations: 6.781 kB / 0.602 GB, free: 8.504 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.5461, allocations: 0 / 0.602 GB, free: 8.504 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001349/0.5475, allocations: 0.7731 MB / 0.6028 GB, free: 8.047 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001882/0.5477, allocations: 174.9 kB / 0.6029 GB, free: 7.875 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.596e-05/0.5477, allocations: 15.27 kB / 0.603 GB, free: 7.863 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002787/0.548, allocations: 33.28 kB / 0.603 GB, free: 7.848 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001/0.5481, allocations: 37.23 kB / 0.603 GB, free: 7.828 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.966e-05/0.5482, allocations: 13.33 kB / 0.603 GB, free: 7.824 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0003934/0.5486, allocations: 303.1 kB / 0.6033 GB, free: 7.637 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.5486, allocations: 0 / 0.6033 GB, free: 7.637 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0005176/0.5491, allocations: 145.1 kB / 0.6035 GB, free: 7.594 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 (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.0001386/0.5492, allocations: 110.7 kB / 0.6036 GB, free: 7.496 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0009327/0.5502, allocations: 494.3 kB / 0.604 GB, free: 7.242 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.375e-06/0.5502, allocations: 4.438 kB / 0.604 GB, free: 7.238 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004244/0.5506, allocations: 221.9 kB / 0.6043 GB, free: 7.141 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007645/0.5514, allocations: 147.9 kB / 0.6044 GB, free: 7.062 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002973/0.5544, allocations: 1.649 MB / 0.606 GB, free: 5.875 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005538/0.555, allocations: 0.9005 MB / 0.6069 GB, free: 5.078 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001553/0.5551, allocations: 42.56 kB / 0.6069 GB, free: 5.07 MB / 446.1 MB Notification: Performance of SimCode: time 5.61e-07/0.5551, allocations: 0 / 0.6069 GB, free: 5.07 MB / 446.1 MB Notification: Performance of Templates: time 0.01337/0.5685, allocations: 7.487 MB / 0.6142 GB, free: 0.9336 MB / 446.1 MB make -j1 -f IDEAS_IDEAS.Controls.Continuous.Examples.LimPIDWithReset.makefile make -j1 -f IDEAS_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_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