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.0009318/0.000932, allocations: 102.7 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.001025/0.001025, allocations: 170.5 kB / 16.58 MB, free: 6.039 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.409/1.409, allocations: 223.2 MB / 240.6 MB, free: 5.438 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7381/0.7381, allocations: 132.3 MB / 424 MB, free: 2.102 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004102/0.0004102, allocations: 8 kB / 0.504 GB, free: 4.262 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4748/0.4752, allocations: 81.58 MB / 0.5837 GB, free: 3.961 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Discrete.Examples.BooleanDelay): time 0.001627/0.4769, allocations: 1.134 MB / 0.5848 GB, free: 3.137 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006811/0.4776, allocations: 411.1 kB / 0.5852 GB, free: 2.852 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.968e-05/0.4777, allocations: 1.25 kB / 0.5852 GB, free: 2.852 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 2.657e-05/0.4777, allocations: 1.312 kB / 0.5852 GB, free: 2.852 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 8.2e-05/0.4778, allocations: 14.67 kB / 0.5852 GB, free: 2.84 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001582/0.478, allocations: 14.19 kB / 0.5852 GB, free: 2.832 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 9.358e-05/0.4781, allocations: 42.97 kB / 0.5852 GB, free: 2.812 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.607e-05/0.4782, allocations: 9.422 kB / 0.5852 GB, free: 2.809 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.505e-05/0.4782, allocations: 22.12 kB / 0.5853 GB, free: 2.797 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.304e-05/0.4783, allocations: 18.19 kB / 0.5853 GB, free: 2.789 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.814e-05/0.4783, allocations: 2.25 kB / 0.5853 GB, free: 2.789 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.104e-05/0.4784, allocations: 1 kB / 0.5853 GB, free: 2.789 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 2.263e-05/0.4784, allocations: 4.094 kB / 0.5853 GB, free: 2.789 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 4.197e-05/0.4784, allocations: 33.39 kB / 0.5853 GB, free: 2.754 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 8.511e-05/0.4785, allocations: 27.23 kB / 0.5853 GB, free: 2.746 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.862e-06/0.4785, allocations: 5.375 kB / 0.5854 GB, free: 2.742 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.943e-06/0.4785, allocations: 0 / 0.5854 GB, free: 2.742 MB / 430.1 MB Notification: Performance of Transformations before backend: time 4.288e-06/0.4785, allocations: 0 / 0.5854 GB, free: 2.742 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.0005209/0.4791, allocations: 399 kB / 0.5857 GB, free: 2.34 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.239e-05/0.4791, allocations: 9.25 kB / 0.5857 GB, free: 2.34 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.231e-05/0.4792, allocations: 4.156 kB / 0.5857 GB, free: 2.34 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001141/0.4793, allocations: 171 kB / 0.5859 GB, free: 2.137 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.698e-05/0.4793, allocations: 1.938 kB / 0.5859 GB, free: 2.137 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.6e-05/0.4793, allocations: 3.641 kB / 0.5859 GB, free: 2.137 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001245/0.4795, allocations: 54.31 kB / 0.586 GB, free: 2.094 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.446e-06/0.4795, allocations: 0 / 0.586 GB, free: 2.094 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.215e-05/0.4795, allocations: 5.219 kB / 0.586 GB, free: 2.09 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.12e-06/0.4795, allocations: 1.312 kB / 0.586 GB, free: 2.09 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.873e-05/0.4796, allocations: 15.95 kB / 0.586 GB, free: 2.086 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003971/0.48, allocations: 281.5 kB / 0.5863 GB, free: 1.793 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.929e-05/0.4801, allocations: 47.64 kB / 0.5863 GB, free: 1.754 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.279e-05/0.4801, allocations: 19.11 kB / 0.5863 GB, free: 1.742 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.729e-05/0.4802, allocations: 6.297 kB / 0.5863 GB, free: 1.738 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000211/0.4804, allocations: 107.5 kB / 0.5864 GB, free: 1.641 MB / 430.1 MB Notification: Performance of pre-optimization done (n=9): time 1.282e-06/0.4804, allocations: 4.875 kB / 0.5864 GB, free: 1.637 MB / 430.1 MB Notification: Performance of matching and sorting (n=9): time 0.0003366/0.4808, allocations: 143 kB / 0.5866 GB, free: 1.543 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.284e-05/0.4808, allocations: 85.53 kB / 0.5867 GB, free: 1.445 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.323e-05/0.4809, allocations: 110.7 kB / 0.5868 GB, free: 1.34 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.535e-05/0.4809, allocations: 27.59 kB / 0.5868 GB, free: 1.309 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.938e-05/0.481, allocations: 87.7 kB / 0.5869 GB, free: 1.223 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.227e-05/0.481, allocations: 15.62 kB / 0.5869 GB, free: 1.211 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.181e-06/0.481, allocations: 4 kB / 0.5869 GB, free: 1.207 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 5.341e-05/0.4811, allocations: 316.5 kB / 0.5872 GB, free: 0.8945 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.48e-05/0.4811, allocations: 21.95 kB / 0.5872 GB, free: 0.8828 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.695e-05/0.4812, allocations: 32.77 kB / 0.5872 GB, free: 0.8555 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.859e-05/0.4812, allocations: 45.31 kB / 0.5873 GB, free: 0.8164 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.4812, allocations: 0 / 0.5873 GB, free: 0.8164 MB / 430.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001648/0.4814, allocations: 134.1 kB / 0.5874 GB, free: 0.7188 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.553e-05/0.4814, allocations: 33.42 kB / 0.5874 GB, free: 0.6875 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.085e-06/0.4815, allocations: 5.641 kB / 0.5874 GB, free: 0.6836 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.47e-05/0.4815, allocations: 1.656 kB / 0.5874 GB, free: 0.6836 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.356e-05/0.4815, allocations: 3.359 kB / 0.5875 GB, free: 0.6836 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.213e-06/0.4815, allocations: 4.703 kB / 0.5875 GB, free: 0.6797 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.531e-05/0.4816, allocations: 9.25 kB / 0.5875 GB, free: 0.6797 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.608e-06/0.4816, allocations: 3.469 kB / 0.5875 GB, free: 0.6797 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 ($PRE.del.firstTrigger,del.firstTrigger,$whenCondition2,$whenCondition1,$whenCondition3,del.y,del.sampleTrigger,del.ySample,booleanPulse.y,$PRE.booleanPulse.pulseStart,booleanPulse.pulseStart) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.619e-05/0.4817, allocations: 149.5 kB / 0.5876 GB, free: 0.5273 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.566e-05/0.4817, allocations: 7.594 kB / 0.5876 GB, free: 0.5234 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.637e-05/0.4818, allocations: 10.88 kB / 0.5876 GB, free: 0.5078 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.125e-06/0.4818, allocations: 1.734 kB / 0.5876 GB, free: 0.5078 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.479e-06/0.4818, allocations: 0 / 0.5876 GB, free: 0.5078 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.651e-06/0.4818, allocations: 5.094 kB / 0.5876 GB, free: 0.5039 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003338/0.4821, allocations: 400.6 kB / 0.588 GB, free: 140 kB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.203e-06/0.4822, allocations: 0 / 0.588 GB, free: 140 kB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.035e-05/0.4822, allocations: 5.734 kB / 0.588 GB, free: 136 kB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.916e-06/0.4822, allocations: 1.062 kB / 0.588 GB, free: 136 kB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.383e-05/0.4822, allocations: 10.48 kB / 0.588 GB, free: 128 kB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.976e-06/0.4822, allocations: 8.859 kB / 0.588 GB, free: 120 kB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.813e-06/0.4822, allocations: 0.6094 kB / 0.588 GB, free: 120 kB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002456/0.4825, allocations: 224.3 kB / 0.5883 GB, free: 15.93 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.041e-05/0.4825, allocations: 79.64 kB / 0.5883 GB, free: 15.84 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.451e-05/0.4825, allocations: 7 kB / 0.5883 GB, free: 15.84 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001024/0.4826, allocations: 14.58 kB / 0.5884 GB, free: 15.83 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.694e-05/0.4827, allocations: 14.3 kB / 0.5884 GB, free: 15.82 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.966e-05/0.4827, allocations: 7.891 kB / 0.5884 GB, free: 15.82 MB / 446.1 MB Notification: Performance of sorting global known variables: time 5.329e-05/0.4828, allocations: 87.66 kB / 0.5885 GB, free: 15.74 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4828, allocations: 0 / 0.5885 GB, free: 15.74 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002346/0.483, allocations: 14.25 kB / 0.5885 GB, free: 15.74 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 (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.0001052/0.4832, allocations: 101.7 kB / 0.5886 GB, free: 15.65 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002099/0.4834, allocations: 113.8 kB / 0.5887 GB, free: 15.57 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.028e-06/0.4834, allocations: 4.125 kB / 0.5887 GB, free: 15.57 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 9.979e-05/0.4835, allocations: 88.86 kB / 0.5888 GB, free: 15.49 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003045/0.4838, allocations: 14.91 kB / 0.5888 GB, free: 15.49 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003795/0.4842, allocations: 184.4 kB / 0.589 GB, free: 15.32 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002665/0.4845, allocations: 0.6917 MB / 0.5896 GB, free: 14.62 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.85e-05/0.4845, allocations: 11.48 kB / 0.5896 GB, free: 14.62 MB / 446.1 MB Notification: Performance of SimCode: time 2.21e-07/0.4845, allocations: 0.875 kB / 0.5896 GB, free: 14.62 MB / 446.1 MB Notification: Performance of Templates: time 0.002826/0.4873, allocations: 0.8878 MB / 0.5905 GB, free: 14.54 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++ 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.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