Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse") translateModel(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001479/0.001479, allocations: 96.14 kB / 15.87 MB, free: 16 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.001218/0.001218, allocations: 194.1 kB / 16.79 MB, free: 6.812 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.85/1.85, allocations: 205.1 MB / 222.6 MB, free: 4.781 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.907/1.907, allocations: 292.3 MB / 0.5491 GB, free: 13.62 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00143/0.00143, allocations: 67.7 kB / 0.6715 GB, free: 26.43 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3186/0.3201, allocations: 114.6 MB / 0.7834 GB, free: 13.98 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse): time 0.002748/0.3228, allocations: 1.032 MB / 0.7844 GB, free: 12.95 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.002133/0.325, allocations: 1.488 MB / 0.7858 GB, free: 11.44 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.091e-05/0.3251, allocations: 8 kB / 0.7858 GB, free: 11.43 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 6.165e-05/0.3252, allocations: 11.86 kB / 0.7858 GB, free: 11.42 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001353/0.3253, allocations: 31.72 kB / 0.7859 GB, free: 11.39 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.000999/0.3264, allocations: 413.7 kB / 0.7863 GB, free: 11 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0005227/0.3269, allocations: 427.1 kB / 0.7867 GB, free: 10.58 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001367/0.327, allocations: 41.67 kB / 0.7867 GB, free: 10.54 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001647/0.3272, allocations: 143.6 kB / 0.7868 GB, free: 10.39 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002279/0.3274, allocations: 135.4 kB / 0.787 GB, free: 10.26 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 6.052e-05/0.3275, allocations: 24 kB / 0.787 GB, free: 10.24 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001017/0.3276, allocations: 31.98 kB / 0.787 GB, free: 10.21 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 4.412e-05/0.3277, allocations: 31.84 kB / 0.7871 GB, free: 10.18 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001745/0.3278, allocations: 139.4 kB / 0.7872 GB, free: 10.04 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0003772/0.3282, allocations: 383.4 kB / 0.7876 GB, free: 9.664 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.3282, allocations: 0 / 0.7876 GB, free: 9.664 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.012e-06/0.3282, allocations: 0 / 0.7876 GB, free: 9.664 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.001e-06/0.3283, allocations: 0 / 0.7876 GB, free: 9.664 MB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0008484/0.3291, allocations: 0.6301 MB / 0.7882 GB, free: 8.957 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.508e-05/0.3292, allocations: 15.95 kB / 0.7882 GB, free: 8.941 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001018/0.3293, allocations: 32.75 kB / 0.7882 GB, free: 8.91 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002262/0.3295, allocations: 226.9 kB / 0.7884 GB, free: 8.648 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.835e-05/0.3295, allocations: 12.38 kB / 0.7884 GB, free: 8.637 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.477e-05/0.3296, allocations: 20.38 kB / 0.7885 GB, free: 8.617 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002149/0.3298, allocations: 121.6 kB / 0.7886 GB, free: 8.48 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.177e-06/0.3298, allocations: 4.125 kB / 0.7886 GB, free: 8.477 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.67e-05/0.3299, allocations: 7.938 kB / 0.7886 GB, free: 8.469 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.438e-06/0.3299, allocations: 4 kB / 0.7886 GB, free: 8.465 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001179/0.33, allocations: 55.92 kB / 0.7886 GB, free: 8.41 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001297/0.3313, allocations: 0.8757 MB / 0.7895 GB, free: 7.473 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002136/0.3315, allocations: 114.4 kB / 0.7896 GB, free: 7.324 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.434e-05/0.3316, allocations: 51.5 kB / 0.7897 GB, free: 7.262 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.348e-05/0.3316, allocations: 3.984 kB / 0.7897 GB, free: 7.258 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003354/0.332, allocations: 178.6 kB / 0.7898 GB, free: 7.059 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=16): time 1.422e-06/0.332, allocations: 4 kB / 0.7898 GB, free: 7.055 MB / 0.6075 GB Notification: Performance of matching and sorting (n=16): time 0.0006341/0.3326, allocations: 217.3 kB / 0.79 GB, free: 6.836 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.052e-05/0.3327, allocations: 140.5 kB / 0.7902 GB, free: 6.668 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003591/0.3331, allocations: 244.8 kB / 0.7904 GB, free: 6.418 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 5.261e-05/0.3331, allocations: 37.7 kB / 0.7905 GB, free: 6.375 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001293/0.3333, allocations: 132.4 kB / 0.7906 GB, free: 6.242 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.725e-05/0.3333, allocations: 35.61 kB / 0.7906 GB, free: 6.207 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001803/0.3335, allocations: 89.66 kB / 0.7907 GB, free: 6.113 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001619/0.3337, allocations: 338.8 kB / 0.791 GB, free: 5.773 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003086/0.334, allocations: 144.1 kB / 0.7912 GB, free: 5.629 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003424/0.3343, allocations: 227.9 kB / 0.7914 GB, free: 5.371 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004857/0.3348, allocations: 368.9 kB / 0.7917 GB, free: 4.949 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.826e-06/0.3348, allocations: 0 / 0.7917 GB, free: 4.949 MB / 0.6075 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.001115/0.336, allocations: 0.5507 MB / 0.7923 GB, free: 4.367 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001311/0.3361, allocations: 139 kB / 0.7924 GB, free: 4.207 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.554e-06/0.3361, allocations: 4 kB / 0.7924 GB, free: 4.203 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.039e-05/0.3361, allocations: 4 kB / 0.7924 GB, free: 4.199 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.487e-05/0.3362, allocations: 12 kB / 0.7924 GB, free: 4.188 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.285e-05/0.3363, allocations: 7.922 kB / 0.7924 GB, free: 4.18 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008217/0.3371, allocations: 123.6 kB / 0.7925 GB, free: 4.059 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.462e-05/0.3372, allocations: 27.97 kB / 0.7926 GB, free: 4.031 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 20 ($whenCondition7,$whenCondition8,pul3.booPul.y,$PRE.pul3.booPul.y,pul3.y,$whenCondition5,$whenCondition6,pul1.booPul.y,$PRE.pul1.booPul.y,pul1.y,$whenCondition3,$whenCondition4,pul2.booPul.y,$PRE.pul2.booPul.y,pul2.y,$whenCondition1,$whenCondition2,pul.booPul.y,$PRE.pul.booPul.y,pul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 4 * 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.0001788/0.3374, allocations: 149.5 kB / 0.7927 GB, free: 3.875 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001163/0.3375, allocations: 19.72 kB / 0.7927 GB, free: 3.855 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.289e-05/0.3375, allocations: 25.17 kB / 0.7928 GB, free: 3.828 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.975e-06/0.3376, allocations: 4 kB / 0.7928 GB, free: 3.824 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.478e-06/0.3376, allocations: 0 / 0.7928 GB, free: 3.824 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.738e-06/0.3376, allocations: 11.94 kB / 0.7928 GB, free: 3.812 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002701/0.3379, allocations: 261.5 kB / 0.793 GB, free: 3.508 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.783e-06/0.3379, allocations: 4 kB / 0.793 GB, free: 3.504 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.181e-05/0.3379, allocations: 12 kB / 0.793 GB, free: 3.492 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.114e-06/0.3379, allocations: 0 / 0.793 GB, free: 3.492 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.602e-05/0.3379, allocations: 8 kB / 0.793 GB, free: 3.484 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.983e-06/0.338, allocations: 0 / 0.793 GB, free: 3.484 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.116e-06/0.338, allocations: 4 kB / 0.793 GB, free: 3.48 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003146/0.3383, allocations: 226.4 kB / 0.7933 GB, free: 3.234 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 7.592e-05/0.3384, allocations: 100.9 kB / 0.7934 GB, free: 3.117 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.773e-05/0.3384, allocations: 0 / 0.7934 GB, free: 3.117 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.345e-05/0.3385, allocations: 8 kB / 0.7934 GB, free: 3.109 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.772e-05/0.3385, allocations: 15.91 kB / 0.7934 GB, free: 3.094 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.431e-05/0.3385, allocations: 12 kB / 0.7934 GB, free: 3.082 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0001681/0.3387, allocations: 168.5 kB / 0.7936 GB, free: 2.918 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.11e-07/0.3387, allocations: 0 / 0.7936 GB, free: 2.918 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003323/0.339, allocations: 71.91 kB / 0.7936 GB, free: 2.848 MB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 16 ($whenCondition7,$whenCondition8,pul3.y,pul3.booPul.y,$whenCondition5,$whenCondition6,pul1.y,pul1.booPul.y,$whenCondition3,$whenCondition4,pul2.y,pul2.booPul.y,$whenCondition1,$whenCondition2,pul.y,pul.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.0001985/0.3393, allocations: 122.4 kB / 0.7937 GB, free: 2.723 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0007453/0.34, allocations: 0.5325 MB / 0.7943 GB, free: 2.141 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 4.187e-06/0.34, allocations: 4.5 kB / 0.7943 GB, free: 2.137 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001508/0.3402, allocations: 83.91 kB / 0.7943 GB, free: 2.055 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006018/0.3408, allocations: 56.39 kB / 0.7944 GB, free: 1.996 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007379/0.3415, allocations: 426.2 kB / 0.7948 GB, free: 1.543 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005007/0.3421, allocations: 0.7284 MB / 0.7955 GB, free: 0.7891 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.273e-05/0.3421, allocations: 19.44 kB / 0.7955 GB, free: 0.7734 MB / 0.6075 GB Notification: Performance of SimCode: time 4.4e-07/0.3421, allocations: 0 / 0.7955 GB, free: 0.7734 MB / 0.6075 GB Notification: Performance of Templates: time 0.006026/0.3481, allocations: 3.485 MB / 0.7989 GB, free: 13.33 MB / 0.6231 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.makefile make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.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 OMCppBuildings_8_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.PulseCalcHelperMain.o OMCppBuildings_8_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.PulseCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_8_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.PulseCalcHelperMain.o] Error 1