Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Logical.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.Logical.Sources.Validation.Pulse,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse") translateModel(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001106/0.001106, allocations: 102.4 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.00181/0.00181, allocations: 176.3 kB / 16.58 MB, free: 6.039 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.807/1.807, allocations: 205.4 MB / 222.8 MB, free: 5.504 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.869/1.869, allocations: 292.7 MB / 0.5505 GB, free: 14.55 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.0005691/0.0005692, allocations: 22.59 kB / 0.6744 GB, free: 26.22 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2945/0.295, allocations: 116.3 MB / 0.788 GB, free: 11.93 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse): time 0.001339/0.2964, allocations: 0.8375 MB / 0.7888 GB, free: 11.09 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.00265/0.2991, allocations: 2.155 MB / 0.7909 GB, free: 8.922 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001117/0.2992, allocations: 4 kB / 0.7909 GB, free: 8.918 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 4.41e-05/0.2993, allocations: 19.8 kB / 0.7909 GB, free: 8.898 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001882/0.2995, allocations: 71.39 kB / 0.791 GB, free: 8.828 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.003114/0.3026, allocations: 1.277 MB / 0.7922 GB, free: 7.594 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.001074/0.3037, allocations: 0.9316 MB / 0.7931 GB, free: 6.66 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 8.923e-05/0.3038, allocations: 20.75 kB / 0.7931 GB, free: 6.633 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004464/0.3042, allocations: 427.2 kB / 0.7936 GB, free: 6.215 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003895/0.3046, allocations: 323.1 kB / 0.7939 GB, free: 5.898 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0001319/0.3048, allocations: 60 kB / 0.7939 GB, free: 5.84 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001862/0.305, allocations: 67.98 kB / 0.794 GB, free: 5.773 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 6.588e-05/0.305, allocations: 55.75 kB / 0.794 GB, free: 5.719 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001635/0.3052, allocations: 125.6 kB / 0.7942 GB, free: 5.59 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0006303/0.3059, allocations: 0.6664 MB / 0.7948 GB, free: 4.922 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.811e-06/0.3059, allocations: 0 / 0.7948 GB, free: 4.922 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.054e-06/0.3059, allocations: 0 / 0.7948 GB, free: 4.922 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.552e-06/0.3059, allocations: 0 / 0.7948 GB, free: 4.922 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.001076/0.307, allocations: 1.012 MB / 0.7958 GB, free: 3.77 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.601e-05/0.307, allocations: 8.031 kB / 0.7958 GB, free: 3.762 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000168/0.3072, allocations: 63.62 kB / 0.7959 GB, free: 3.699 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001834/0.3074, allocations: 211.3 kB / 0.7961 GB, free: 3.457 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.16e-05/0.3074, allocations: 35.98 kB / 0.7961 GB, free: 3.422 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001381/0.3076, allocations: 75.92 kB / 0.7962 GB, free: 3.348 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002971/0.3079, allocations: 206.3 kB / 0.7964 GB, free: 3.094 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.956e-06/0.3079, allocations: 0 / 0.7964 GB, free: 3.094 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.258e-05/0.3079, allocations: 7.984 kB / 0.7964 GB, free: 3.086 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.36e-06/0.308, allocations: 3.938 kB / 0.7964 GB, free: 3.082 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001113/0.3081, allocations: 71.78 kB / 0.7964 GB, free: 3.012 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009225/0.309, allocations: 0.8522 MB / 0.7973 GB, free: 2.066 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000305/0.3093, allocations: 319.1 kB / 0.7976 GB, free: 1.617 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001704/0.3095, allocations: 148.8 kB / 0.7977 GB, free: 1.426 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.118e-05/0.3095, allocations: 8 kB / 0.7977 GB, free: 1.418 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006209/0.3101, allocations: 458.8 kB / 0.7982 GB, free: 0.8984 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=45): time 5.17e-06/0.3102, allocations: 4 kB / 0.7982 GB, free: 0.8945 MB / 0.6075 GB Notification: Performance of matching and sorting (n=45): time 0.000984/0.3111, allocations: 0.5653 MB / 0.7987 GB, free: 332 kB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002467/0.3114, allocations: 431.2 kB / 0.7991 GB, free: 15.8 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002793/0.3117, allocations: 288.4 kB / 0.7994 GB, free: 15.51 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 0.0001137/0.3118, allocations: 69.69 kB / 0.7995 GB, free: 15.44 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001883/0.312, allocations: 165.2 kB / 0.7996 GB, free: 15.27 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 8.39e-05/0.3121, allocations: 90.95 kB / 0.7997 GB, free: 15.18 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001114/0.3122, allocations: 35.98 kB / 0.7998 GB, free: 15.14 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001628/0.3124, allocations: 354.8 kB / 0.8001 GB, free: 14.79 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008236/0.3132, allocations: 421.3 kB / 0.8005 GB, free: 14.38 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001023/0.3142, allocations: 0.695 MB / 0.8012 GB, free: 13.54 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009731/0.3152, allocations: 0.8259 MB / 0.802 GB, free: 12.62 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.736e-06/0.3152, allocations: 4 kB / 0.802 GB, free: 12.62 MB / 0.6231 GB Notification: Performance of matching and sorting (n=90) (initialization): time 0.002757/0.318, allocations: 1.716 MB / 0.8037 GB, free: 10.8 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003166/0.3183, allocations: 485.4 kB / 0.8041 GB, free: 10.24 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.728e-05/0.3184, allocations: 9.094 kB / 0.8041 GB, free: 10.23 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.912e-05/0.3184, allocations: 16 kB / 0.8042 GB, free: 10.21 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.766e-05/0.3185, allocations: 27.86 kB / 0.8042 GB, free: 10.19 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.206e-05/0.3185, allocations: 23.92 kB / 0.8042 GB, free: 10.16 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002412/0.3209, allocations: 0.5646 MB / 0.8048 GB, free: 9.602 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001788/0.3211, allocations: 99.91 kB / 0.8048 GB, free: 9.504 MB / 0.6231 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 45 * Number of states: 0 () * Number of discrete variables: 60 ($PRE.booPul_c5.y,booPul_c5.y,$whenCondition29,$whenCondition30,$PRE.booPul_b5.y,booPul_b5.y,$whenCondition27,$whenCondition28,$PRE.booPul_a5.y,booPul_a5.y,$whenCondition25,$whenCondition26,$PRE.booPul_c4.y,booPul_c4.y,$whenCondition23,$whenCondition24,$PRE.booPul_b4.y,booPul_b4.y,$whenCondition21,$whenCondition22,$PRE.booPul_a4.y,booPul_a4.y,$whenCondition19,$whenCondition20,$PRE.booPul_c3.y,booPul_c3.y,$whenCondition17,$whenCondition18,$PRE.booPul_b3.y,booPul_b3.y,$whenCondition15,$whenCondition16,$PRE.booPul_a3.y,booPul_a3.y,$whenCondition13,$whenCondition14,$PRE.booPul_c2.y,booPul_c2.y,$whenCondition11,$whenCondition12,$PRE.booPul_b2.y,booPul_b2.y,$whenCondition9,$whenCondition10,$PRE.booPul_a2.y,booPul_a2.y,$whenCondition7,$whenCondition8,$PRE.booPul_c1.y,booPul_c1.y,$whenCondition5,$whenCondition6,$PRE.booPul_b1.y,booPul_b1.y,$whenCondition3,$whenCondition4,$PRE.booPul_a1.y,booPul_a1.y,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (60): * Single equations (assignments): 45 * Array equations: 0 * Algorithm blocks: 15 * 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 0.0003727/0.3215, allocations: 226.2 kB / 0.8051 GB, free: 9.273 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.532e-05/0.3216, allocations: 39.53 kB / 0.8051 GB, free: 9.234 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.614e-05/0.3217, allocations: 38.14 kB / 0.8051 GB, free: 9.195 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.22e-05/0.3217, allocations: 8 kB / 0.8051 GB, free: 9.188 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.574e-05/0.3217, allocations: 11.94 kB / 0.8052 GB, free: 9.176 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.498e-06/0.3217, allocations: 7.984 kB / 0.8052 GB, free: 9.168 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003933/0.3221, allocations: 333.3 kB / 0.8055 GB, free: 8.793 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.731e-06/0.3222, allocations: 4 kB / 0.8055 GB, free: 8.789 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.099e-05/0.3222, allocations: 19.92 kB / 0.8055 GB, free: 8.77 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.943e-06/0.3222, allocations: 4 kB / 0.8055 GB, free: 8.766 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.421e-05/0.3223, allocations: 23.92 kB / 0.8055 GB, free: 8.742 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.683e-06/0.3223, allocations: 7.938 kB / 0.8055 GB, free: 8.734 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.422e-06/0.3223, allocations: 8 kB / 0.8055 GB, free: 8.727 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007723/0.3231, allocations: 0.5198 MB / 0.8061 GB, free: 8.148 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000105/0.3232, allocations: 112.7 kB / 0.8062 GB, free: 8.02 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.13e-05/0.3232, allocations: 15.98 kB / 0.8062 GB, free: 8.004 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001086/0.3234, allocations: 15.98 kB / 0.8062 GB, free: 7.988 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.265e-05/0.3235, allocations: 55.89 kB / 0.8062 GB, free: 7.934 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.305e-05/0.3235, allocations: 27.98 kB / 0.8063 GB, free: 7.906 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0001735/0.3237, allocations: 187.1 kB / 0.8064 GB, free: 7.727 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.41e-07/0.3237, allocations: 3.938 kB / 0.8065 GB, free: 7.723 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0006583/0.3243, allocations: 200 kB / 0.8066 GB, free: 7.527 MB / 0.6231 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 45 ($whenCondition29,$whenCondition30,booPul_c5.y,$whenCondition27,$whenCondition28,booPul_b5.y,$whenCondition25,$whenCondition26,booPul_a5.y,$whenCondition23,$whenCondition24,booPul_c4.y,$whenCondition21,$whenCondition22,booPul_b4.y,$whenCondition19,$whenCondition20,booPul_a4.y,$whenCondition17,$whenCondition18,booPul_c3.y,$whenCondition15,$whenCondition16,booPul_b3.y,$whenCondition13,$whenCondition14,booPul_a3.y,$whenCondition11,$whenCondition12,booPul_c2.y,$whenCondition9,$whenCondition10,booPul_b2.y,$whenCondition7,$whenCondition8,booPul_a2.y,$whenCondition5,$whenCondition6,booPul_c1.y,$whenCondition3,$whenCondition4,booPul_b1.y,$whenCondition1,$whenCondition2,booPul_a1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (45): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 15 * 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.0002266/0.3246, allocations: 139.1 kB / 0.8068 GB, free: 7.383 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.002049/0.3266, allocations: 1.746 MB / 0.8085 GB, free: 5.453 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 3.026e-06/0.3266, allocations: 0 / 0.8085 GB, free: 5.453 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0006303/0.3273, allocations: 360 kB / 0.8088 GB, free: 5.102 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006814/0.328, allocations: 113.5 kB / 0.8089 GB, free: 4.992 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001067/0.329, allocations: 0.7075 MB / 0.8096 GB, free: 4.203 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003729/0.3294, allocations: 0.7877 MB / 0.8104 GB, free: 3.387 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.59e-05/0.3295, allocations: 39.42 kB / 0.8104 GB, free: 3.348 MB / 0.6231 GB Notification: Performance of SimCode: time 5.31e-07/0.3295, allocations: 0 / 0.8104 GB, free: 3.348 MB / 0.6231 GB Notification: Performance of Templates: time 0.0124/0.3419, allocations: 7.545 MB / 0.8178 GB, free: 11.9 MB / 0.6387 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse.makefile make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse.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 OMCppBuildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.PulseCalcHelperMain.o OMCppBuildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.PulseCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.PulseCalcHelperMain.o] Error 1