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.0007915/0.0007912, allocations: 92.39 kB / 16.02 MB, free: 80 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.000991/0.0009907, allocations: 177.7 kB / 16.92 MB, free: 6.652 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.317/1.317, allocations: 223.3 MB / 241 MB, free: 5.27 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7386/0.7386, allocations: 132.3 MB / 424.4 MB, free: 1.906 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003182/0.0003182, allocations: 8 kB / 0.5046 GB, free: 3.855 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4325/0.4329, allocations: 81.58 MB / 0.5843 GB, free: 4.02 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.IntegratorWithReset): time 0.002167/0.4351, allocations: 1.52 MB / 0.5858 GB, free: 2.91 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009897/0.4361, allocations: 0.5322 MB / 0.5863 GB, free: 2.531 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001056/0.4362, allocations: 1.906 kB / 0.5863 GB, free: 2.531 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001276/0.4364, allocations: 18.14 kB / 0.5863 GB, free: 2.52 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 7.154e-05/0.4364, allocations: 22.7 kB / 0.5863 GB, free: 2.504 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002168/0.4367, allocations: 64.7 kB / 0.5864 GB, free: 2.469 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002443/0.4369, allocations: 159.7 kB / 0.5865 GB, free: 2.398 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001551/0.4371, allocations: 48.89 kB / 0.5866 GB, free: 2.379 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.318e-05/0.4372, allocations: 48.88 kB / 0.5866 GB, free: 2.352 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.845e-05/0.4372, allocations: 51.17 kB / 0.5867 GB, free: 2.324 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 2.356e-05/0.4373, allocations: 3.156 kB / 0.5867 GB, free: 2.324 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.812e-05/0.4373, allocations: 5.594 kB / 0.5867 GB, free: 2.324 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 3.259e-05/0.4373, allocations: 24.97 kB / 0.5867 GB, free: 2.309 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 6.406e-05/0.4374, allocations: 83.89 kB / 0.5868 GB, free: 2.238 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001385/0.4376, allocations: 86.95 kB / 0.5869 GB, free: 2.215 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.589e-06/0.4376, allocations: 0.6094 kB / 0.5869 GB, free: 2.215 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.704e-06/0.4376, allocations: 0 / 0.5869 GB, free: 2.215 MB / 430.1 MB Notification: Performance of Transformations before backend: time 4.809e-06/0.4376, allocations: 0.7188 kB / 0.5869 GB, free: 2.215 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.0006053/0.4382, allocations: 461 kB / 0.5873 GB, free: 1.797 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.516e-05/0.4382, allocations: 9.438 kB / 0.5873 GB, free: 1.797 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.852e-05/0.4383, allocations: 18.95 kB / 0.5874 GB, free: 1.789 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001917/0.4385, allocations: 226.6 kB / 0.5876 GB, free: 1.562 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.79e-05/0.4385, allocations: 13.91 kB / 0.5876 GB, free: 1.555 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.966e-05/0.4385, allocations: 12.5 kB / 0.5876 GB, free: 1.551 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002732/0.4388, allocations: 152.2 kB / 0.5877 GB, free: 1.449 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.937e-06/0.4388, allocations: 0 / 0.5877 GB, free: 1.449 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.548e-05/0.4389, allocations: 6.359 kB / 0.5877 GB, free: 1.445 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.793e-06/0.4389, allocations: 6.625 kB / 0.5877 GB, free: 1.441 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002377/0.4391, allocations: 83.92 kB / 0.5878 GB, free: 1.422 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000711/0.4398, allocations: 0.7464 MB / 0.5886 GB, free: 0.7422 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001439/0.44, allocations: 53.97 kB / 0.5886 GB, free: 0.7109 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001094/0.4401, allocations: 39.52 kB / 0.5886 GB, free: 0.6953 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.829e-05/0.4401, allocations: 1.406 kB / 0.5886 GB, free: 0.6953 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002525/0.4404, allocations: 136.4 kB / 0.5888 GB, free: 0.5898 MB / 430.1 MB Notification: Performance of pre-optimization done (n=11): time 1.282e-06/0.4404, allocations: 0 / 0.5888 GB, free: 0.5898 MB / 430.1 MB Notification: Performance of matching and sorting (n=11): time 0.0004879/0.4409, allocations: 176.1 kB / 0.5889 GB, free: 0.5234 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.667e-05/0.4409, allocations: 139.5 kB / 0.5891 GB, free: 368 kB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001652/0.4411, allocations: 200.2 kB / 0.5893 GB, free: 228 kB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.35e-05/0.4411, allocations: 26.83 kB / 0.5893 GB, free: 196 kB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.14e-05/0.4412, allocations: 129.2 kB / 0.5894 GB, free: 76 kB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.808e-05/0.4412, allocations: 35.8 kB / 0.5895 GB, free: 48 kB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.265e-05/0.4413, allocations: 28.14 kB / 0.5895 GB, free: 24 kB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001192/0.4414, allocations: 333.3 kB / 0.5898 GB, free: 15.7 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001307/0.4415, allocations: 41.7 kB / 0.5898 GB, free: 15.69 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001878/0.4417, allocations: 148.7 kB / 0.59 GB, free: 15.54 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003212/0.4421, allocations: 220.2 kB / 0.5902 GB, free: 15.35 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.456e-06/0.4421, allocations: 1.062 kB / 0.5902 GB, free: 15.35 MB / 446.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0004125/0.4425, allocations: 221.6 kB / 0.5904 GB, free: 15.25 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.585e-05/0.4425, allocations: 6.469 kB / 0.5904 GB, free: 15.25 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.133e-06/0.4425, allocations: 4.031 kB / 0.5904 GB, free: 15.25 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.084e-05/0.4426, allocations: 10.25 kB / 0.5904 GB, free: 15.24 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000129/0.4427, allocations: 35.94 kB / 0.5905 GB, free: 15.24 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.203e-05/0.4427, allocations: 5.906 kB / 0.5905 GB, free: 15.24 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000147/0.4429, allocations: 35.72 kB / 0.5905 GB, free: 15.22 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.705e-05/0.4429, allocations: 13.94 kB / 0.5905 GB, free: 15.22 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 (sampleTrigger.y,$whenCondition2,$whenCondition1,booleanPulse.pulseStart,$PRE.booleanPulse.pulseStart,booleanPulse.y,$whenCondition3,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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001115/0.443, allocations: 140 kB / 0.5906 GB, free: 15.08 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.996e-05/0.443, allocations: 17.83 kB / 0.5907 GB, free: 15.07 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.546e-05/0.4431, allocations: 21.73 kB / 0.5907 GB, free: 15.06 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.108e-06/0.4431, allocations: 2.75 kB / 0.5907 GB, free: 15.06 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.274e-06/0.4431, allocations: 9.375 kB / 0.5907 GB, free: 15.05 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.879e-06/0.4431, allocations: 1.562 kB / 0.5907 GB, free: 15.05 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007524/0.4439, allocations: 0.5268 MB / 0.5912 GB, free: 14.62 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.036e-06/0.4439, allocations: 1.438 kB / 0.5912 GB, free: 14.62 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001145/0.444, allocations: 18.11 kB / 0.5912 GB, free: 14.62 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.737e-06/0.444, allocations: 2.438 kB / 0.5912 GB, free: 14.62 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.662e-05/0.4441, allocations: 6.359 kB / 0.5912 GB, free: 14.62 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.615e-06/0.4441, allocations: 1.969 kB / 0.5912 GB, free: 14.62 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.036e-06/0.4441, allocations: 5.219 kB / 0.5912 GB, free: 14.61 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005/0.4446, allocations: 372 kB / 0.5916 GB, free: 14.34 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.006e-05/0.4446, allocations: 98.73 kB / 0.5917 GB, free: 14.23 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.608e-05/0.4447, allocations: 7.203 kB / 0.5917 GB, free: 14.23 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001766/0.4448, allocations: 16.91 kB / 0.5917 GB, free: 14.23 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.098e-05/0.4449, allocations: 13.44 kB / 0.5917 GB, free: 14.23 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.127e-05/0.4449, allocations: 12.66 kB / 0.5917 GB, free: 14.22 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.000112/0.445, allocations: 142.5 kB / 0.5919 GB, free: 14.12 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.445, allocations: 0 / 0.5919 GB, free: 14.12 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003217/0.4454, allocations: 31.33 kB / 0.5919 GB, free: 14.12 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 (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.0001213/0.4455, allocations: 106.5 kB / 0.592 GB, free: 14.02 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0003342/0.4458, allocations: 122.7 kB / 0.5921 GB, free: 13.99 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.946e-06/0.4459, allocations: 1.219 kB / 0.5921 GB, free: 13.99 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001608/0.446, allocations: 60.44 kB / 0.5922 GB, free: 13.97 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005686/0.4466, allocations: 64.92 kB / 0.5922 GB, free: 13.96 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006173/0.4472, allocations: 426.4 kB / 0.5927 GB, free: 13.63 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002701/0.4475, allocations: 0.7247 MB / 0.5934 GB, free: 12.93 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.934e-05/0.4476, allocations: 19.11 kB / 0.5934 GB, free: 12.92 MB / 446.1 MB Notification: Performance of SimCode: time 2.495e-06/0.4476, allocations: 0 / 0.5934 GB, free: 12.92 MB / 446.1 MB Notification: Performance of Templates: time 0.00425/0.4518, allocations: 2.116 MB / 0.5954 GB, free: 12.73 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++ -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.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