Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler.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.Discrete.Validation.TriggeredSampler,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|booPul.y|sin1.y|triSam.y|triSam1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler") translateModel(Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|booPul.y|sin1.y|triSam.y|triSam1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00131/0.00131, 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.001443/0.001444, allocations: 176.6 kB / 16.58 MB, free: 6.402 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.458/1.458, 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 11.0.0-master/package.mo): time 2.707/2.707, allocations: 436.7 MB / 0.7113 GB, free: 7.793 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003533/0.0003534, allocations: 12 kB / 0.8717 GB, free: 4.723 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7568/0.7572, allocations: 153.7 MB / 1.022 GB, free: 1.195 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler): time 0.001216/0.7585, allocations: 473.4 kB / 1.022 GB, free: 0.7344 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001656/0.7601, allocations: 1.132 MB / 1.023 GB, free: 15.59 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.679e-05/0.7602, allocations: 3.938 kB / 1.023 GB, free: 15.58 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 1.756e-05/0.7602, allocations: 0 / 1.023 GB, free: 15.58 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 8.166e-05/0.7603, allocations: 11.92 kB / 1.023 GB, free: 15.57 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005225/0.7609, allocations: 117.9 kB / 1.023 GB, free: 15.46 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0001578/0.761, allocations: 103.7 kB / 1.024 GB, free: 15.36 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000125/0.7612, allocations: 20.17 kB / 1.024 GB, free: 15.33 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000106/0.7613, allocations: 43.89 kB / 1.024 GB, free: 15.29 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 8.114e-05/0.7614, allocations: 35.83 kB / 1.024 GB, free: 15.25 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 2.466e-05/0.7614, allocations: 8 kB / 1.024 GB, free: 15.25 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 6.915e-05/0.7615, allocations: 19.98 kB / 1.024 GB, free: 15.23 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 2.082e-05/0.7615, allocations: 7.984 kB / 1.024 GB, free: 15.22 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 5.817e-05/0.7616, allocations: 37.64 kB / 1.024 GB, free: 15.18 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.000148/0.7617, allocations: 83.8 kB / 1.024 GB, free: 15.09 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 7.825e-06/0.7617, allocations: 8 kB / 1.024 GB, free: 15.09 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.275e-06/0.7617, allocations: 0 / 1.024 GB, free: 15.09 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 5.1e-06/0.7617, allocations: 0 / 1.024 GB, free: 15.09 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0006452/0.7624, allocations: 400.7 kB / 1.024 GB, free: 14.64 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.599e-05/0.7625, allocations: 15.92 kB / 1.024 GB, free: 14.63 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001029/0.7626, allocations: 11.91 kB / 1.024 GB, free: 14.62 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001336/0.7627, allocations: 163 kB / 1.024 GB, free: 14.42 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.218e-05/0.7627, allocations: 15.98 kB / 1.024 GB, free: 14.4 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.396e-05/0.7628, allocations: 8 kB / 1.024 GB, free: 14.39 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002574/0.763, allocations: 85.55 kB / 1.024 GB, free: 14.3 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.836e-06/0.763, allocations: 0 / 1.024 GB, free: 14.3 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.284e-05/0.7631, allocations: 0 / 1.024 GB, free: 14.3 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.531e-06/0.7631, allocations: 3.938 kB / 1.024 GB, free: 14.3 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001866/0.7633, allocations: 59.95 kB / 1.025 GB, free: 14.24 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005787/0.7639, allocations: 352.6 kB / 1.025 GB, free: 13.85 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001709/0.764, allocations: 66.55 kB / 1.025 GB, free: 13.77 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.592e-05/0.7641, allocations: 32.97 kB / 1.025 GB, free: 13.74 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.171e-05/0.7642, allocations: 0 / 1.025 GB, free: 13.74 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000251/0.7644, allocations: 99.39 kB / 1.025 GB, free: 13.63 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=8): time 1.623e-06/0.7644, allocations: 0 / 1.025 GB, free: 13.63 MB / 0.7794 GB Notification: Performance of matching and sorting (n=8): time 0.0004471/0.7649, allocations: 169.5 kB / 1.025 GB, free: 13.46 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.373e-05/0.765, allocations: 51.41 kB / 1.025 GB, free: 13.39 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001358/0.7651, allocations: 125.7 kB / 1.025 GB, free: 13.26 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.614e-05/0.7651, allocations: 29.7 kB / 1.025 GB, free: 13.23 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 7.679e-05/0.7652, allocations: 96.03 kB / 1.025 GB, free: 13.13 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.213e-05/0.7652, allocations: 15.81 kB / 1.025 GB, free: 13.11 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.334e-05/0.7653, allocations: 8 kB / 1.026 GB, free: 13.11 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001383/0.7654, allocations: 322.8 kB / 1.026 GB, free: 12.78 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001571/0.7656, allocations: 51.97 kB / 1.026 GB, free: 12.73 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001791/0.7658, allocations: 101.1 kB / 1.026 GB, free: 12.61 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000176/0.7659, allocations: 89.67 kB / 1.026 GB, free: 12.52 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.414e-06/0.766, allocations: 3.938 kB / 1.026 GB, free: 12.52 MB / 0.7794 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004178/0.7664, allocations: 219.1 kB / 1.026 GB, free: 12.29 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 5.331e-05/0.7664, allocations: 41.69 kB / 1.026 GB, free: 12.24 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.931e-06/0.7665, allocations: 0 / 1.026 GB, free: 12.24 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.549e-05/0.7665, allocations: 8.156 kB / 1.026 GB, free: 12.23 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001029/0.7666, allocations: 19.92 kB / 1.026 GB, free: 12.21 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.965e-06/0.7666, allocations: 4 kB / 1.026 GB, free: 12.21 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002187/0.7668, allocations: 55.8 kB / 1.026 GB, free: 12.16 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.016e-05/0.7669, allocations: 8 kB / 1.026 GB, free: 12.15 MB / 0.7794 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 9 ($PRE.triSam1.y,triSam1.y,$PRE.triSam.y,triSam.y,$whenCondition3,$PRE.booPul.y,booPul.y,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 10 * 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.0001185/0.767, allocations: 121.8 kB / 1.027 GB, free: 12.02 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.197e-05/0.767, allocations: 4 kB / 1.027 GB, free: 12.02 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003019/0.7673, allocations: 141.8 kB / 1.027 GB, free: 11.87 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.886e-06/0.7673, allocations: 0 / 1.027 GB, free: 11.87 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/0.7673, allocations: 0 / 1.027 GB, free: 11.87 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.879e-06/0.7673, allocations: 4 kB / 1.027 GB, free: 11.87 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004505/0.7678, allocations: 394.5 kB / 1.027 GB, free: 11.43 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.382e-06/0.7678, allocations: 0 / 1.027 GB, free: 11.43 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.031e-05/0.7679, allocations: 15.92 kB / 1.027 GB, free: 11.41 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.944e-06/0.7679, allocations: 0 / 1.027 GB, free: 11.41 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.019e-05/0.7679, allocations: 4 kB / 1.027 GB, free: 11.41 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.353e-06/0.7679, allocations: 0 / 1.027 GB, free: 11.41 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.7679, allocations: 0 / 1.027 GB, free: 11.41 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003163/0.7682, allocations: 243.8 kB / 1.027 GB, free: 11.15 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.319e-05/0.7683, allocations: 77.16 kB / 1.027 GB, free: 11.06 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.961e-05/0.7683, allocations: 7.984 kB / 1.027 GB, free: 11.05 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.956e-05/0.7684, allocations: 11.98 kB / 1.027 GB, free: 11.04 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.106e-05/0.7684, allocations: 11.98 kB / 1.027 GB, free: 11.03 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.011e-06/0.7685, allocations: 0 / 1.027 GB, free: 11.03 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 4.748e-05/0.7685, allocations: 91.27 kB / 1.027 GB, free: 10.94 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7685, allocations: 0 / 1.027 GB, free: 10.94 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002608/0.7688, allocations: 28 kB / 1.027 GB, free: 10.91 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: 6 ($whenCondition3,$whenCondition1,$whenCondition2,booPul.y,triSam.y,triSam1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.000148/0.7689, allocations: 105.6 kB / 1.028 GB, free: 10.8 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0003993/0.7693, allocations: 195.2 kB / 1.028 GB, free: 10.6 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.7694, allocations: 0 / 1.028 GB, free: 10.6 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001172/0.7695, allocations: 43.97 kB / 1.028 GB, free: 10.55 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002807/0.7698, allocations: 24.25 kB / 1.028 GB, free: 10.53 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003988/0.7702, allocations: 226.5 kB / 1.028 GB, free: 10.28 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002681/0.7705, allocations: 0.6965 MB / 1.029 GB, free: 9.555 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.664e-05/0.7705, allocations: 11.44 kB / 1.029 GB, free: 9.543 MB / 0.7794 GB Notification: Performance of SimCode: time 2.3e-07/0.7705, allocations: 0 / 1.029 GB, free: 9.543 MB / 0.7794 GB Notification: Performance of Templates: time 0.002848/0.7733, allocations: 1.256 MB / 1.03 GB, free: 8.297 MB / 0.7794 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler.makefile make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler.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.Discrete.Validation.TriggeredSamplerCalcHelperMain.o OMCppBuildings_latest_Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredSamplerCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_latest_Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredSamplerCalcHelperMain.o] Error 1