Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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/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.LimPID,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.Continuous.Examples.LimPID") translateModel(IDEAS.Controls.Continuous.Examples.LimPID,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_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.001326/0.001332, allocations: 99.67 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.002249/0.002249, allocations: 175.2 kB / 16.58 MB, free: 6.418 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.488/1.488, allocations: 223.2 MB / 240.6 MB, free: 5.453 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7927/0.7927, allocations: 132.3 MB / 424.1 MB, free: 2.113 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003416/0.0003416, allocations: 8 kB / 0.504 GB, free: 4.301 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5534/0.5537, allocations: 81.57 MB / 0.5837 GB, free: 4.012 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Continuous.Examples.LimPID): time 0.003802/0.5576, allocations: 3.125 MB / 0.5867 GB, free: 1.738 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.002847/0.5605, allocations: 1.266 MB / 0.5879 GB, free: 0.832 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005058/0.561, allocations: 28.66 kB / 0.588 GB, free: 0.8203 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000314/0.5613, allocations: 85.06 kB / 0.5881 GB, free: 0.7656 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005099/0.5618, allocations: 133.5 kB / 0.5882 GB, free: 0.6797 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001316/0.5632, allocations: 468.8 kB / 0.5886 GB, free: 460 kB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001109/0.5643, allocations: 0.8163 MB / 0.5894 GB, free: 44 kB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005867/0.5649, allocations: 262.5 kB / 0.5897 GB, free: 15.91 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004878/0.5654, allocations: 270.7 kB / 0.5899 GB, free: 15.79 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003981/0.5658, allocations: 261.8 kB / 0.5902 GB, free: 15.66 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 8.062e-05/0.5659, allocations: 25.03 kB / 0.5902 GB, free: 15.65 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.515e-05/0.5659, allocations: 20.94 kB / 0.5902 GB, free: 15.65 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001487/0.5661, allocations: 107.7 kB / 0.5903 GB, free: 15.59 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001504/0.5663, allocations: 140.9 kB / 0.5905 GB, free: 15.48 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008844/0.5672, allocations: 0.6135 MB / 0.5911 GB, free: 15.33 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.176e-06/0.5672, allocations: 0.75 kB / 0.5911 GB, free: 15.33 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.983e-06/0.5672, allocations: 3.938 kB / 0.5911 GB, free: 15.32 MB / 446.1 MB Notification: Performance of Transformations before backend: time 9.748e-06/0.5672, allocations: 0 / 0.5911 GB, free: 15.32 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: 126 * Number of variables: 126 Notification: Performance of Generate backend data structure: time 0.002184/0.5694, allocations: 1.071 MB / 0.5921 GB, free: 14.59 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.802e-05/0.5694, allocations: 13.31 kB / 0.5921 GB, free: 14.59 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001955/0.5696, allocations: 93.23 kB / 0.5922 GB, free: 14.54 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001107/0.5708, allocations: 0.5688 MB / 0.5928 GB, free: 14.14 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001387/0.5709, allocations: 102.2 kB / 0.5929 GB, free: 14.06 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001095/0.571, allocations: 54.86 kB / 0.5929 GB, free: 14.04 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0014/0.5724, allocations: 0.6079 MB / 0.5935 GB, free: 13.73 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.736e-05/0.5725, allocations: 4.688 kB / 0.5935 GB, free: 13.73 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.101e-05/0.5725, allocations: 21.86 kB / 0.5935 GB, free: 13.71 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.85e-05/0.5726, allocations: 12.62 kB / 0.5936 GB, free: 13.71 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001101/0.5737, allocations: 440.1 kB / 0.594 GB, free: 13.57 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003414/0.5771, allocations: 2.131 MB / 0.5961 GB, free: 12.13 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001301/0.5784, allocations: 0.5179 MB / 0.5966 GB, free: 11.93 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000478/0.5789, allocations: 230.5 kB / 0.5968 GB, free: 11.84 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.002e-05/0.5789, allocations: 4.516 kB / 0.5968 GB, free: 11.84 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007574/0.5797, allocations: 292.6 kB / 0.5971 GB, free: 11.72 MB / 446.1 MB Notification: Performance of pre-optimization done (n=45): time 2.865e-06/0.5797, allocations: 0 / 0.5971 GB, free: 11.72 MB / 446.1 MB Notification: Performance of matching and sorting (n=45): time 0.001552/0.5813, allocations: 0.636 MB / 0.5977 GB, free: 11.43 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.589e-05/0.5814, allocations: 94.25 kB / 0.5978 GB, free: 11.33 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008266/0.5822, allocations: 0.6042 MB / 0.5984 GB, free: 10.97 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 5.078e-05/0.5823, allocations: 32.77 kB / 0.5984 GB, free: 10.93 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002926/0.5826, allocations: 365.1 kB / 0.5987 GB, free: 10.61 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00014/0.5827, allocations: 156 kB / 0.5989 GB, free: 10.48 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.642e-05/0.5827, allocations: 14.34 kB / 0.5989 GB, free: 10.46 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001144/0.5829, allocations: 327.3 kB / 0.5992 GB, free: 10.14 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004256/0.5833, allocations: 181.4 kB / 0.5994 GB, free: 10.06 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005122/0.5838, allocations: 282.5 kB / 0.5997 GB, free: 9.863 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004923/0.5843, allocations: 242.2 kB / 0.5999 GB, free: 9.727 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.477e-06/0.5843, allocations: 3.938 kB / 0.5999 GB, free: 9.723 MB / 446.1 MB Notification: Performance of matching and sorting (n=64) (initialization): time 0.001247/0.5856, allocations: 0.6108 MB / 0.6005 GB, free: 9.402 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001343/0.5857, allocations: 194.2 kB / 0.6007 GB, free: 9.18 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.378e-06/0.5858, allocations: 2.5 kB / 0.6007 GB, free: 9.18 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.139e-05/0.5858, allocations: 5.094 kB / 0.6007 GB, free: 9.18 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004896/0.5863, allocations: 112.9 kB / 0.6008 GB, free: 9.152 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.704e-05/0.5863, allocations: 9.078 kB / 0.6008 GB, free: 9.148 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004042/0.5867, allocations: 69.78 kB / 0.6009 GB, free: 9.105 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.647e-05/0.5868, allocations: 22.39 kB / 0.6009 GB, free: 9.098 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.765e-06/0.5868, allocations: 3.625 kB / 0.6009 GB, free: 9.098 MB / 446.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001045/0.5878, allocations: 0.5006 MB / 0.6014 GB, free: 8.84 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.16e-06/0.5879, allocations: 2.562 kB / 0.6014 GB, free: 8.84 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.504e-06/0.5879, allocations: 5.438 kB / 0.6014 GB, free: 8.84 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004346/0.5883, allocations: 108.8 kB / 0.6015 GB, free: 8.812 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.068e-05/0.5883, allocations: 8.828 kB / 0.6015 GB, free: 8.809 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003506/0.5887, allocations: 60.98 kB / 0.6016 GB, free: 8.77 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.941e-05/0.5887, allocations: 18.94 kB / 0.6016 GB, free: 8.766 MB / 446.1 MB 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.0004325/0.5892, allocations: 274.5 kB / 0.6018 GB, free: 8.52 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001124/0.5893, allocations: 80.39 kB / 0.6019 GB, free: 8.473 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001635/0.5895, allocations: 79 kB / 0.602 GB, free: 8.41 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.526e-06/0.5895, allocations: 4.719 kB / 0.602 GB, free: 8.41 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.018e-05/0.5895, allocations: 0 / 0.602 GB, free: 8.41 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.797e-06/0.5895, allocations: 5.516 kB / 0.602 GB, free: 8.406 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007868/0.5903, allocations: 0.6174 MB / 0.6026 GB, free: 7.902 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.184e-06/0.5903, allocations: 0 / 0.6026 GB, free: 7.902 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004591/0.5908, allocations: 90.88 kB / 0.6027 GB, free: 7.879 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.378e-06/0.5908, allocations: 9.469 kB / 0.6027 GB, free: 7.871 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.221e-05/0.5908, allocations: 7.094 kB / 0.6027 GB, free: 7.867 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.877e-06/0.5908, allocations: 1.5 kB / 0.6027 GB, free: 7.867 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/0.5908, allocations: 0 / 0.6027 GB, free: 7.867 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001556/0.5924, allocations: 0.7487 MB / 0.6034 GB, free: 7.461 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002521/0.5927, allocations: 201.4 kB / 0.6036 GB, free: 7.27 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.718e-05/0.5928, allocations: 10.94 kB / 0.6036 GB, free: 7.262 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000372/0.5931, allocations: 45.92 kB / 0.6037 GB, free: 7.242 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.886e-05/0.5932, allocations: 30.2 kB / 0.6037 GB, free: 7.227 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.964e-05/0.5933, allocations: 17.95 kB / 0.6037 GB, free: 7.219 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0006001/0.5939, allocations: 428.6 kB / 0.6041 GB, free: 6.973 MB / 446.1 MB Notification: Performance of sort global known variables: time 3.4e-07/0.5939, allocations: 0 / 0.6041 GB, free: 6.973 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0007207/0.5946, allocations: 210.6 kB / 0.6043 GB, free: 6.922 MB / 446.1 MB 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.0001629/0.5948, allocations: 108 kB / 0.6044 GB, free: 6.824 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001675/0.5965, allocations: 0.8089 MB / 0.6052 GB, free: 6.395 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 5.25e-06/0.5965, allocations: 4.75 kB / 0.6052 GB, free: 6.391 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004756/0.597, allocations: 231.1 kB / 0.6055 GB, free: 6.289 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008884/0.5979, allocations: 182.9 kB / 0.6056 GB, free: 6.195 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002321/0.6002, allocations: 1.422 MB / 0.607 GB, free: 5.207 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004852/0.6007, allocations: 0.9125 MB / 0.6079 GB, free: 4.414 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001877/0.6009, allocations: 51.27 kB / 0.608 GB, free: 4.402 MB / 446.1 MB Notification: Performance of SimCode: time 2.034e-06/0.6009, allocations: 1 kB / 0.608 GB, free: 4.402 MB / 446.1 MB Notification: Performance of Templates: time 0.01715/0.6181, allocations: 8.542 MB / 0.6163 GB, free: 14.61 MB / 462.1 MB make -j1 -f IDEAS_IDEAS.Controls.Continuous.Examples.LimPID.makefile make -j1 -f IDEAS_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_IDEAS.Controls.Continuous.Examples.LimPIDCalcHelperMain.o OMCppIDEAS_IDEAS.Controls.Continuous.Examples.LimPIDCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppIDEAS_IDEAS.Controls.Continuous.Examples.LimPIDCalcHelperMain.o] Error 1