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.005783/0.00579, allocations: 101.5 kB / 15.88 MB, free: 5.867 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001089/0.00109, allocations: 189 kB / 16.79 MB, free: 5.809 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.403/1.403, allocations: 222.9 MB / 240.4 MB, free: 4.57 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7313/0.7313, allocations: 132.2 MB / 422.8 MB, free: 2.004 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00108/0.00108, allocations: 59.5 kB / 0.5017 GB, free: 4.332 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5248/0.5259, allocations: 80.21 MB / 0.58 GB, free: 4.531 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Continuous.Examples.LimPID): time 0.005166/0.5311, allocations: 3.719 MB / 0.5837 GB, free: 1.867 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.002889/0.534, allocations: 1.306 MB / 0.5849 GB, free: 0.9258 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004325/0.5345, allocations: 25.16 kB / 0.585 GB, free: 0.918 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003531/0.5349, allocations: 97.14 kB / 0.585 GB, free: 0.8516 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004844/0.5354, allocations: 137 kB / 0.5852 GB, free: 0.7617 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001231/0.5366, allocations: 0.5317 MB / 0.5857 GB, free: 464 kB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.00105/0.5377, allocations: 0.8929 MB / 0.5866 GB, free: 24 kB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006572/0.5383, allocations: 344.5 kB / 0.5869 GB, free: 15.82 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000555/0.5389, allocations: 322.4 kB / 0.5872 GB, free: 15.67 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000507/0.5394, allocations: 322.2 kB / 0.5875 GB, free: 15.5 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001195/0.5395, allocations: 37.66 kB / 0.5875 GB, free: 15.5 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001039/0.5397, allocations: 37.44 kB / 0.5876 GB, free: 15.5 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002056/0.5399, allocations: 141.8 kB / 0.5877 GB, free: 15.41 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004195/0.5403, allocations: 335.2 kB / 0.588 GB, free: 15.18 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001059/0.5414, allocations: 0.6501 MB / 0.5887 GB, free: 14.93 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.915e-06/0.5414, allocations: 0 / 0.5887 GB, free: 14.93 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.5414, allocations: 3.938 kB / 0.5887 GB, free: 14.93 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.119e-05/0.5414, allocations: 1.281 kB / 0.5887 GB, free: 14.93 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.002759/0.5442, allocations: 1.182 MB / 0.5898 GB, free: 14.11 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.485e-05/0.5442, allocations: 9.938 kB / 0.5898 GB, free: 14.11 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002259/0.5445, allocations: 94.56 kB / 0.5899 GB, free: 14.06 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001191/0.5457, allocations: 0.5915 MB / 0.5905 GB, free: 13.64 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001571/0.5458, allocations: 96.59 kB / 0.5906 GB, free: 13.56 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001244/0.546, allocations: 56.34 kB / 0.5907 GB, free: 13.54 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001461/0.5474, allocations: 0.602 MB / 0.5912 GB, free: 13.23 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.225e-05/0.5475, allocations: 5.656 kB / 0.5912 GB, free: 13.23 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.423e-05/0.5476, allocations: 21 kB / 0.5913 GB, free: 13.21 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.608e-05/0.5476, allocations: 12.56 kB / 0.5913 GB, free: 13.21 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001198/0.5488, allocations: 427.1 kB / 0.5917 GB, free: 13.07 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003745/0.5525, allocations: 2.113 MB / 0.5938 GB, free: 11.63 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001459/0.554, allocations: 0.4958 MB / 0.5942 GB, free: 11.43 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005407/0.5546, allocations: 217.1 kB / 0.5944 GB, free: 11.35 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.077e-05/0.5546, allocations: 8.922 kB / 0.5945 GB, free: 11.35 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009131/0.5556, allocations: 286.4 kB / 0.5947 GB, free: 11.22 MB / 446.1 MB Notification: Performance of pre-optimization done (n=45): time 3.126e-06/0.5556, allocations: 1.062 kB / 0.5947 GB, free: 11.22 MB / 446.1 MB Notification: Performance of matching and sorting (n=45): time 0.001697/0.5573, allocations: 0.6089 MB / 0.5953 GB, free: 10.98 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.609e-05/0.5574, allocations: 87.45 kB / 0.5954 GB, free: 10.88 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00104/0.5584, allocations: 0.6125 MB / 0.596 GB, free: 10.59 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 5.871e-05/0.5585, allocations: 36.52 kB / 0.596 GB, free: 10.55 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003374/0.5588, allocations: 361.6 kB / 0.5964 GB, free: 10.23 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000164/0.559, allocations: 156.7 kB / 0.5965 GB, free: 10.1 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001919/0.5592, allocations: 96.17 kB / 0.5966 GB, free: 10.04 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.000157/0.5594, allocations: 326 kB / 0.5969 GB, free: 9.715 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004869/0.5599, allocations: 181.4 kB / 0.5971 GB, free: 9.621 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005515/0.5604, allocations: 284.6 kB / 0.5974 GB, free: 9.418 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001007/0.5614, allocations: 469.8 kB / 0.5978 GB, free: 9.113 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.633e-06/0.5615, allocations: 5.344 kB / 0.5978 GB, free: 9.109 MB / 446.1 MB Notification: Performance of matching and sorting (n=64) (initialization): time 0.001321/0.5628, allocations: 0.5995 MB / 0.5984 GB, free: 8.781 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.958e-05/0.5629, allocations: 37.45 kB / 0.5985 GB, free: 8.746 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.111e-05/0.5629, allocations: 2.812 kB / 0.5985 GB, free: 8.746 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.871e-05/0.5629, allocations: 8.75 kB / 0.5985 GB, free: 8.742 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005064/0.5634, allocations: 108 kB / 0.5986 GB, free: 8.715 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.571e-05/0.5635, allocations: 6.594 kB / 0.5986 GB, free: 8.715 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004198/0.5639, allocations: 64.69 kB / 0.5986 GB, free: 8.672 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.664e-05/0.5639, allocations: 18.38 kB / 0.5987 GB, free: 8.668 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006148/0.5646, allocations: 311.3 kB / 0.5989 GB, free: 8.465 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000548/0.5651, allocations: 265.9 kB / 0.5992 GB, free: 8.273 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000909/0.566, allocations: 457.6 kB / 0.5996 GB, free: 7.965 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.789e-06/0.5661, allocations: 1.312 kB / 0.5996 GB, free: 7.965 MB / 446.1 MB Notification: Performance of matching and sorting (n=64) (initialization_lambda0): time 0.001249/0.5673, allocations: 0.5789 MB / 0.6002 GB, free: 7.648 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.758e-05/0.5674, allocations: 36.8 kB / 0.6002 GB, free: 7.613 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.961e-06/0.5674, allocations: 6.562 kB / 0.6002 GB, free: 7.609 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.19e-05/0.5674, allocations: 4.938 kB / 0.6003 GB, free: 7.609 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000456/0.5679, allocations: 101.5 kB / 0.6003 GB, free: 7.586 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.391e-05/0.5679, allocations: 9.25 kB / 0.6004 GB, free: 7.582 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003986/0.5683, allocations: 57.59 kB / 0.6004 GB, free: 7.543 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.359e-05/0.5683, allocations: 18.28 kB / 0.6004 GB, free: 7.539 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 (pulse.count,$PRE.pulse.count,pulse.T_start,$PRE.pulse.T_start,$whenCondition1,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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002562/0.5686, allocations: 207 kB / 0.6006 GB, free: 7.34 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001227/0.5687, allocations: 77.97 kB / 0.6007 GB, free: 7.297 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001699/0.5689, allocations: 85.72 kB / 0.6008 GB, free: 7.227 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.037e-05/0.5689, allocations: 5.469 kB / 0.6008 GB, free: 7.227 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.282e-05/0.569, allocations: 7.938 kB / 0.6008 GB, free: 7.219 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.182e-06/0.569, allocations: 0 / 0.6008 GB, free: 7.219 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008782/0.5698, allocations: 0.6186 MB / 0.6014 GB, free: 6.715 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.804e-06/0.5699, allocations: 0 / 0.6014 GB, free: 6.715 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004639/0.5703, allocations: 82.23 kB / 0.6015 GB, free: 6.695 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.657e-06/0.5703, allocations: 1.375 kB / 0.6015 GB, free: 6.695 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.685e-05/0.5704, allocations: 10.7 kB / 0.6015 GB, free: 6.688 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.268e-06/0.5704, allocations: 2.438 kB / 0.6015 GB, free: 6.688 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.156e-06/0.5704, allocations: 4 kB / 0.6015 GB, free: 6.684 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001647/0.5721, allocations: 0.7345 MB / 0.6022 GB, free: 6.27 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002457/0.5723, allocations: 189 kB / 0.6024 GB, free: 6.09 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.099e-05/0.5724, allocations: 11.28 kB / 0.6024 GB, free: 6.082 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000385/0.5728, allocations: 29.44 kB / 0.6024 GB, free: 6.07 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001155/0.5729, allocations: 30.11 kB / 0.6025 GB, free: 6.055 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.168e-05/0.573, allocations: 19.17 kB / 0.6025 GB, free: 6.047 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0006292/0.5736, allocations: 437.5 kB / 0.6029 GB, free: 5.797 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.5736, allocations: 0 / 0.6029 GB, free: 5.797 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0007229/0.5743, allocations: 218.8 kB / 0.6031 GB, free: 5.738 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 (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.0001758/0.5745, allocations: 112 kB / 0.6032 GB, free: 5.633 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.00175/0.5763, allocations: 0.7835 MB / 0.604 GB, free: 5.211 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 6.853e-06/0.5763, allocations: 1.281 kB / 0.604 GB, free: 5.211 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005008/0.5768, allocations: 212.8 kB / 0.6042 GB, free: 5.121 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001014/0.5778, allocations: 187.5 kB / 0.6044 GB, free: 5.023 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002663/0.5805, allocations: 1.483 MB / 0.6058 GB, free: 3.98 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006198/0.5811, allocations: 0.9126 MB / 0.6067 GB, free: 3.184 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002103/0.5814, allocations: 52.7 kB / 0.6067 GB, free: 3.172 MB / 446.1 MB Notification: Performance of SimCode: time 4.71e-07/0.5814, allocations: 0 / 0.6067 GB, free: 3.172 MB / 446.1 MB Notification: Performance of Templates: time 0.01786/0.5992, allocations: 8.626 MB / 0.6152 GB, free: 13.12 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++ -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.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