Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Controls.Discrete.Examples.BooleanDelay.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.Discrete.Examples.BooleanDelay,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.Discrete.Examples.BooleanDelay") translateModel(IDEAS.Controls.Discrete.Examples.BooleanDelay,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.Discrete.Examples.BooleanDelay") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000896/0.000896, allocations: 99.19 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.001321/0.001321, allocations: 185.6 kB / 16.92 MB, free: 6.688 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.45/1.45, allocations: 223.3 MB / 241 MB, free: 5.277 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7556/0.7556, allocations: 132.3 MB / 424.4 MB, free: 1.961 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003587/0.000359, allocations: 13.03 kB / 0.5046 GB, free: 3.914 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4868/0.4872, allocations: 81.58 MB / 0.5843 GB, free: 4.043 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Discrete.Examples.BooleanDelay): time 0.001676/0.4889, allocations: 1.138 MB / 0.5854 GB, free: 3.219 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007479/0.4897, allocations: 436.5 kB / 0.5858 GB, free: 2.914 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.21e-05/0.4898, allocations: 0.5938 kB / 0.5858 GB, free: 2.914 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 1.725e-05/0.4898, allocations: 3.328 kB / 0.5858 GB, free: 2.914 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 9.142e-05/0.4899, allocations: 6.594 kB / 0.5858 GB, free: 2.91 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001584/0.49, allocations: 19.06 kB / 0.5858 GB, free: 2.898 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 9.559e-05/0.4902, allocations: 48.3 kB / 0.5859 GB, free: 2.875 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.364e-05/0.4903, allocations: 9.062 kB / 0.5859 GB, free: 2.871 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.154e-05/0.4903, allocations: 19.48 kB / 0.5859 GB, free: 2.863 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.422e-05/0.4904, allocations: 18.2 kB / 0.5859 GB, free: 2.855 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 2.614e-05/0.4904, allocations: 7.125 kB / 0.5859 GB, free: 2.852 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.178e-05/0.4905, allocations: 1.531 kB / 0.5859 GB, free: 2.852 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 2.727e-05/0.4905, allocations: 8.312 kB / 0.5859 GB, free: 2.848 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 5.84e-05/0.4906, allocations: 46.19 kB / 0.586 GB, free: 2.805 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 9.651e-05/0.4907, allocations: 29.81 kB / 0.586 GB, free: 2.797 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.436e-06/0.4907, allocations: 0 / 0.586 GB, free: 2.797 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.323e-06/0.4907, allocations: 0 / 0.586 GB, free: 2.797 MB / 430.1 MB Notification: Performance of Transformations before backend: time 5.24e-06/0.4907, allocations: 1.062 kB / 0.586 GB, free: 2.797 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005771/0.4913, allocations: 394.6 kB / 0.5864 GB, free: 2.398 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.721e-05/0.4913, allocations: 9.344 kB / 0.5864 GB, free: 2.398 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.814e-05/0.4914, allocations: 4.719 kB / 0.5864 GB, free: 2.398 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001121/0.4915, allocations: 176.6 kB / 0.5866 GB, free: 2.191 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.95e-05/0.4915, allocations: 3.219 kB / 0.5866 GB, free: 2.191 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.136e-05/0.4915, allocations: 6.438 kB / 0.5866 GB, free: 2.188 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000125/0.4917, allocations: 55.88 kB / 0.5866 GB, free: 2.145 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.267e-06/0.4917, allocations: 4.75 kB / 0.5866 GB, free: 2.141 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.188e-05/0.4917, allocations: 0.9375 kB / 0.5866 GB, free: 2.141 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.051e-06/0.4917, allocations: 1.219 kB / 0.5866 GB, free: 2.141 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.277e-05/0.4918, allocations: 19.64 kB / 0.5867 GB, free: 2.133 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003851/0.4922, allocations: 277.5 kB / 0.5869 GB, free: 1.844 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.903e-05/0.4923, allocations: 41.17 kB / 0.587 GB, free: 1.812 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.12e-05/0.4923, allocations: 26.78 kB / 0.587 GB, free: 1.793 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.052e-05/0.4924, allocations: 1.094 kB / 0.587 GB, free: 1.793 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001965/0.4926, allocations: 97.11 kB / 0.5871 GB, free: 1.707 MB / 430.1 MB Notification: Performance of pre-optimization done (n=9): time 1.353e-06/0.4926, allocations: 0 / 0.5871 GB, free: 1.707 MB / 430.1 MB Notification: Performance of matching and sorting (n=9): time 0.0002913/0.4929, allocations: 140.1 kB / 0.5872 GB, free: 1.617 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.747e-05/0.4929, allocations: 80.47 kB / 0.5873 GB, free: 1.523 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.746e-05/0.493, allocations: 112.4 kB / 0.5874 GB, free: 1.418 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.189e-05/0.493, allocations: 26.42 kB / 0.5874 GB, free: 1.387 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.553e-05/0.4931, allocations: 91.41 kB / 0.5875 GB, free: 1.297 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.265e-05/0.4931, allocations: 20.22 kB / 0.5875 GB, free: 1.281 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.33e-05/0.4931, allocations: 19.12 kB / 0.5876 GB, free: 1.262 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 5.86e-05/0.4932, allocations: 323 kB / 0.5879 GB, free: 0.9414 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.512e-05/0.4932, allocations: 19.11 kB / 0.5879 GB, free: 0.9336 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.925e-05/0.4933, allocations: 42 kB / 0.5879 GB, free: 0.8984 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.62e-05/0.4934, allocations: 110 kB / 0.588 GB, free: 0.793 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.518e-06/0.4934, allocations: 5.922 kB / 0.588 GB, free: 0.7891 MB / 430.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001531/0.4936, allocations: 124.8 kB / 0.5881 GB, free: 0.6992 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.312e-05/0.4936, allocations: 34.09 kB / 0.5882 GB, free: 0.668 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.901e-06/0.4936, allocations: 0.8438 kB / 0.5882 GB, free: 0.668 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.494e-05/0.4936, allocations: 0.9062 kB / 0.5882 GB, free: 0.668 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.783e-05/0.4937, allocations: 4.344 kB / 0.5882 GB, free: 0.668 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.542e-06/0.4937, allocations: 1.656 kB / 0.5882 GB, free: 0.668 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.697e-05/0.4938, allocations: 12.67 kB / 0.5882 GB, free: 0.6641 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.016e-05/0.4938, allocations: 4.516 kB / 0.5882 GB, free: 0.6641 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 11 (del.firstTrigger,$PRE.del.firstTrigger,$whenCondition2,booleanPulse.pulseStart,$PRE.booleanPulse.pulseStart,booleanPulse.y,del.ySample,del.sampleTrigger,del.y,$whenCondition3,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 1 * 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 8.476e-05/0.4939, allocations: 152.6 kB / 0.5883 GB, free: 0.5078 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.58e-05/0.4939, allocations: 7.938 kB / 0.5884 GB, free: 0.5039 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.637e-05/0.4939, allocations: 6.812 kB / 0.5884 GB, free: 0.4922 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.467e-06/0.4939, allocations: 4.797 kB / 0.5884 GB, free: 500 kB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.62e-06/0.494, allocations: 1.125 kB / 0.5884 GB, free: 500 kB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.719e-06/0.494, allocations: 8.797 kB / 0.5884 GB, free: 492 kB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003498/0.4943, allocations: 404.1 kB / 0.5888 GB, free: 112 kB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.482e-06/0.4943, allocations: 0 / 0.5888 GB, free: 112 kB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.838e-06/0.4944, allocations: 9.703 kB / 0.5888 GB, free: 104 kB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/0.4944, allocations: 1.031 kB / 0.5888 GB, free: 104 kB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.215e-05/0.4944, allocations: 2.922 kB / 0.5888 GB, free: 104 kB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.302e-06/0.4944, allocations: 0 / 0.5888 GB, free: 104 kB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.4944, allocations: 1.094 kB / 0.5888 GB, free: 104 kB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002565/0.4946, allocations: 232.4 kB / 0.589 GB, free: 15.91 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.582e-05/0.4947, allocations: 87.73 kB / 0.5891 GB, free: 15.81 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.395e-05/0.4947, allocations: 6.547 kB / 0.5891 GB, free: 15.8 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001022/0.4948, allocations: 11.64 kB / 0.5891 GB, free: 15.8 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.927e-05/0.4949, allocations: 9.562 kB / 0.5891 GB, free: 15.8 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.581e-05/0.4949, allocations: 8.047 kB / 0.5891 GB, free: 15.8 MB / 446.1 MB Notification: Performance of sorting global known variables: time 5.335e-05/0.495, allocations: 89.05 kB / 0.5892 GB, free: 15.72 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.913e-06/0.495, allocations: 4 kB / 0.5892 GB, free: 15.71 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002261/0.4952, allocations: 16.88 kB / 0.5892 GB, free: 15.71 MB / 446.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: 9 (del.sampleTrigger,$whenCondition2,$whenCondition1,$whenCondition3,del.y,del.firstTrigger,del.ySample,booleanPulse.y,booleanPulse.pulseStart) * Number of discrete states: 3 (del.ySample,del.y,$whenCondition3) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 2 * 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.0001271/0.4954, allocations: 100.7 kB / 0.5893 GB, free: 15.62 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002106/0.4956, allocations: 114.6 kB / 0.5894 GB, free: 15.54 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.4956, allocations: 0 / 0.5894 GB, free: 15.54 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 9.865e-05/0.4957, allocations: 92.94 kB / 0.5895 GB, free: 15.46 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003054/0.496, allocations: 23.39 kB / 0.5895 GB, free: 15.46 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000392/0.4964, allocations: 191.8 kB / 0.5897 GB, free: 15.29 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003233/0.4967, allocations: 0.685 MB / 0.5904 GB, free: 14.59 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.926e-05/0.4968, allocations: 11.34 kB / 0.5904 GB, free: 14.59 MB / 446.1 MB Notification: Performance of SimCode: time 4.21e-07/0.4968, allocations: 0 / 0.5904 GB, free: 14.59 MB / 446.1 MB Notification: Performance of Templates: time 0.002881/0.4997, allocations: 0.8821 MB / 0.5913 GB, free: 14.52 MB / 446.1 MB make -j1 -f IDEAS_IDEAS.Controls.Discrete.Examples.BooleanDelay.makefile make -j1 -f IDEAS_IDEAS.Controls.Discrete.Examples.BooleanDelay.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.Discrete.Examples.BooleanDelayCalcHelperMain.o OMCppIDEAS_IDEAS.Controls.Discrete.Examples.BooleanDelayCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppIDEAS_IDEAS.Controls.Discrete.Examples.BooleanDelayCalcHelperMain.o] Error 1