Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/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.Continuous.Sources.Validation.Pulse,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pulse.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Pulse") translateModel(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Pulse,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pulse.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Pulse") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009429/0.0009428, allocations: 102.6 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.0009204/0.0009204, allocations: 172.9 kB / 16.58 MB, free: 6.398 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.415/1.415, allocations: 223.3 MB / 240.6 MB, free: 5.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.443/2.443, allocations: 390.4 MB / 0.6662 GB, free: 2.836 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.000471/0.0004711, allocations: 12 kB / 0.8155 GB, free: 14.14 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8229/0.8234, allocations: 142.3 MB / 0.9544 GB, free: 8.156 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Pulse): time 0.0009774/0.8245, allocations: 444.3 kB / 0.9549 GB, free: 7.82 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001378/0.8258, allocations: 1.117 MB / 0.956 GB, free: 6.918 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.172e-05/0.8259, allocations: 0 / 0.956 GB, free: 6.918 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.662e-05/0.8259, allocations: 0 / 0.956 GB, free: 6.918 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 8.528e-05/0.826, allocations: 5.281 kB / 0.956 GB, free: 6.914 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004679/0.8265, allocations: 109.8 kB / 0.9561 GB, free: 6.848 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001424/0.8266, allocations: 97.23 kB / 0.9562 GB, free: 6.789 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 9.872e-05/0.8268, allocations: 8.922 kB / 0.9562 GB, free: 6.785 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 8.482e-05/0.8268, allocations: 41.31 kB / 0.9562 GB, free: 6.762 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 9.163e-05/0.8269, allocations: 24.34 kB / 0.9562 GB, free: 6.746 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.312e-05/0.827, allocations: 9.938 kB / 0.9562 GB, free: 6.742 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 7.937e-05/0.8271, allocations: 21.86 kB / 0.9563 GB, free: 6.73 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.124e-05/0.8271, allocations: 6.328 kB / 0.9563 GB, free: 6.727 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 5.357e-05/0.8271, allocations: 40.45 kB / 0.9563 GB, free: 6.688 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001474/0.8273, allocations: 100.6 kB / 0.9564 GB, free: 6.609 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 7.133e-06/0.8273, allocations: 0 / 0.9564 GB, free: 6.609 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.144e-06/0.8273, allocations: 0 / 0.9564 GB, free: 6.609 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.709e-06/0.8273, allocations: 0.9062 kB / 0.9564 GB, free: 6.609 MB / 0.7169 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.0004718/0.8278, allocations: 377.8 kB / 0.9568 GB, free: 6.203 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 5.003e-05/0.8279, allocations: 9.406 kB / 0.9568 GB, free: 6.203 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.972e-05/0.8279, allocations: 12.73 kB / 0.9568 GB, free: 6.195 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001367/0.8281, allocations: 180.1 kB / 0.957 GB, free: 5.984 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.282e-05/0.8281, allocations: 3.031 kB / 0.957 GB, free: 5.984 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.282e-05/0.8281, allocations: 4.688 kB / 0.957 GB, free: 5.984 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001005/0.8282, allocations: 45.91 kB / 0.957 GB, free: 5.941 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.956e-06/0.8283, allocations: 3.984 kB / 0.957 GB, free: 5.938 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.178e-06/0.8283, allocations: 0 / 0.957 GB, free: 5.938 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.21e-06/0.8283, allocations: 5.438 kB / 0.957 GB, free: 5.934 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.754e-05/0.8283, allocations: 22.44 kB / 0.957 GB, free: 5.918 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004137/0.8288, allocations: 326.6 kB / 0.9573 GB, free: 5.574 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 6.158e-05/0.8288, allocations: 26.89 kB / 0.9574 GB, free: 5.547 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.496e-05/0.8289, allocations: 12.2 kB / 0.9574 GB, free: 5.535 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 7.615e-06/0.8289, allocations: 1 kB / 0.9574 GB, free: 5.535 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001332/0.829, allocations: 67.77 kB / 0.9574 GB, free: 5.469 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=4): time 1.433e-06/0.829, allocations: 0 / 0.9574 GB, free: 5.469 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4): time 0.0002783/0.8293, allocations: 81.5 kB / 0.9575 GB, free: 5.41 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.986e-05/0.8293, allocations: 52.56 kB / 0.9576 GB, free: 5.348 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001005/0.8294, allocations: 130.7 kB / 0.9577 GB, free: 5.227 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 2.016e-05/0.8295, allocations: 31.86 kB / 0.9577 GB, free: 5.191 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 5.622e-05/0.8295, allocations: 88.73 kB / 0.9578 GB, free: 5.105 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.56e-05/0.8296, allocations: 16.88 kB / 0.9578 GB, free: 5.09 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.343e-05/0.8296, allocations: 2.188 kB / 0.9578 GB, free: 5.09 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 7.112e-05/0.8297, allocations: 316 kB / 0.9581 GB, free: 4.773 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.393e-05/0.8297, allocations: 37.73 kB / 0.9582 GB, free: 4.754 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.806e-05/0.8298, allocations: 58.84 kB / 0.9582 GB, free: 4.707 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.18e-05/0.8299, allocations: 64.09 kB / 0.9583 GB, free: 4.656 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.814e-06/0.8299, allocations: 4 kB / 0.9583 GB, free: 4.652 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002686/0.8302, allocations: 157.6 kB / 0.9584 GB, free: 4.543 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 4.016e-05/0.8303, allocations: 40.84 kB / 0.9585 GB, free: 4.504 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.741e-06/0.8303, allocations: 1.469 kB / 0.9585 GB, free: 4.504 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.601e-05/0.8303, allocations: 3.953 kB / 0.9585 GB, free: 4.5 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.405e-05/0.8304, allocations: 2.812 kB / 0.9585 GB, free: 4.5 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.734e-06/0.8304, allocations: 0.9375 kB / 0.9585 GB, free: 4.5 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002151/0.8306, allocations: 45.66 kB / 0.9585 GB, free: 4.48 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.96e-05/0.8306, allocations: 9.188 kB / 0.9585 GB, free: 4.477 MB / 0.7169 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 8.18e-05/0.8307, allocations: 115.8 kB / 0.9587 GB, free: 4.359 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.311e-05/0.8307, allocations: 2.469 kB / 0.9587 GB, free: 4.359 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.779e-05/0.8308, allocations: 13.34 kB / 0.9587 GB, free: 4.344 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.307e-06/0.8308, allocations: 5.266 kB / 0.9587 GB, free: 4.34 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.8e-06/0.8308, allocations: 3.938 kB / 0.9587 GB, free: 4.336 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.296e-06/0.8308, allocations: 4 kB / 0.9587 GB, free: 4.332 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001018/0.8309, allocations: 172.5 kB / 0.9588 GB, free: 4.125 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.354e-06/0.8309, allocations: 4 kB / 0.9588 GB, free: 4.121 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.482e-05/0.8309, allocations: 2.562 kB / 0.9589 GB, free: 4.121 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/0.8309, allocations: 0 / 0.9589 GB, free: 4.121 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.284e-06/0.8309, allocations: 1.656 kB / 0.9589 GB, free: 4.121 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.625e-06/0.831, allocations: 3.984 kB / 0.9589 GB, free: 4.117 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/0.831, allocations: 3.953 kB / 0.9589 GB, free: 4.113 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001117/0.8311, allocations: 95.52 kB / 0.959 GB, free: 4.023 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.773e-05/0.8311, allocations: 82.61 kB / 0.959 GB, free: 3.926 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.776e-05/0.8311, allocations: 0.625 kB / 0.959 GB, free: 3.926 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.883e-05/0.8312, allocations: 1 kB / 0.959 GB, free: 3.926 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.421e-05/0.8312, allocations: 13.47 kB / 0.959 GB, free: 3.914 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.045e-05/0.8312, allocations: 5.391 kB / 0.9591 GB, free: 3.91 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 5.09e-05/0.8313, allocations: 102 kB / 0.9591 GB, free: 3.82 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.11e-07/0.8313, allocations: 1.594 kB / 0.9591 GB, free: 3.82 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002262/0.8315, allocations: 19.12 kB / 0.9592 GB, free: 3.816 MB / 0.7169 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.0001599/0.8317, allocations: 105 kB / 0.9593 GB, free: 3.727 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002609/0.8319, allocations: 132.5 kB / 0.9594 GB, free: 3.625 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.832, allocations: 0 / 0.9594 GB, free: 3.625 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 4.586e-05/0.832, allocations: 22.67 kB / 0.9594 GB, free: 3.613 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002543/0.8323, allocations: 16.39 kB / 0.9594 GB, free: 3.605 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003956/0.8327, allocations: 177.3 kB / 0.9596 GB, free: 3.43 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001961/0.8329, allocations: 0.6823 MB / 0.9603 GB, free: 2.73 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.251e-05/0.8329, allocations: 14.23 kB / 0.9603 GB, free: 2.719 MB / 0.7169 GB Notification: Performance of SimCode: time 2.91e-07/0.8329, allocations: 0 / 0.9603 GB, free: 2.719 MB / 0.7169 GB Notification: Performance of Templates: time 0.003357/0.8363, allocations: 1.155 MB / 0.9614 GB, free: 2.137 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Pulse.makefile make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.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_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.PulseCalcHelperMain.o OMCppBuildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.PulseCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.PulseCalcHelperMain.o] Error 1