Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Math.Examples.IntegratorWithReset.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.Utilities.Math.Examples.IntegratorWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Examples.IntegratorWithReset") translateModel(IDEAS.Utilities.Math.Examples.IntegratorWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Examples.IntegratorWithReset") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00103/0.00103, 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.001356/0.001356, allocations: 176.9 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.422/1.422, allocations: 223.3 MB / 240.6 MB, free: 5.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8174/0.8174, allocations: 132.3 MB / 424 MB, free: 2.074 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004013/0.0004014, allocations: 19.98 kB / 0.504 GB, free: 4.223 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4919/0.4923, allocations: 81.57 MB / 0.5837 GB, free: 3.957 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.IntegratorWithReset): time 0.001875/0.4942, allocations: 1.478 MB / 0.5851 GB, free: 2.883 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008484/0.4951, allocations: 0.5139 MB / 0.5856 GB, free: 2.52 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.359e-05/0.4952, allocations: 6.719 kB / 0.5856 GB, free: 2.516 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001248/0.4954, allocations: 17.78 kB / 0.5856 GB, free: 2.504 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 6.636e-05/0.4954, allocations: 24.75 kB / 0.5857 GB, free: 2.488 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002048/0.4956, allocations: 51.47 kB / 0.5857 GB, free: 2.465 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002244/0.4959, allocations: 147.1 kB / 0.5859 GB, free: 2.398 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001394/0.496, allocations: 36.47 kB / 0.5859 GB, free: 2.387 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.535e-05/0.4961, allocations: 45.7 kB / 0.5859 GB, free: 2.363 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.08e-05/0.4962, allocations: 50.91 kB / 0.586 GB, free: 2.336 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 2.509e-05/0.4962, allocations: 4.312 kB / 0.586 GB, free: 2.336 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.891e-05/0.4962, allocations: 3.938 kB / 0.586 GB, free: 2.336 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 2.866e-05/0.4963, allocations: 16.86 kB / 0.586 GB, free: 2.328 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 4.281e-05/0.4963, allocations: 50.95 kB / 0.5861 GB, free: 2.281 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000135/0.4965, allocations: 87.06 kB / 0.5861 GB, free: 2.258 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.322e-06/0.4965, allocations: 4.703 kB / 0.5861 GB, free: 2.254 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.4965, allocations: 0 / 0.5861 GB, free: 2.254 MB / 430.1 MB Notification: Performance of Transformations before backend: time 5.189e-06/0.4965, allocations: 0 / 0.5861 GB, free: 2.254 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.0005977/0.4971, allocations: 456.7 kB / 0.5866 GB, free: 1.844 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.84e-05/0.4971, allocations: 9.188 kB / 0.5866 GB, free: 1.844 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.028e-05/0.4972, allocations: 25.72 kB / 0.5866 GB, free: 1.828 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002124/0.4974, allocations: 230 kB / 0.5868 GB, free: 1.598 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.79e-05/0.4975, allocations: 8.75 kB / 0.5868 GB, free: 1.594 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.178e-05/0.4975, allocations: 12.81 kB / 0.5869 GB, free: 1.59 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002882/0.4978, allocations: 149.8 kB / 0.587 GB, free: 1.488 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.195e-05/0.4978, allocations: 5.219 kB / 0.587 GB, free: 1.484 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.58e-05/0.4978, allocations: 5.25 kB / 0.587 GB, free: 1.48 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.795e-06/0.4978, allocations: 3.688 kB / 0.587 GB, free: 1.48 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002496/0.4981, allocations: 82.12 kB / 0.5871 GB, free: 1.461 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007927/0.4989, allocations: 0.7438 MB / 0.5878 GB, free: 0.7852 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001468/0.4991, allocations: 49.23 kB / 0.5879 GB, free: 0.7578 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001083/0.4992, allocations: 38.7 kB / 0.5879 GB, free: 0.7422 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.641e-05/0.4992, allocations: 9.734 kB / 0.5879 GB, free: 0.7344 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002696/0.4995, allocations: 123.9 kB / 0.588 GB, free: 0.6406 MB / 430.1 MB Notification: Performance of pre-optimization done (n=11): time 2.224e-06/0.4995, allocations: 0 / 0.588 GB, free: 0.6406 MB / 430.1 MB Notification: Performance of matching and sorting (n=11): time 0.000509/0.5, allocations: 190.7 kB / 0.5882 GB, free: 0.5586 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.029e-05/0.5001, allocations: 136.2 kB / 0.5883 GB, free: 408 kB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001759/0.5003, allocations: 198.3 kB / 0.5885 GB, free: 268 kB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.393e-05/0.5003, allocations: 31.45 kB / 0.5886 GB, free: 232 kB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.798e-05/0.5004, allocations: 126.1 kB / 0.5887 GB, free: 116 kB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.199e-05/0.5004, allocations: 35.33 kB / 0.5887 GB, free: 88 kB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.803e-06/0.5004, allocations: 1.062 kB / 0.5887 GB, free: 88 kB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001396/0.5005, allocations: 328.6 kB / 0.589 GB, free: 15.77 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001277/0.5007, allocations: 46.08 kB / 0.5891 GB, free: 15.75 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001958/0.5009, allocations: 151.6 kB / 0.5892 GB, free: 15.6 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001465/0.501, allocations: 59.73 kB / 0.5893 GB, free: 15.58 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.256e-06/0.5011, allocations: 1.156 kB / 0.5893 GB, free: 15.58 MB / 446.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.00043/0.5015, allocations: 216.9 kB / 0.5895 GB, free: 15.48 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.806e-05/0.5015, allocations: 11.56 kB / 0.5895 GB, free: 15.48 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.666e-06/0.5015, allocations: 4.062 kB / 0.5895 GB, free: 15.48 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.605e-05/0.5016, allocations: 5.219 kB / 0.5895 GB, free: 15.48 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001354/0.5017, allocations: 39.84 kB / 0.5895 GB, free: 15.47 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.596e-05/0.5017, allocations: 9.781 kB / 0.5895 GB, free: 15.46 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001497/0.5019, allocations: 33.56 kB / 0.5896 GB, free: 15.45 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.679e-05/0.5019, allocations: 12.88 kB / 0.5896 GB, free: 15.45 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition2,sampleTrigger.y,$whenCondition1,$whenCondition3,booleanPulse.y,$PRE.booleanPulse.pulseStart,booleanPulse.pulseStart,intDef.trigger_internal,intNoReset.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (21): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 0 * 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.0001195/0.502, allocations: 137.3 kB / 0.5897 GB, free: 15.32 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.298e-05/0.5021, allocations: 18.16 kB / 0.5897 GB, free: 15.31 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.84e-05/0.5021, allocations: 20.75 kB / 0.5898 GB, free: 15.29 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.829e-06/0.5021, allocations: 1.938 kB / 0.5898 GB, free: 15.29 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.064e-05/0.5021, allocations: 9.719 kB / 0.5898 GB, free: 15.29 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.2e-06/0.5022, allocations: 1.891 kB / 0.5898 GB, free: 15.29 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008071/0.503, allocations: 0.5224 MB / 0.5903 GB, free: 14.86 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.647e-06/0.503, allocations: 2.438 kB / 0.5903 GB, free: 14.86 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000123/0.5031, allocations: 21.31 kB / 0.5903 GB, free: 14.86 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.26e-06/0.5031, allocations: 6.984 kB / 0.5903 GB, free: 14.85 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.077e-05/0.5032, allocations: 10.12 kB / 0.5903 GB, free: 14.84 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.286e-06/0.5032, allocations: 2.75 kB / 0.5903 GB, free: 14.84 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.786e-06/0.5032, allocations: 1.25 kB / 0.5903 GB, free: 14.84 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005714/0.5037, allocations: 374.5 kB / 0.5907 GB, free: 14.57 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.729e-05/0.5038, allocations: 94.34 kB / 0.5908 GB, free: 14.47 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.887e-05/0.5039, allocations: 15.52 kB / 0.5908 GB, free: 14.46 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001713/0.504, allocations: 20.97 kB / 0.5908 GB, free: 14.45 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.349e-05/0.5041, allocations: 13.62 kB / 0.5908 GB, free: 14.45 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.138e-05/0.5041, allocations: 4.719 kB / 0.5908 GB, free: 14.45 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001422/0.5043, allocations: 139.2 kB / 0.591 GB, free: 14.36 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.5043, allocations: 0.625 kB / 0.591 GB, free: 14.36 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003397/0.5046, allocations: 26.88 kB / 0.591 GB, free: 14.35 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 4 (intWitRes2.y,intWitRes1.y,intNoReset.y,intDef.y) * Number of discrete variables: 6 (booleanPulse.y,$whenCondition3,$whenCondition1,booleanPulse.pulseStart,sampleTrigger.y,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0001609/0.5048, allocations: 108.8 kB / 0.5911 GB, free: 14.25 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0003439/0.5051, allocations: 123 kB / 0.5912 GB, free: 14.22 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.458e-06/0.5051, allocations: 3.938 kB / 0.5912 GB, free: 14.22 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001559/0.5053, allocations: 62.64 kB / 0.5913 GB, free: 14.2 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005669/0.5059, allocations: 55.23 kB / 0.5913 GB, free: 14.19 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006953/0.5066, allocations: 422.3 kB / 0.5917 GB, free: 13.86 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003021/0.5069, allocations: 0.7209 MB / 0.5924 GB, free: 13.17 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.217e-05/0.507, allocations: 17.22 kB / 0.5924 GB, free: 13.16 MB / 446.1 MB Notification: Performance of SimCode: time 2.3e-07/0.507, allocations: 4.531 kB / 0.5924 GB, free: 13.16 MB / 446.1 MB Notification: Performance of Templates: time 0.004998/0.512, allocations: 2.102 MB / 0.5945 GB, free: 12.98 MB / 446.1 MB make -j1 -f IDEAS_IDEAS.Utilities.Math.Examples.IntegratorWithReset.makefile make -j1 -f IDEAS_IDEAS.Utilities.Math.Examples.IntegratorWithReset.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.Utilities.Math.Examples.IntegratorWithResetCalcHelperMain.o OMCppIDEAS_IDEAS.Utilities.Math.Examples.IntegratorWithResetCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppIDEAS_IDEAS.Utilities.Math.Examples.IntegratorWithResetCalcHelperMain.o] Error 1