Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Ramp.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.Ramp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|ram.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Ramp") translateModel(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Ramp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|ram.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Ramp") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001012/0.001012, allocations: 100.5 kB / 15.71 MB, free: 452 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.001268/0.001268, allocations: 176.4 kB / 16.58 MB, free: 6.426 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.48/1.48, allocations: 223.3 MB / 240.6 MB, free: 5.418 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.506/2.506, allocations: 390.4 MB / 0.6662 GB, free: 2.836 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0004975/0.0004976, allocations: 12 kB / 0.8155 GB, free: 14.12 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8338/0.8343, allocations: 142.3 MB / 0.9544 GB, free: 8.125 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Ramp): time 0.0009243/0.8353, allocations: 337.4 kB / 0.9548 GB, free: 7.871 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0009017/0.8363, allocations: 0.7813 MB / 0.9555 GB, free: 7.23 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.222e-05/0.8363, allocations: 1.281 kB / 0.9555 GB, free: 7.23 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.864e-05/0.8363, allocations: 3.938 kB / 0.9555 GB, free: 7.227 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 7.034e-05/0.8364, allocations: 0 / 0.9555 GB, free: 7.227 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 5.293e-05/0.8365, allocations: 1.312 kB / 0.9555 GB, free: 7.227 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 7.758e-05/0.8365, allocations: 20.95 kB / 0.9555 GB, free: 7.211 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 7.66e-05/0.8366, allocations: 1.344 kB / 0.9555 GB, free: 7.211 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 7.365e-05/0.8367, allocations: 2.906 kB / 0.9555 GB, free: 7.211 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 3.897e-05/0.8367, allocations: 10.55 kB / 0.9556 GB, free: 7.203 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.53e-05/0.8368, allocations: 1.5 kB / 0.9556 GB, free: 7.203 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 7.524e-06/0.8368, allocations: 4 kB / 0.9556 GB, free: 7.199 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.288e-05/0.8368, allocations: 5.375 kB / 0.9556 GB, free: 7.195 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.387e-05/0.8368, allocations: 25.7 kB / 0.9556 GB, free: 7.164 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 6.563e-05/0.8369, allocations: 14.72 kB / 0.9556 GB, free: 7.152 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 7.253e-06/0.8369, allocations: 0 / 0.9556 GB, free: 7.152 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.735e-06/0.8369, allocations: 1.531 kB / 0.9556 GB, free: 7.152 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.221e-06/0.8369, allocations: 0 / 0.9556 GB, free: 7.152 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0004453/0.8374, allocations: 333.8 kB / 0.9559 GB, free: 6.793 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 5.792e-05/0.8375, allocations: 9.219 kB / 0.9559 GB, free: 6.793 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.636e-05/0.8375, allocations: 5.172 kB / 0.9559 GB, free: 6.789 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001261/0.8376, allocations: 166.5 kB / 0.9561 GB, free: 6.59 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.647e-05/0.8377, allocations: 0 / 0.9561 GB, free: 6.59 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.163e-05/0.8377, allocations: 5.406 kB / 0.9561 GB, free: 6.586 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001654/0.8378, allocations: 47.19 kB / 0.9561 GB, free: 6.547 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.204e-06/0.8379, allocations: 4 kB / 0.9562 GB, free: 6.543 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.397e-06/0.8379, allocations: 1.062 kB / 0.9562 GB, free: 6.543 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.799e-06/0.8379, allocations: 3.938 kB / 0.9562 GB, free: 6.539 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001423/0.838, allocations: 45.97 kB / 0.9562 GB, free: 6.52 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001366/0.8382, allocations: 151.8 kB / 0.9563 GB, free: 6.324 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 9.899e-05/0.8383, allocations: 41.47 kB / 0.9564 GB, free: 6.289 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.435e-05/0.8384, allocations: 22.94 kB / 0.9564 GB, free: 6.277 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.125e-05/0.8384, allocations: 0 / 0.9564 GB, free: 6.277 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.869e-05/0.8384, allocations: 43.92 kB / 0.9564 GB, free: 6.227 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=1): time 7.91e-07/0.8384, allocations: 0 / 0.9564 GB, free: 6.227 MB / 0.7169 GB Notification: Performance of matching and sorting (n=1): time 0.0003099/0.8387, allocations: 86.66 kB / 0.9565 GB, free: 6.176 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.996e-05/0.8388, allocations: 51.41 kB / 0.9566 GB, free: 6.113 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.802e-05/0.8388, allocations: 103.3 kB / 0.9567 GB, free: 6.008 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 8.596e-06/0.8388, allocations: 25.7 kB / 0.9567 GB, free: 5.977 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.8e-05/0.8389, allocations: 89.22 kB / 0.9568 GB, free: 5.887 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.451e-05/0.8389, allocations: 4.969 kB / 0.9568 GB, free: 5.883 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.035e-06/0.8389, allocations: 0 / 0.9568 GB, free: 5.883 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.261e-05/0.839, allocations: 315.9 kB / 0.9571 GB, free: 5.566 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.569e-05/0.8391, allocations: 20.95 kB / 0.9571 GB, free: 5.559 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.689e-05/0.8391, allocations: 25.41 kB / 0.9571 GB, free: 5.547 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.317e-05/0.8392, allocations: 25.45 kB / 0.9572 GB, free: 5.535 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.824e-06/0.8392, allocations: 0 / 0.9572 GB, free: 5.535 MB / 0.7169 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001623/0.8394, allocations: 67.05 kB / 0.9572 GB, free: 5.492 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.061e-05/0.8394, allocations: 10.23 kB / 0.9572 GB, free: 5.488 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.54e-06/0.8394, allocations: 0 / 0.9572 GB, free: 5.488 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.337e-05/0.8394, allocations: 5.312 kB / 0.9572 GB, free: 5.484 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.187e-05/0.8395, allocations: 10.31 kB / 0.9573 GB, free: 5.48 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.059e-06/0.8395, allocations: 1.094 kB / 0.9573 GB, free: 5.48 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.508e-05/0.8396, allocations: 9.359 kB / 0.9573 GB, free: 5.477 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.21e-06/0.8396, allocations: 1 kB / 0.9573 GB, free: 5.477 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * 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 6.452e-05/0.8397, allocations: 111 kB / 0.9574 GB, free: 5.359 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.392e-06/0.8397, allocations: 1.062 kB / 0.9574 GB, free: 5.359 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.751e-05/0.8397, allocations: 12.16 kB / 0.9574 GB, free: 5.348 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.805e-06/0.8397, allocations: 1.188 kB / 0.9574 GB, free: 5.348 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.867e-06/0.8397, allocations: 3.938 kB / 0.9574 GB, free: 5.344 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.908e-06/0.8397, allocations: 3.984 kB / 0.9574 GB, free: 5.34 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.733e-05/0.8398, allocations: 152.7 kB / 0.9575 GB, free: 5.145 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.52e-07/0.8398, allocations: 0 / 0.9575 GB, free: 5.145 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.906e-05/0.8399, allocations: 7.656 kB / 0.9575 GB, free: 5.145 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.465e-06/0.8399, allocations: 0 / 0.9575 GB, free: 5.145 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.444e-06/0.8399, allocations: 8.891 kB / 0.9575 GB, free: 5.137 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-06/0.8399, allocations: 4 kB / 0.9576 GB, free: 5.133 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.11e-07/0.8399, allocations: 1.031 kB / 0.9576 GB, free: 5.133 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001806/0.8401, allocations: 95.19 kB / 0.9576 GB, free: 5.051 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.77e-05/0.8401, allocations: 94.38 kB / 0.9577 GB, free: 4.941 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.09e-05/0.8401, allocations: 0 / 0.9577 GB, free: 4.941 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.014e-05/0.8402, allocations: 10.34 kB / 0.9577 GB, free: 4.938 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.791e-05/0.8402, allocations: 5.297 kB / 0.9578 GB, free: 4.934 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.204e-06/0.8402, allocations: 0 / 0.9578 GB, free: 4.934 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.638e-05/0.8403, allocations: 82.41 kB / 0.9578 GB, free: 4.855 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1e-07/0.8403, allocations: 0 / 0.9578 GB, free: 4.855 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0001696/0.8405, allocations: 3.125 kB / 0.9578 GB, free: 4.855 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 0.0001081/0.8406, allocations: 101.4 kB / 0.9579 GB, free: 4.766 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0001766/0.8407, allocations: 43.95 kB / 0.958 GB, free: 4.75 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.584e-06/0.8408, allocations: 4 kB / 0.958 GB, free: 4.746 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 7.291e-05/0.8408, allocations: 22.61 kB / 0.958 GB, free: 4.738 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002071/0.841, allocations: 11.91 kB / 0.958 GB, free: 4.73 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002276/0.8413, allocations: 121.7 kB / 0.9581 GB, free: 4.586 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000118/0.8414, allocations: 0.6724 MB / 0.9588 GB, free: 3.891 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.307e-05/0.8414, allocations: 11.38 kB / 0.9588 GB, free: 3.879 MB / 0.7169 GB Notification: Performance of SimCode: time 2.3e-07/0.8414, allocations: 5.312 kB / 0.9588 GB, free: 3.875 MB / 0.7169 GB Notification: Performance of Templates: time 0.001703/0.8432, allocations: 494 kB / 0.9593 GB, free: 3.641 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Ramp.makefile make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Ramp.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.RampCalcHelperMain.o OMCppBuildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.RampCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.RampCalcHelperMain.o] Error 1