Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Reals.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pulse.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse") translateModel(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pulse.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001005/0.001005, 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.001314/0.001314, allocations: 177.6 kB / 16.58 MB, free: 6.863 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.476/1.476, allocations: 223.2 MB / 240.6 MB, free: 5.426 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.717/2.717, allocations: 436.7 MB / 0.7113 GB, free: 7.84 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0005106/0.000511, allocations: 12 kB / 0.8717 GB, free: 4.695 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8388/0.8393, allocations: 153.7 MB / 1.022 GB, free: 1.074 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse): time 0.00106/0.8405, allocations: 453.5 kB / 1.022 GB, free: 0.6328 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.00167/0.8422, allocations: 1.105 MB / 1.023 GB, free: 15.51 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.828e-05/0.8422, allocations: 0 / 1.023 GB, free: 15.51 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 1.564e-05/0.8422, allocations: 0 / 1.023 GB, free: 15.51 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 8.954e-05/0.8423, allocations: 7.922 kB / 1.023 GB, free: 15.5 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004363/0.8428, allocations: 114.7 kB / 1.023 GB, free: 15.39 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0001395/0.8429, allocations: 107.7 kB / 1.023 GB, free: 15.29 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 8.543e-05/0.843, allocations: 11.98 kB / 1.023 GB, free: 15.28 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 6.723e-05/0.8431, allocations: 35.91 kB / 1.024 GB, free: 15.24 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 7.98e-05/0.8432, allocations: 23.91 kB / 1.024 GB, free: 15.22 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.83e-05/0.8432, allocations: 4 kB / 1.024 GB, free: 15.21 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 6.054e-05/0.8433, allocations: 19.98 kB / 1.024 GB, free: 15.2 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 1.814e-05/0.8433, allocations: 11.92 kB / 1.024 GB, free: 15.18 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 5.486e-05/0.8434, allocations: 33.7 kB / 1.024 GB, free: 15.14 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0001445/0.8435, allocations: 95.77 kB / 1.024 GB, free: 15.05 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 5.34e-06/0.8435, allocations: 4 kB / 1.024 GB, free: 15.05 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.913e-06/0.8435, allocations: 0 / 1.024 GB, free: 15.05 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 4.067e-06/0.8435, allocations: 0 / 1.024 GB, free: 15.05 MB / 0.7794 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0004792/0.844, allocations: 382.8 kB / 1.024 GB, free: 14.62 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 5.048e-05/0.8441, allocations: 11.98 kB / 1.024 GB, free: 14.61 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.482e-05/0.8441, allocations: 11.94 kB / 1.024 GB, free: 14.6 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001451/0.8443, allocations: 178.9 kB / 1.024 GB, free: 14.38 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.739e-05/0.8443, allocations: 4 kB / 1.024 GB, free: 14.38 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.086e-05/0.8443, allocations: 8 kB / 1.024 GB, free: 14.37 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.582e-05/0.8445, allocations: 49.64 kB / 1.024 GB, free: 14.32 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.253e-06/0.8445, allocations: 0 / 1.024 GB, free: 14.32 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.029e-05/0.8445, allocations: 0 / 1.024 GB, free: 14.32 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.653e-06/0.8445, allocations: 7.938 kB / 1.024 GB, free: 14.31 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.177e-05/0.8445, allocations: 8 kB / 1.024 GB, free: 14.3 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004558/0.845, allocations: 332.8 kB / 1.025 GB, free: 13.93 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 7.049e-05/0.8451, allocations: 34.56 kB / 1.025 GB, free: 13.88 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.58e-05/0.8451, allocations: 12.92 kB / 1.025 GB, free: 13.87 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 9.397e-06/0.8451, allocations: 0 / 1.025 GB, free: 13.87 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001476/0.8453, allocations: 59.39 kB / 1.025 GB, free: 13.8 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=4): time 2.765e-06/0.8453, allocations: 0 / 1.025 GB, free: 13.8 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4): time 0.0002016/0.8455, allocations: 81.52 kB / 1.025 GB, free: 13.71 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.912e-05/0.8456, allocations: 55.41 kB / 1.025 GB, free: 13.64 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001029/0.8457, allocations: 125.8 kB / 1.025 GB, free: 13.51 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.37e-05/0.8457, allocations: 25.7 kB / 1.025 GB, free: 13.48 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 6.877e-05/0.8458, allocations: 96.03 kB / 1.025 GB, free: 13.38 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.895e-05/0.8458, allocations: 11.91 kB / 1.025 GB, free: 13.37 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.076e-05/0.8458, allocations: 0 / 1.025 GB, free: 13.37 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.00016/0.846, allocations: 314.8 kB / 1.025 GB, free: 13.05 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.227e-05/0.8461, allocations: 39.97 kB / 1.025 GB, free: 13.02 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.669e-05/0.8462, allocations: 58.56 kB / 1.026 GB, free: 12.95 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.562e-05/0.8463, allocations: 69.58 kB / 1.026 GB, free: 12.88 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.639e-06/0.8463, allocations: 4 kB / 1.026 GB, free: 12.87 MB / 0.7794 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000263/0.8466, allocations: 155.3 kB / 1.026 GB, free: 12.71 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 3.835e-05/0.8466, allocations: 41.64 kB / 1.026 GB, free: 12.66 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.969e-06/0.8466, allocations: 0 / 1.026 GB, free: 12.66 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.274e-05/0.8466, allocations: 0 / 1.026 GB, free: 12.66 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.418e-05/0.8467, allocations: 7.984 kB / 1.026 GB, free: 12.65 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.6e-06/0.8467, allocations: 4.062 kB / 1.026 GB, free: 12.65 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002025/0.8469, allocations: 43.81 kB / 1.026 GB, free: 12.61 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.967e-05/0.8469, allocations: 4 kB / 1.026 GB, free: 12.6 MB / 0.7794 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition1,$whenCondition2,$PRE.pulse.booPul.y,pulse.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 4 * 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 0.0001053/0.847, allocations: 117.8 kB / 1.026 GB, free: 12.48 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.34e-05/0.8471, allocations: 11.98 kB / 1.026 GB, free: 12.46 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.85e-05/0.8471, allocations: 8.141 kB / 1.026 GB, free: 12.45 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.697e-06/0.8471, allocations: 4 kB / 1.026 GB, free: 12.45 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.552e-06/0.8471, allocations: 3.984 kB / 1.026 GB, free: 12.45 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.725e-06/0.8471, allocations: 3.938 kB / 1.026 GB, free: 12.44 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001379/0.8473, allocations: 169.6 kB / 1.026 GB, free: 12.23 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.866e-06/0.8473, allocations: 3.953 kB / 1.026 GB, free: 12.22 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.738e-05/0.8473, allocations: 7.938 kB / 1.026 GB, free: 12.21 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.643e-06/0.8473, allocations: 0 / 1.026 GB, free: 12.21 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.165e-06/0.8473, allocations: 4.062 kB / 1.026 GB, free: 12.21 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.8473, allocations: 0 / 1.026 GB, free: 12.21 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.92e-07/0.8473, allocations: 4 kB / 1.026 GB, free: 12.21 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000114/0.8475, allocations: 89.03 kB / 1.026 GB, free: 12.1 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 5.874e-05/0.8475, allocations: 88.95 kB / 1.026 GB, free: 12 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.838e-05/0.8475, allocations: 8 kB / 1.026 GB, free: 11.99 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.74e-05/0.8476, allocations: 0 / 1.026 GB, free: 11.99 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.153e-05/0.8476, allocations: 0 / 1.026 GB, free: 11.99 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.093e-06/0.8476, allocations: 4 kB / 1.026 GB, free: 11.98 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 6.176e-05/0.8477, allocations: 103.6 kB / 1.026 GB, free: 11.88 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.21e-07/0.8477, allocations: 0 / 1.026 GB, free: 11.88 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002127/0.8479, allocations: 20 kB / 1.026 GB, free: 11.86 MB / 0.7794 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,$whenCondition2,pulse.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0001762/0.8481, allocations: 111.2 kB / 1.027 GB, free: 11.74 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002184/0.8483, allocations: 131.4 kB / 1.027 GB, free: 11.6 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.8483, allocations: 0 / 1.027 GB, free: 11.6 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 4.248e-05/0.8484, allocations: 23.92 kB / 1.027 GB, free: 11.58 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002263/0.8486, allocations: 17.67 kB / 1.027 GB, free: 11.56 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003205/0.8489, allocations: 187.3 kB / 1.027 GB, free: 11.35 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002756/0.8492, allocations: 0.6848 MB / 1.028 GB, free: 10.64 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.984e-05/0.8492, allocations: 15.44 kB / 1.028 GB, free: 10.62 MB / 0.7794 GB Notification: Performance of SimCode: time 2.41e-07/0.8493, allocations: 0 / 1.028 GB, free: 10.62 MB / 0.7794 GB Notification: Performance of Templates: time 0.002916/0.8522, allocations: 1.128 MB / 1.029 GB, free: 9.512 MB / 0.7794 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse.makefile make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.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_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.PulseCalcHelperMain.o OMCppBuildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.PulseCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.PulseCalcHelperMain.o] Error 1