Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Discrete.Validation.ZeroOrderHold.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.ZeroOrderHold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|zerOrdHol.u|zerOrdHol.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Discrete.Validation.ZeroOrderHold") translateModel(Buildings.Controls.OBC.CDL.Discrete.Validation.ZeroOrderHold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|zerOrdHol.u|zerOrdHol.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Discrete.Validation.ZeroOrderHold") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008515/0.0008516, allocations: 99.59 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.0008728/0.0008729, allocations: 180.3 kB / 16.58 MB, free: 6.879 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.472/1.472, allocations: 223.2 MB / 240.6 MB, free: 5.43 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.689/2.689, allocations: 436.7 MB / 0.7113 GB, free: 7.906 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0004027/0.0004027, allocations: 8 kB / 0.8717 GB, free: 4.809 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7955/0.7959, allocations: 153.7 MB / 1.022 GB, free: 1.125 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Discrete.Validation.ZeroOrderHold): time 0.0008779/0.7968, allocations: 392.9 kB / 1.022 GB, free: 0.7461 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001269/0.7981, allocations: 1.046 MB / 1.023 GB, free: 15.68 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.768e-05/0.7982, allocations: 0 / 1.023 GB, free: 15.68 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 1.29e-05/0.7982, allocations: 4 kB / 1.023 GB, free: 15.68 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 6.966e-05/0.7983, allocations: 3.938 kB / 1.023 GB, free: 15.68 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002468/0.7985, allocations: 43.89 kB / 1.023 GB, free: 15.63 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 7.6e-05/0.7986, allocations: 39.86 kB / 1.023 GB, free: 15.59 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 9.419e-05/0.7987, allocations: 7.984 kB / 1.023 GB, free: 15.59 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 6.901e-05/0.7988, allocations: 12 kB / 1.023 GB, free: 15.57 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 6.159e-05/0.7989, allocations: 27.89 kB / 1.023 GB, free: 15.55 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.313e-05/0.7989, allocations: 3.938 kB / 1.023 GB, free: 15.54 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 6.112e-05/0.799, allocations: 19.98 kB / 1.023 GB, free: 15.52 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 1.656e-05/0.799, allocations: 4 kB / 1.023 GB, free: 15.52 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 4.312e-05/0.799, allocations: 33.7 kB / 1.023 GB, free: 15.48 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0001034/0.7991, allocations: 39.91 kB / 1.023 GB, free: 15.44 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 5.32e-06/0.7992, allocations: 0 / 1.023 GB, free: 15.44 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.703e-06/0.7992, allocations: 0 / 1.023 GB, free: 15.44 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 6.953e-06/0.7992, allocations: 0 / 1.023 GB, free: 15.44 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0005515/0.7997, allocations: 381.1 kB / 1.024 GB, free: 15.02 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.614e-05/0.7998, allocations: 11.98 kB / 1.024 GB, free: 15.01 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.802e-05/0.7998, allocations: 7.906 kB / 1.024 GB, free: 15 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001086/0.7999, allocations: 159.1 kB / 1.024 GB, free: 14.81 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.536e-05/0.8, allocations: 4 kB / 1.024 GB, free: 14.8 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.1e-05/0.8, allocations: 0 / 1.024 GB, free: 14.8 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000211/0.8002, allocations: 81.59 kB / 1.024 GB, free: 14.72 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.895e-06/0.8002, allocations: 0 / 1.024 GB, free: 14.72 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.246e-05/0.8002, allocations: 4 kB / 1.024 GB, free: 14.71 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.021e-06/0.8002, allocations: 4 kB / 1.024 GB, free: 14.71 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001724/0.8004, allocations: 51.89 kB / 1.024 GB, free: 14.66 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000459/0.8009, allocations: 288.7 kB / 1.024 GB, free: 14.33 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001594/0.801, allocations: 66.55 kB / 1.024 GB, free: 14.25 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.708e-05/0.8012, allocations: 36.97 kB / 1.024 GB, free: 14.21 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.297e-05/0.8012, allocations: 7.922 kB / 1.024 GB, free: 14.21 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002206/0.8014, allocations: 79.33 kB / 1.024 GB, free: 14.12 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=7): time 1.733e-06/0.8014, allocations: 0 / 1.024 GB, free: 14.12 MB / 0.7794 GB Notification: Performance of matching and sorting (n=7): time 0.0003965/0.8018, allocations: 133.6 kB / 1.025 GB, free: 13.98 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.449e-05/0.8019, allocations: 63.39 kB / 1.025 GB, free: 13.91 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.381e-05/0.802, allocations: 97.86 kB / 1.025 GB, free: 13.8 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.587e-05/0.802, allocations: 33.7 kB / 1.025 GB, free: 13.76 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 4.798e-05/0.802, allocations: 91.97 kB / 1.025 GB, free: 13.67 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.391e-05/0.8021, allocations: 19.88 kB / 1.025 GB, free: 13.65 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.694e-06/0.8021, allocations: 4 kB / 1.025 GB, free: 13.64 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001181/0.8022, allocations: 314.8 kB / 1.025 GB, free: 13.33 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.211e-05/0.8023, allocations: 27.98 kB / 1.025 GB, free: 13.3 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001113/0.8024, allocations: 72.2 kB / 1.025 GB, free: 13.21 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001081/0.8025, allocations: 39.94 kB / 1.025 GB, free: 13.18 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.887e-06/0.8025, allocations: 4 kB / 1.025 GB, free: 13.17 MB / 0.7794 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002633/0.8028, allocations: 121.5 kB / 1.025 GB, free: 13.05 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.552e-05/0.8028, allocations: 12.11 kB / 1.025 GB, free: 13.04 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.141e-06/0.8028, allocations: 4 kB / 1.025 GB, free: 13.03 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.144e-05/0.8029, allocations: 0 / 1.025 GB, free: 13.03 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001097/0.803, allocations: 19.98 kB / 1.026 GB, free: 13.01 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.312e-06/0.803, allocations: 0 / 1.026 GB, free: 13.01 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.04e-05/0.8031, allocations: 15.91 kB / 1.026 GB, free: 13 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.151e-05/0.8031, allocations: 7.938 kB / 1.026 GB, free: 12.99 MB / 0.7794 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($PRE.zerOrdHol.firstTrigger,zerOrdHol.firstTrigger,$whenCondition1,zerOrdHol.sampleTrigger,$PRE.zerOrdHol.ySample,zerOrdHol.ySample) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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 9.936e-05/0.8032, allocations: 135.7 kB / 1.026 GB, free: 12.85 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.136e-05/0.8032, allocations: 4 kB / 1.026 GB, free: 12.84 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002737/0.8035, allocations: 110 kB / 1.026 GB, free: 12.73 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.979e-06/0.8035, allocations: 4 kB / 1.026 GB, free: 12.73 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.908e-06/0.8035, allocations: 0 / 1.026 GB, free: 12.73 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.386e-06/0.8035, allocations: 4 kB / 1.026 GB, free: 12.72 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000437/0.804, allocations: 370.3 kB / 1.026 GB, free: 12.3 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.383e-06/0.804, allocations: 0 / 1.026 GB, free: 12.3 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.243e-05/0.804, allocations: 19.98 kB / 1.026 GB, free: 12.29 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.944e-06/0.804, allocations: 0 / 1.026 GB, free: 12.29 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.849e-06/0.8041, allocations: 0 / 1.026 GB, free: 12.29 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.373e-06/0.8041, allocations: 0 / 1.026 GB, free: 12.29 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.8041, allocations: 4 kB / 1.026 GB, free: 12.28 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002865/0.8044, allocations: 211.6 kB / 1.026 GB, free: 12.06 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.749e-05/0.8044, allocations: 81.02 kB / 1.026 GB, free: 11.96 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.117e-05/0.8045, allocations: 11.97 kB / 1.026 GB, free: 11.95 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.471e-05/0.8046, allocations: 15.98 kB / 1.026 GB, free: 11.93 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.025e-05/0.8046, allocations: 3.984 kB / 1.026 GB, free: 11.93 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.565e-05/0.8046, allocations: 4.25 kB / 1.026 GB, free: 11.93 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 4.497e-05/0.8047, allocations: 95.27 kB / 1.027 GB, free: 11.83 MB / 0.7794 GB Notification: Performance of sort global known variables: time 2.01e-07/0.8047, allocations: 0 / 1.027 GB, free: 11.83 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002386/0.8049, allocations: 12 kB / 1.027 GB, free: 11.82 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: 4 (zerOrdHol.sampleTrigger,$whenCondition1,zerOrdHol.ySample,zerOrdHol.firstTrigger) * Number of discrete states: 1 (zerOrdHol.ySample) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0001537/0.8051, allocations: 103.2 kB / 1.027 GB, free: 11.71 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002739/0.8054, allocations: 88.41 kB / 1.027 GB, free: 11.62 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.8054, allocations: 0 / 1.027 GB, free: 11.62 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.000106/0.8055, allocations: 39.92 kB / 1.027 GB, free: 11.59 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002757/0.8058, allocations: 11.94 kB / 1.027 GB, free: 11.57 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003386/0.8061, allocations: 180.7 kB / 1.027 GB, free: 11.36 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002486/0.8064, allocations: 0.6848 MB / 1.028 GB, free: 10.65 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.814e-05/0.8064, allocations: 7.438 kB / 1.028 GB, free: 10.64 MB / 0.7794 GB Notification: Performance of SimCode: time 2.5e-07/0.8064, allocations: 4 kB / 1.028 GB, free: 10.64 MB / 0.7794 GB Notification: Performance of Templates: time 0.002901/0.8093, allocations: 0.8846 MB / 1.029 GB, free: 9.762 MB / 0.7794 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Discrete.Validation.ZeroOrderHold.makefile make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Discrete.Validation.ZeroOrderHold.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.ZeroOrderHoldCalcHelperMain.o OMCppBuildings_latest_Buildings.Controls.OBC.CDL.Discrete.Validation.ZeroOrderHoldCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_latest_Buildings.Controls.OBC.CDL.Discrete.Validation.ZeroOrderHoldCalcHelperMain.o] Error 1