Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Controls.Continuous.Examples.OffTimer.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.OffTimer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.Continuous.Examples.OffTimer") translateModel(IDEAS.Controls.Continuous.Examples.OffTimer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.Continuous.Examples.OffTimer") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008535/0.0008534, allocations: 97.78 kB / 16.02 MB, free: 76 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.0009378/0.0009378, allocations: 187.3 kB / 16.92 MB, free: 6.75 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.476/1.476, allocations: 223.3 MB / 241 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7507/0.7507, allocations: 132.3 MB / 424.4 MB, free: 1.977 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003735/0.0003736, allocations: 10.06 kB / 0.5046 GB, free: 3.91 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5578/0.5582, allocations: 81.57 MB / 0.5843 GB, free: 4.043 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Continuous.Examples.OffTimer): time 0.001607/0.5598, allocations: 1.178 MB / 0.5854 GB, free: 3.184 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006204/0.5605, allocations: 444.9 kB / 0.5859 GB, free: 2.871 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.022e-05/0.5605, allocations: 1.375 kB / 0.5859 GB, free: 2.871 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 1.705e-05/0.5605, allocations: 1.172 kB / 0.5859 GB, free: 2.871 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 8.93e-05/0.5606, allocations: 5.156 kB / 0.5859 GB, free: 2.867 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001499/0.5608, allocations: 15.78 kB / 0.5859 GB, free: 2.859 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 8.792e-05/0.5609, allocations: 58.11 kB / 0.5859 GB, free: 2.828 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001155/0.561, allocations: 16.38 kB / 0.586 GB, free: 2.82 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.006e-05/0.5611, allocations: 17.44 kB / 0.586 GB, free: 2.812 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.289e-05/0.5611, allocations: 18.16 kB / 0.586 GB, free: 2.805 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.805e-05/0.5612, allocations: 2.031 kB / 0.586 GB, free: 2.805 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.321e-05/0.5612, allocations: 1.938 kB / 0.586 GB, free: 2.805 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 2.282e-05/0.5612, allocations: 9.297 kB / 0.586 GB, free: 2.801 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 4.681e-05/0.5613, allocations: 53.98 kB / 0.586 GB, free: 2.75 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 7.594e-05/0.5613, allocations: 20.09 kB / 0.5861 GB, free: 2.75 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.999e-06/0.5614, allocations: 1.391 kB / 0.5861 GB, free: 2.75 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.053e-06/0.5614, allocations: 0 / 0.5861 GB, free: 2.75 MB / 430.1 MB Notification: Performance of Transformations before backend: time 3.767e-06/0.5614, allocations: 4 kB / 0.5861 GB, free: 2.746 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0004571/0.5618, allocations: 354.2 kB / 0.5864 GB, free: 2.387 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.113e-05/0.5619, allocations: 9.438 kB / 0.5864 GB, free: 2.387 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.393e-05/0.5619, allocations: 8.312 kB / 0.5864 GB, free: 2.383 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.96e-05/0.562, allocations: 172.6 kB / 0.5866 GB, free: 2.18 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.758e-05/0.5621, allocations: 2.906 kB / 0.5866 GB, free: 2.18 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.888e-05/0.5621, allocations: 8.656 kB / 0.5866 GB, free: 2.176 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001099/0.5622, allocations: 57.84 kB / 0.5867 GB, free: 2.133 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.719e-06/0.5622, allocations: 1.625 kB / 0.5867 GB, free: 2.133 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.062e-05/0.5622, allocations: 4 kB / 0.5867 GB, free: 2.129 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.394e-06/0.5622, allocations: 1.562 kB / 0.5867 GB, free: 2.129 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.559e-05/0.5623, allocations: 26.89 kB / 0.5867 GB, free: 2.121 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004366/0.5628, allocations: 312.7 kB / 0.587 GB, free: 1.824 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001131/0.5629, allocations: 57.73 kB / 0.587 GB, free: 1.785 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.307e-05/0.5629, allocations: 22.48 kB / 0.5871 GB, free: 1.773 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.41e-05/0.563, allocations: 5.656 kB / 0.5871 GB, free: 1.77 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001658/0.5631, allocations: 77.38 kB / 0.5871 GB, free: 1.707 MB / 430.1 MB Notification: Performance of pre-optimization done (n=9): time 1.362e-06/0.5631, allocations: 0.8125 kB / 0.5871 GB, free: 1.707 MB / 430.1 MB Notification: Performance of matching and sorting (n=9): time 0.0002299/0.5634, allocations: 100.8 kB / 0.5872 GB, free: 1.652 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.111e-05/0.5634, allocations: 62.16 kB / 0.5873 GB, free: 1.582 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.936e-05/0.5635, allocations: 104.3 kB / 0.5874 GB, free: 1.48 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.346e-05/0.5635, allocations: 26.55 kB / 0.5874 GB, free: 1.449 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.563e-05/0.5635, allocations: 90.84 kB / 0.5875 GB, free: 1.359 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.505e-05/0.5636, allocations: 21.52 kB / 0.5875 GB, free: 1.344 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.796e-05/0.5636, allocations: 19.17 kB / 0.5876 GB, free: 1.324 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 5.834e-05/0.5637, allocations: 326.3 kB / 0.5879 GB, free: 1 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.684e-05/0.5637, allocations: 19.36 kB / 0.5879 GB, free: 0.9922 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.184e-05/0.5638, allocations: 44.88 kB / 0.5879 GB, free: 0.9531 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.624e-05/0.5639, allocations: 65.28 kB / 0.588 GB, free: 0.9023 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.956e-06/0.5639, allocations: 0.7188 kB / 0.588 GB, free: 0.9023 MB / 430.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001441/0.564, allocations: 101.2 kB / 0.5881 GB, free: 0.8398 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.598e-05/0.5641, allocations: 5.609 kB / 0.5881 GB, free: 0.8398 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.891e-06/0.5641, allocations: 1.25 kB / 0.5881 GB, free: 0.8398 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.536e-05/0.5641, allocations: 2.438 kB / 0.5881 GB, free: 0.8398 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.993e-05/0.5642, allocations: 9.031 kB / 0.5881 GB, free: 0.8398 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.681e-06/0.5642, allocations: 6.312 kB / 0.5881 GB, free: 0.8359 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.864e-05/0.5642, allocations: 12.06 kB / 0.5881 GB, free: 0.832 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.036e-05/0.5643, allocations: 7.344 kB / 0.5881 GB, free: 0.8281 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition1,not1.y,booleanPulse.pulseStart,$PRE.booleanPulse.pulseStart,$whenCondition2,$whenCondition3,offTim1.entryTime,$PRE.offTim1.entryTime,offTim2.entryTime,$PRE.offTim2.entryTime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (12): * Single equations (assignments): 12 * 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 6.791e-05/0.5643, allocations: 124.5 kB / 0.5882 GB, free: 0.7031 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.277e-05/0.5644, allocations: 6.25 kB / 0.5883 GB, free: 0.6992 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.84e-05/0.5644, allocations: 9.344 kB / 0.5883 GB, free: 0.6875 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.496e-06/0.5644, allocations: 1.766 kB / 0.5883 GB, free: 0.6875 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.318e-06/0.5644, allocations: 0.625 kB / 0.5883 GB, free: 0.6875 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.607e-06/0.5644, allocations: 0.75 kB / 0.5883 GB, free: 0.6875 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003468/0.5648, allocations: 363.9 kB / 0.5886 GB, free: 364 kB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.783e-06/0.5648, allocations: 0.7031 kB / 0.5886 GB, free: 364 kB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.617e-05/0.5648, allocations: 8.422 kB / 0.5886 GB, free: 360 kB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.404e-06/0.5648, allocations: 1.125 kB / 0.5886 GB, free: 360 kB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.808e-06/0.5648, allocations: 1.562 kB / 0.5886 GB, free: 360 kB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.026e-06/0.5648, allocations: 8.391 kB / 0.5886 GB, free: 352 kB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/0.5648, allocations: 1.281 kB / 0.5886 GB, free: 352 kB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001418/0.565, allocations: 186.9 kB / 0.5888 GB, free: 192 kB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.205e-05/0.565, allocations: 86.58 kB / 0.5889 GB, free: 88 kB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.501e-05/0.565, allocations: 5.969 kB / 0.5889 GB, free: 84 kB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.417e-05/0.5651, allocations: 12.16 kB / 0.5889 GB, free: 80 kB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.631e-05/0.5652, allocations: 7.297 kB / 0.5889 GB, free: 80 kB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.232e-06/0.5652, allocations: 2.312 kB / 0.5889 GB, free: 80 kB / 430.1 MB Notification: Performance of sorting global known variables: time 2.924e-05/0.5652, allocations: 85.88 kB / 0.589 GB, free: 0 / 430.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.5652, allocations: 0 / 0.589 GB, free: 0 / 430.1 MB Notification: Performance of remove unused functions: time 0.0002183/0.5655, allocations: 10.84 kB / 0.589 GB, free: 0 / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 7 (not1.y,$whenCondition3,$whenCondition2,$whenCondition1,booleanPulse.pulseStart,offTim1.entryTime,offTim2.entryTime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.0001229/0.5656, allocations: 103.9 kB / 0.5891 GB, free: 15.9 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001368/0.5657, allocations: 53.66 kB / 0.5892 GB, free: 15.89 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.402e-06/0.5657, allocations: 0 / 0.5892 GB, free: 15.89 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 5.805e-05/0.5658, allocations: 27.36 kB / 0.5892 GB, free: 15.88 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000263/0.5661, allocations: 14.31 kB / 0.5892 GB, free: 15.88 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000451/0.5665, allocations: 205.9 kB / 0.5894 GB, free: 15.7 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003706/0.5669, allocations: 0.6852 MB / 0.5901 GB, free: 15.01 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.036e-05/0.567, allocations: 11.67 kB / 0.5901 GB, free: 15 MB / 446.1 MB Notification: Performance of SimCode: time 3.21e-07/0.567, allocations: 0 / 0.5901 GB, free: 15 MB / 446.1 MB Notification: Performance of Templates: time 0.002513/0.5695, allocations: 0.8492 MB / 0.5909 GB, free: 14.94 MB / 446.1 MB make -j1 -f IDEAS_IDEAS.Controls.Continuous.Examples.OffTimer.makefile make -j1 -f IDEAS_IDEAS.Controls.Continuous.Examples.OffTimer.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.OffTimerCalcHelperMain.o OMCppIDEAS_IDEAS.Controls.Continuous.Examples.OffTimerCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppIDEAS_IDEAS.Controls.Continuous.Examples.OffTimerCalcHelperMain.o] Error 1