Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_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-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.Utilities.Math.Examples.IntegratorWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Examples.IntegratorWithReset") translateModel(IDEAS.Utilities.Math.Examples.IntegratorWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_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.0009829/0.0009826, allocations: 100.5 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.001405/0.001406, allocations: 175.3 kB / 16.58 MB, free: 6.422 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.428/1.428, allocations: 223.2 MB / 240.6 MB, free: 5.426 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9826/0.9826, allocations: 135.3 MB / 427 MB, free: 14.27 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003315/0.0003315, allocations: 8 kB / 0.5076 GB, free: 5.242 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1944/0.1947, allocations: 82.31 MB / 0.588 GB, free: 3.105 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.IntegratorWithReset): time 0.002171/0.197, allocations: 1.481 MB / 0.5894 GB, free: 1.609 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009917/0.198, allocations: 0.503 MB / 0.5899 GB, free: 1.102 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.971e-05/0.1981, allocations: 7.938 kB / 0.5899 GB, free: 1.094 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001479/0.1982, allocations: 11.86 kB / 0.5899 GB, free: 1.082 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001392/0.1984, allocations: 27.72 kB / 0.59 GB, free: 1.055 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002434/0.1986, allocations: 47.89 kB / 0.59 GB, free: 1.008 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002326/0.1989, allocations: 163.5 kB / 0.5902 GB, free: 0.8477 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000204/0.1991, allocations: 41.83 kB / 0.5902 GB, free: 0.8047 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.554e-05/0.1992, allocations: 35.8 kB / 0.5902 GB, free: 0.7695 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.398e-05/0.1993, allocations: 51.7 kB / 0.5903 GB, free: 0.7188 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2.196e-05/0.1993, allocations: 4 kB / 0.5903 GB, free: 0.7148 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.844e-05/0.1993, allocations: 4 kB / 0.5903 GB, free: 0.7109 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 3.444e-05/0.1994, allocations: 27.84 kB / 0.5903 GB, free: 0.6836 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 5.28e-05/0.1994, allocations: 49.64 kB / 0.5904 GB, free: 0.6289 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001517/0.1996, allocations: 88.05 kB / 0.5905 GB, free: 0.543 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.214e-06/0.1996, allocations: 0 / 0.5905 GB, free: 0.543 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.354e-06/0.1996, allocations: 0 / 0.5905 GB, free: 0.543 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.36e-06/0.1996, allocations: 0 / 0.5905 GB, free: 0.543 MB / 494.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.0008249/0.2005, allocations: 458.6 kB / 0.5909 GB, free: 48 kB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.098e-05/0.2005, allocations: 12.03 kB / 0.5909 GB, free: 36 kB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.71e-05/0.2006, allocations: 15.81 kB / 0.5909 GB, free: 20 kB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003637/0.201, allocations: 222.6 kB / 0.5911 GB, free: 15.76 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.149e-05/0.201, allocations: 8 kB / 0.5911 GB, free: 15.75 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.814e-05/0.2011, allocations: 15.98 kB / 0.5912 GB, free: 15.74 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003451/0.2014, allocations: 157.1 kB / 0.5913 GB, free: 15.57 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.132e-05/0.2014, allocations: 0 / 0.5913 GB, free: 15.57 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.891e-05/0.2015, allocations: 4 kB / 0.5913 GB, free: 15.56 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.955e-06/0.2015, allocations: 0 / 0.5913 GB, free: 15.56 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002461/0.2017, allocations: 91.83 kB / 0.5914 GB, free: 15.47 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001096/0.2028, allocations: 0.7394 MB / 0.5921 GB, free: 14.67 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001609/0.203, allocations: 58.48 kB / 0.5922 GB, free: 14.6 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001106/0.2031, allocations: 40.83 kB / 0.5922 GB, free: 14.56 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.988e-05/0.2032, allocations: 3.984 kB / 0.5922 GB, free: 14.55 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003396/0.2035, allocations: 130.7 kB / 0.5923 GB, free: 14.4 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=11): time 1.803e-06/0.2035, allocations: 0 / 0.5923 GB, free: 14.4 MB / 0.4981 GB Notification: Performance of matching and sorting (n=11): time 0.0004902/0.204, allocations: 181.5 kB / 0.5925 GB, free: 14.22 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001005/0.2041, allocations: 136.5 kB / 0.5926 GB, free: 14.05 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001931/0.2043, allocations: 195 kB / 0.5928 GB, free: 13.85 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.318e-05/0.2044, allocations: 33.69 kB / 0.5929 GB, free: 13.81 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001188/0.2045, allocations: 131.9 kB / 0.593 GB, free: 13.68 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.318e-05/0.2045, allocations: 31.55 kB / 0.593 GB, free: 13.65 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.09e-05/0.2045, allocations: 8 kB / 0.593 GB, free: 13.64 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001714/0.2047, allocations: 326.8 kB / 0.5933 GB, free: 13.31 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001178/0.2048, allocations: 44.34 kB / 0.5934 GB, free: 13.27 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001865/0.205, allocations: 155.2 kB / 0.5935 GB, free: 13.07 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001328/0.2052, allocations: 55.92 kB / 0.5936 GB, free: 13.01 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.2052, allocations: 3.938 kB / 0.5936 GB, free: 13.01 MB / 0.4981 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003893/0.2056, allocations: 225.3 kB / 0.5938 GB, free: 12.78 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.877e-05/0.2056, allocations: 7.938 kB / 0.5938 GB, free: 12.77 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.987e-06/0.2056, allocations: 4 kB / 0.5938 GB, free: 12.77 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.799e-05/0.2056, allocations: 8 kB / 0.5938 GB, free: 12.76 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001313/0.2058, allocations: 27.98 kB / 0.5939 GB, free: 12.73 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.178e-05/0.2058, allocations: 11.94 kB / 0.5939 GB, free: 12.72 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001453/0.2059, allocations: 39.97 kB / 0.5939 GB, free: 12.68 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.473e-05/0.206, allocations: 11.98 kB / 0.5939 GB, free: 12.67 MB / 0.4981 GB 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.000132/0.2061, allocations: 129.8 kB / 0.594 GB, free: 12.54 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.813e-05/0.2061, allocations: 19.81 kB / 0.5941 GB, free: 12.52 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.689e-05/0.2062, allocations: 21.39 kB / 0.5941 GB, free: 12.49 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.917e-06/0.2062, allocations: 0 / 0.5941 GB, free: 12.49 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.484e-06/0.2062, allocations: 4 kB / 0.5941 GB, free: 12.49 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.428e-06/0.2062, allocations: 0 / 0.5941 GB, free: 12.49 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008519/0.2071, allocations: 0.5327 MB / 0.5946 GB, free: 11.9 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.596e-06/0.2071, allocations: 4 kB / 0.5946 GB, free: 11.89 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001101/0.2072, allocations: 23.86 kB / 0.5946 GB, free: 11.87 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.835e-06/0.2072, allocations: 4 kB / 0.5946 GB, free: 11.87 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.65e-05/0.2073, allocations: 0 / 0.5946 GB, free: 11.87 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.226e-06/0.2073, allocations: 7.953 kB / 0.5946 GB, free: 11.86 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/0.2073, allocations: 0 / 0.5946 GB, free: 11.86 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005475/0.2078, allocations: 372.2 kB / 0.595 GB, free: 11.47 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.763e-05/0.2079, allocations: 96.95 kB / 0.5951 GB, free: 11.36 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.781e-05/0.2079, allocations: 4.312 kB / 0.5951 GB, free: 11.36 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000154/0.2081, allocations: 19.98 kB / 0.5951 GB, free: 11.34 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.882e-05/0.2081, allocations: 11.94 kB / 0.5951 GB, free: 11.32 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.139e-05/0.2082, allocations: 8 kB / 0.5951 GB, free: 11.32 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0002243/0.2084, allocations: 140.6 kB / 0.5953 GB, free: 11.18 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.5e-07/0.2084, allocations: 4 kB / 0.5953 GB, free: 11.18 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003172/0.2087, allocations: 28 kB / 0.5953 GB, free: 11.15 MB / 0.4981 GB 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.0001399/0.2089, allocations: 100.1 kB / 0.5954 GB, free: 11.04 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0003097/0.2092, allocations: 132 kB / 0.5955 GB, free: 10.91 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.2092, allocations: 0 / 0.5955 GB, free: 10.91 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001391/0.2093, allocations: 55.91 kB / 0.5956 GB, free: 10.86 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005437/0.2099, allocations: 63 kB / 0.5956 GB, free: 10.8 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006273/0.2105, allocations: 424.3 kB / 0.596 GB, free: 10.34 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004039/0.2109, allocations: 0.7245 MB / 0.5967 GB, free: 9.594 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.415e-05/0.211, allocations: 19.38 kB / 0.5968 GB, free: 9.574 MB / 0.4981 GB Notification: Performance of SimCode: time 2.21e-07/0.211, allocations: 4 kB / 0.5968 GB, free: 9.57 MB / 0.4981 GB Notification: Performance of Templates: time 0.004099/0.2151, allocations: 2.085 MB / 0.5988 GB, free: 7.496 MB / 0.4981 GB make -j1 -f IDEAS_dev_IDEAS.Utilities.Math.Examples.IntegratorWithReset.makefile make -j1 -f IDEAS_dev_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_dev_IDEAS.Utilities.Math.Examples.IntegratorWithResetCalcHelperMain.o OMCppIDEAS_dev_IDEAS.Utilities.Math.Examples.IntegratorWithResetCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppIDEAS_dev_IDEAS.Utilities.Math.Examples.IntegratorWithResetCalcHelperMain.o] Error 1