Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.Continuous.Examples.LimPID.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.LimPID,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.Continuous.Examples.LimPID") translateModel(IDEAS.Controls.Continuous.Examples.LimPID,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.Continuous.Examples.LimPID") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000743/0.0007431, allocations: 102.7 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.001008/0.001008, allocations: 173.8 kB / 16.58 MB, free: 6.402 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.263/1.263, allocations: 223.3 MB / 240.6 MB, free: 5.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9046/0.9046, allocations: 135.3 MB / 427 MB, free: 14.25 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003089/0.0003089, allocations: 8.625 kB / 0.5076 GB, free: 5.16 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1642/0.1646, allocations: 82.32 MB / 0.588 GB, free: 3.02 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Continuous.Examples.LimPID): time 0.003739/0.1683, allocations: 3.115 MB / 0.591 GB, free: 15.88 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.002345/0.1707, allocations: 1.255 MB / 0.5923 GB, free: 14.62 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003434/0.1711, allocations: 23.88 kB / 0.5923 GB, free: 14.6 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0002597/0.1714, allocations: 91.11 kB / 0.5924 GB, free: 14.51 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0004021/0.1718, allocations: 131.1 kB / 0.5925 GB, free: 14.38 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009819/0.1728, allocations: 466.4 kB / 0.5929 GB, free: 13.94 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.000776/0.1735, allocations: 0.82 MB / 0.5937 GB, free: 13.11 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003888/0.1739, allocations: 255.1 kB / 0.594 GB, free: 12.85 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003113/0.1743, allocations: 274.5 kB / 0.5942 GB, free: 12.58 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002787/0.1745, allocations: 266.3 kB / 0.5945 GB, free: 12.32 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 5.916e-05/0.1746, allocations: 20 kB / 0.5945 GB, free: 12.3 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 5.377e-05/0.1747, allocations: 20 kB / 0.5945 GB, free: 12.28 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001064/0.1748, allocations: 107.4 kB / 0.5946 GB, free: 12.18 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001215/0.1749, allocations: 149.1 kB / 0.5948 GB, free: 12.02 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0004938/0.1754, allocations: 0.6159 MB / 0.5954 GB, free: 11.41 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.1754, allocations: 0 / 0.5954 GB, free: 11.41 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.553e-06/0.1754, allocations: 0 / 0.5954 GB, free: 11.41 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 8.316e-06/0.1755, allocations: 4 kB / 0.5954 GB, free: 11.4 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: 126 * Number of variables: 126 Notification: Performance of Generate backend data structure: time 0.001685/0.1771, allocations: 1.063 MB / 0.5964 GB, free: 10.28 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.468e-05/0.1772, allocations: 11.97 kB / 0.5964 GB, free: 10.27 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001403/0.1773, allocations: 90.88 kB / 0.5965 GB, free: 10.18 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000824/0.1782, allocations: 0.5746 MB / 0.5971 GB, free: 9.562 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001111/0.1783, allocations: 100.4 kB / 0.5972 GB, free: 9.453 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.147e-05/0.1784, allocations: 55.91 kB / 0.5972 GB, free: 9.398 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009978/0.1794, allocations: 0.6118 MB / 0.5978 GB, free: 8.75 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.289e-05/0.1794, allocations: 4 kB / 0.5978 GB, free: 8.746 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.857e-05/0.1794, allocations: 20 kB / 0.5978 GB, free: 8.727 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.304e-05/0.1795, allocations: 12 kB / 0.5979 GB, free: 8.715 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008721/0.1803, allocations: 443.6 kB / 0.5983 GB, free: 8.277 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002547/0.1829, allocations: 2.129 MB / 0.6004 GB, free: 6.066 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001084/0.184, allocations: 0.5154 MB / 0.6009 GB, free: 5.539 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004193/0.1844, allocations: 224.8 kB / 0.6011 GB, free: 5.316 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.723e-05/0.1845, allocations: 4 kB / 0.6011 GB, free: 5.312 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006177/0.1851, allocations: 298.1 kB / 0.6014 GB, free: 5.008 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=45): time 2.555e-06/0.1851, allocations: 0 / 0.6014 GB, free: 5.008 MB / 0.4981 GB Notification: Performance of matching and sorting (n=45): time 0.001324/0.1864, allocations: 0.6306 MB / 0.602 GB, free: 4.371 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.337e-05/0.1865, allocations: 88.86 kB / 0.6021 GB, free: 4.266 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006592/0.1872, allocations: 0.61 MB / 0.6027 GB, free: 3.645 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 4.544e-05/0.1872, allocations: 38.8 kB / 0.6027 GB, free: 3.602 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002635/0.1875, allocations: 352.8 kB / 0.603 GB, free: 3.25 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001181/0.1876, allocations: 161.7 kB / 0.6032 GB, free: 3.09 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.365e-05/0.1876, allocations: 8 kB / 0.6032 GB, free: 3.082 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001408/0.1878, allocations: 333.9 kB / 0.6035 GB, free: 2.75 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003936/0.1882, allocations: 185 kB / 0.6037 GB, free: 2.566 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004632/0.1887, allocations: 280.2 kB / 0.604 GB, free: 2.262 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000447/0.1891, allocations: 242.4 kB / 0.6042 GB, free: 2.02 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.306e-06/0.1891, allocations: 4 kB / 0.6042 GB, free: 2.016 MB / 0.4981 GB Notification: Performance of matching and sorting (n=64) (initialization): time 0.00107/0.1902, allocations: 0.6139 MB / 0.6048 GB, free: 1.391 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001251/0.1903, allocations: 189.2 kB / 0.605 GB, free: 1.164 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.057e-06/0.1904, allocations: 7.984 kB / 0.605 GB, free: 1.156 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.864e-05/0.1904, allocations: 8 kB / 0.605 GB, free: 1.148 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000427/0.1908, allocations: 107.9 kB / 0.6051 GB, free: 1.043 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.235e-05/0.1908, allocations: 11.88 kB / 0.6051 GB, free: 1.031 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003403/0.1912, allocations: 75.45 kB / 0.6052 GB, free: 0.957 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.298e-05/0.1912, allocations: 16 kB / 0.6052 GB, free: 0.9414 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 6.512e-06/0.1912, allocations: 4 kB / 0.6052 GB, free: 0.9375 MB / 0.4981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008921/0.1921, allocations: 0.5038 MB / 0.6057 GB, free: 436 kB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.457e-06/0.1921, allocations: 0 / 0.6057 GB, free: 436 kB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.683e-06/0.1922, allocations: 8 kB / 0.6057 GB, free: 428 kB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003849/0.1925, allocations: 99.89 kB / 0.6058 GB, free: 328 kB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.695e-06/0.1926, allocations: 7.938 kB / 0.6058 GB, free: 320 kB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002939/0.1929, allocations: 63.75 kB / 0.6059 GB, free: 256 kB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.095e-05/0.1929, allocations: 20 kB / 0.6059 GB, free: 236 kB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count,limPIDOri.I.local_reset,limPIDRev.I.trigger_internal,limPID.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (63): * Single equations (assignments): 62 * 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.3265/0.5194, allocations: 265.9 kB / 0.6061 GB, free: 48.28 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000191/0.5196, allocations: 73.95 kB / 0.6062 GB, free: 48.28 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002244/0.5198, allocations: 85.33 kB / 0.6063 GB, free: 48.27 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.082e-06/0.5199, allocations: 2.531 kB / 0.6063 GB, free: 48.27 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.466e-06/0.5199, allocations: 1.969 kB / 0.6063 GB, free: 48.27 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.858e-06/0.5199, allocations: 5.797 kB / 0.6063 GB, free: 48.27 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006737/0.5206, allocations: 0.6179 MB / 0.6069 GB, free: 48.08 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.276e-06/0.5206, allocations: 0 / 0.6069 GB, free: 48.08 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004299/0.521, allocations: 87.78 kB / 0.607 GB, free: 48.08 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.676e-06/0.521, allocations: 4.312 kB / 0.607 GB, free: 48.08 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.371e-05/0.5211, allocations: 13.75 kB / 0.607 GB, free: 48.08 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.076e-06/0.5211, allocations: 2.812 kB / 0.607 GB, free: 48.08 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.455e-06/0.5211, allocations: 7.172 kB / 0.607 GB, free: 48.08 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001224/0.5223, allocations: 0.7425 MB / 0.6077 GB, free: 48.02 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001693/0.5225, allocations: 191.9 kB / 0.6079 GB, free: 47.92 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.57e-05/0.5226, allocations: 10.19 kB / 0.6079 GB, free: 47.92 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003248/0.5229, allocations: 40.89 kB / 0.608 GB, free: 47.92 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.803e-05/0.523, allocations: 42.44 kB / 0.608 GB, free: 47.92 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.169e-05/0.523, allocations: 18.73 kB / 0.608 GB, free: 47.92 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0003868/0.5234, allocations: 424.3 kB / 0.6084 GB, free: 47.82 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5234, allocations: 0 / 0.6084 GB, free: 47.82 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0005856/0.524, allocations: 213.8 kB / 0.6086 GB, free: 47.8 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (limPID.I.y,limPID.D.x,limPIDRev.I.y,limPIDRev.D.x,limPIDOri.I.y,limPIDOri.D.x) * Number of discrete variables: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (45): * Single equations (assignments): 43 * 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.0001194/0.5241, allocations: 109.5 kB / 0.6087 GB, free: 47.71 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001286/0.5254, allocations: 0.8072 MB / 0.6095 GB, free: 47.59 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.637e-06/0.5254, allocations: 3.375 kB / 0.6095 GB, free: 47.59 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0003822/0.5258, allocations: 228 kB / 0.6097 GB, free: 47.58 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000746/0.5266, allocations: 186.7 kB / 0.6099 GB, free: 47.58 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001739/0.5283, allocations: 1.416 MB / 0.6113 GB, free: 46.85 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002798/0.5286, allocations: 0.9156 MB / 0.6122 GB, free: 46.15 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001575/0.5288, allocations: 51.44 kB / 0.6122 GB, free: 46.15 MB / 0.4981 GB Notification: Performance of SimCode: time 5.51e-07/0.5288, allocations: 0 / 0.6122 GB, free: 46.15 MB / 0.4981 GB Notification: Performance of Templates: time 0.0107/0.5395, allocations: 8.559 MB / 0.6206 GB, free: 45.5 MB / 0.4981 GB make -j1 -f IDEAS_dev_IDEAS.Controls.Continuous.Examples.LimPID.makefile make -j1 -f IDEAS_dev_IDEAS.Controls.Continuous.Examples.LimPID.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.LimPIDCalcHelperMain.o OMCppIDEAS_dev_IDEAS.Controls.Continuous.Examples.LimPIDCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppIDEAS_dev_IDEAS.Controls.Continuous.Examples.LimPIDCalcHelperMain.o] Error 1