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.0007919/0.0007919, 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.0009262/0.0009263, allocations: 173.5 kB / 16.58 MB, free: 6.344 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.413/1.413, allocations: 223.3 MB / 240.6 MB, free: 5.441 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7978/0.7978, allocations: 132.3 MB / 424 MB, free: 2.141 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003376/0.0003377, allocations: 8 kB / 0.504 GB, free: 4.305 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4587/0.4591, allocations: 81.58 MB / 0.5837 GB, free: 4.012 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Continuous.Examples.OffTimer): time 0.001563/0.4607, allocations: 1.173 MB / 0.5848 GB, free: 3.156 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006442/0.4614, allocations: 422.5 kB / 0.5852 GB, free: 2.863 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.847e-05/0.4614, allocations: 0.6875 kB / 0.5852 GB, free: 2.863 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 1.876e-05/0.4615, allocations: 7.359 kB / 0.5852 GB, free: 2.859 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 8.622e-05/0.4615, allocations: 6.609 kB / 0.5852 GB, free: 2.855 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001487/0.4617, allocations: 16.53 kB / 0.5852 GB, free: 2.848 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 8.791e-05/0.4618, allocations: 48.66 kB / 0.5853 GB, free: 2.824 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001057/0.4619, allocations: 8.297 kB / 0.5853 GB, free: 2.824 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.401e-05/0.462, allocations: 17.62 kB / 0.5853 GB, free: 2.816 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.287e-05/0.462, allocations: 19.56 kB / 0.5853 GB, free: 2.809 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.93e-05/0.4621, allocations: 2.5 kB / 0.5853 GB, free: 2.809 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.167e-05/0.4621, allocations: 2.219 kB / 0.5853 GB, free: 2.809 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 2.076e-05/0.4621, allocations: 13.25 kB / 0.5853 GB, free: 2.801 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 3.215e-05/0.4621, allocations: 30.72 kB / 0.5854 GB, free: 2.77 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 8.147e-05/0.4622, allocations: 32.08 kB / 0.5854 GB, free: 2.758 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.019e-06/0.4622, allocations: 4 kB / 0.5854 GB, free: 2.754 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.4623, allocations: 0 / 0.5854 GB, free: 2.754 MB / 430.1 MB Notification: Performance of Transformations before backend: time 3.888e-06/0.4623, allocations: 1 kB / 0.5854 GB, free: 2.754 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.0004393/0.4627, allocations: 354.3 kB / 0.5858 GB, free: 2.395 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.314e-05/0.4628, allocations: 9.25 kB / 0.5858 GB, free: 2.395 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.86e-05/0.4628, allocations: 11.48 kB / 0.5858 GB, free: 2.387 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.072e-05/0.4629, allocations: 170.7 kB / 0.5859 GB, free: 2.184 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.751e-05/0.4629, allocations: 10.3 kB / 0.5859 GB, free: 2.176 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.438e-05/0.4629, allocations: 4.312 kB / 0.5859 GB, free: 2.176 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001103/0.4631, allocations: 57.67 kB / 0.586 GB, free: 2.133 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.464e-06/0.4631, allocations: 1.781 kB / 0.586 GB, free: 2.133 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.235e-05/0.4631, allocations: 0.7031 kB / 0.586 GB, free: 2.133 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.037e-06/0.4631, allocations: 0.9688 kB / 0.586 GB, free: 2.133 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.212e-05/0.4632, allocations: 30.28 kB / 0.586 GB, free: 2.121 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004581/0.4636, allocations: 308.5 kB / 0.5863 GB, free: 1.828 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001074/0.4638, allocations: 57.03 kB / 0.5864 GB, free: 1.789 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.458e-05/0.4638, allocations: 27.19 kB / 0.5864 GB, free: 1.773 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.318e-05/0.4638, allocations: 1.094 kB / 0.5864 GB, free: 1.773 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001619/0.464, allocations: 73.61 kB / 0.5865 GB, free: 1.715 MB / 430.1 MB Notification: Performance of pre-optimization done (n=9): time 2.094e-06/0.464, allocations: 0 / 0.5865 GB, free: 1.715 MB / 430.1 MB Notification: Performance of matching and sorting (n=9): time 0.0002409/0.4643, allocations: 103.4 kB / 0.5866 GB, free: 1.656 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.291e-05/0.4643, allocations: 54.09 kB / 0.5866 GB, free: 1.594 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.148e-05/0.4644, allocations: 107.3 kB / 0.5867 GB, free: 1.488 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.317e-05/0.4644, allocations: 27.77 kB / 0.5868 GB, free: 1.457 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.283e-05/0.4644, allocations: 91.19 kB / 0.5868 GB, free: 1.367 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.409e-05/0.4645, allocations: 32.23 kB / 0.5869 GB, free: 1.34 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.118e-06/0.4645, allocations: 0 / 0.5869 GB, free: 1.34 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 5.339e-05/0.4645, allocations: 319.6 kB / 0.5872 GB, free: 1.023 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.601e-05/0.4646, allocations: 15.23 kB / 0.5872 GB, free: 1.02 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.236e-05/0.4646, allocations: 43.89 kB / 0.5872 GB, free: 0.9805 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.464e-05/0.4647, allocations: 19.77 kB / 0.5873 GB, free: 0.9727 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.374e-06/0.4647, allocations: 5.531 kB / 0.5873 GB, free: 0.9688 MB / 430.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001405/0.4648, allocations: 96.59 kB / 0.5874 GB, free: 0.9102 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.547e-05/0.4649, allocations: 4.562 kB / 0.5874 GB, free: 0.9102 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.002e-06/0.4649, allocations: 2.188 kB / 0.5874 GB, free: 0.9102 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.518e-05/0.4649, allocations: 5.547 kB / 0.5874 GB, free: 0.9062 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.038e-05/0.465, allocations: 14.36 kB / 0.5874 GB, free: 0.9023 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.144e-06/0.465, allocations: 1.891 kB / 0.5874 GB, free: 0.9023 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.588e-05/0.465, allocations: 15.52 kB / 0.5874 GB, free: 0.8945 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.298e-06/0.4651, allocations: 3.859 kB / 0.5874 GB, free: 0.8945 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,$whenCondition3,$whenCondition2,$PRE.booleanPulse.pulseStart,booleanPulse.pulseStart,not1.y,$PRE.offTim1.entryTime,offTim1.entryTime,$PRE.offTim2.entryTime,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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.829e-05/0.4651, allocations: 128 kB / 0.5875 GB, free: 0.7656 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.296e-05/0.4652, allocations: 2.531 kB / 0.5875 GB, free: 0.7656 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.843e-05/0.4652, allocations: 13.58 kB / 0.5875 GB, free: 0.75 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.487e-06/0.4652, allocations: 1.969 kB / 0.5875 GB, free: 0.75 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.372e-06/0.4652, allocations: 4.656 kB / 0.5875 GB, free: 0.7461 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.086e-06/0.4652, allocations: 0 / 0.5875 GB, free: 0.7461 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003506/0.4656, allocations: 359.9 kB / 0.5879 GB, free: 428 kB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.343e-06/0.4656, allocations: 1.125 kB / 0.5879 GB, free: 428 kB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.612e-05/0.4656, allocations: 3.828 kB / 0.5879 GB, free: 428 kB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.074e-06/0.4656, allocations: 1.469 kB / 0.5879 GB, free: 428 kB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.016e-05/0.4656, allocations: 5.156 kB / 0.5879 GB, free: 424 kB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.993e-06/0.4657, allocations: 0.75 kB / 0.5879 GB, free: 424 kB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.883e-06/0.4657, allocations: 0.5625 kB / 0.5879 GB, free: 424 kB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001434/0.4658, allocations: 181.9 kB / 0.5881 GB, free: 268 kB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.37e-05/0.4658, allocations: 87.75 kB / 0.5882 GB, free: 164 kB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.709e-05/0.4659, allocations: 5.625 kB / 0.5882 GB, free: 160 kB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.081e-05/0.466, allocations: 12.17 kB / 0.5882 GB, free: 156 kB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.806e-05/0.466, allocations: 7.406 kB / 0.5882 GB, free: 156 kB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.269e-06/0.466, allocations: 2.344 kB / 0.5882 GB, free: 156 kB / 430.1 MB Notification: Performance of sorting global known variables: time 2.699e-05/0.466, allocations: 85.81 kB / 0.5883 GB, free: 76 kB / 430.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.4661, allocations: 0 / 0.5883 GB, free: 76 kB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002296/0.4663, allocations: 11.47 kB / 0.5883 GB, free: 76 kB / 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 (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.0001108/0.4664, allocations: 106.2 kB / 0.5884 GB, free: 15.97 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001435/0.4666, allocations: 52.94 kB / 0.5884 GB, free: 15.96 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.4666, allocations: 0 / 0.5884 GB, free: 15.96 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 6.04e-05/0.4666, allocations: 27.22 kB / 0.5885 GB, free: 15.95 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002733/0.4669, allocations: 11.94 kB / 0.5885 GB, free: 15.95 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004613/0.4674, allocations: 210.5 kB / 0.5887 GB, free: 15.77 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003023/0.4677, allocations: 0.684 MB / 0.5893 GB, free: 15.07 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.431e-05/0.4678, allocations: 11.78 kB / 0.5893 GB, free: 15.07 MB / 446.1 MB Notification: Performance of SimCode: time 2.5e-07/0.4678, allocations: 0 / 0.5893 GB, free: 15.07 MB / 446.1 MB Notification: Performance of Templates: time 0.002919/0.4707, allocations: 0.848 MB / 0.5902 GB, free: 15.01 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++ 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.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