Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Discrete.Examples.FirstOrderHold.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.Examples.FirstOrderHold,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Discrete.Examples.FirstOrderHold") translateModel(Buildings.Controls.OBC.CDL.Discrete.Examples.FirstOrderHold,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Discrete.Examples.FirstOrderHold") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008566/0.008566, allocations: 99.8 kB / 15.87 MB, free: 5.867 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001352/0.001352, allocations: 193.3 kB / 16.79 MB, free: 5.809 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.705/1.705, allocations: 205.1 MB / 222.6 MB, free: 4.719 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.819/1.819, allocations: 292.3 MB / 0.5491 GB, free: 13.66 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001387/0.001387, allocations: 64.44 kB / 0.6715 GB, free: 26.25 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3417/0.3431, allocations: 114.5 MB / 0.7833 GB, free: 14 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Discrete.Examples.FirstOrderHold): time 0.00229/0.3455, allocations: 0.7563 MB / 0.7841 GB, free: 13.24 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001595/0.3471, allocations: 1.06 MB / 0.7851 GB, free: 12.17 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.551e-05/0.3472, allocations: 3.938 kB / 0.7851 GB, free: 12.16 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 3.766e-05/0.3472, allocations: 0 / 0.7851 GB, free: 12.16 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 7.456e-05/0.3473, allocations: 7.922 kB / 0.7851 GB, free: 12.16 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002739/0.3476, allocations: 39.97 kB / 0.7852 GB, free: 12.12 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001009/0.3477, allocations: 71.77 kB / 0.7852 GB, free: 12.05 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001044/0.3478, allocations: 8 kB / 0.7852 GB, free: 12.04 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 7.425e-05/0.3479, allocations: 19.92 kB / 0.7853 GB, free: 12.02 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 6.718e-05/0.348, allocations: 39.83 kB / 0.7853 GB, free: 11.98 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.788e-05/0.348, allocations: 4 kB / 0.7853 GB, free: 11.98 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 6.818e-05/0.3481, allocations: 11.98 kB / 0.7853 GB, free: 11.96 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.716e-05/0.3481, allocations: 19.92 kB / 0.7853 GB, free: 11.95 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 5.721e-05/0.3482, allocations: 27.86 kB / 0.7854 GB, free: 11.92 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.000121/0.3483, allocations: 55.89 kB / 0.7854 GB, free: 11.86 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.3483, allocations: 0 / 0.7854 GB, free: 11.86 MB / 0.6075 GB Notification: Performance of FrontEnd: time 9.51e-07/0.3483, allocations: 0 / 0.7854 GB, free: 11.86 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.489e-06/0.3483, allocations: 0 / 0.7854 GB, free: 11.86 MB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0007634/0.3491, allocations: 383.6 kB / 0.7858 GB, free: 11.44 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.508e-05/0.3491, allocations: 8.031 kB / 0.7858 GB, free: 11.43 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.647e-05/0.3492, allocations: 4.938 kB / 0.7858 GB, free: 11.43 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001408/0.3493, allocations: 180.2 kB / 0.786 GB, free: 11.21 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.463e-05/0.3494, allocations: 4.375 kB / 0.786 GB, free: 11.21 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.36e-05/0.3494, allocations: 8.375 kB / 0.786 GB, free: 11.2 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002604/0.3497, allocations: 82.2 kB / 0.7861 GB, free: 11.11 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.747e-06/0.3497, allocations: 4.125 kB / 0.7861 GB, free: 11.11 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.772e-05/0.3497, allocations: 7.938 kB / 0.7861 GB, free: 11.1 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.651e-06/0.3497, allocations: 0 / 0.7861 GB, free: 11.1 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000215/0.3499, allocations: 55.89 kB / 0.7861 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005752/0.3505, allocations: 308.8 kB / 0.7864 GB, free: 10.7 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002062/0.3507, allocations: 90.47 kB / 0.7865 GB, free: 10.6 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000114/0.3509, allocations: 36.84 kB / 0.7865 GB, free: 10.56 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.185e-05/0.3509, allocations: 4 kB / 0.7865 GB, free: 10.55 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002546/0.3511, allocations: 95.48 kB / 0.7866 GB, free: 10.45 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=10): time 1.623e-06/0.3512, allocations: 0 / 0.7866 GB, free: 10.45 MB / 0.6075 GB Notification: Performance of matching and sorting (n=10): time 0.0005061/0.3517, allocations: 173.7 kB / 0.7868 GB, free: 10.27 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.151e-05/0.3517, allocations: 59.41 kB / 0.7868 GB, free: 10.2 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.496e-05/0.3518, allocations: 105.8 kB / 0.787 GB, free: 10.09 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 3.801e-05/0.3519, allocations: 33.8 kB / 0.787 GB, free: 10.05 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 6.033e-05/0.352, allocations: 88.3 kB / 0.7871 GB, free: 9.957 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.088e-05/0.352, allocations: 27.66 kB / 0.7871 GB, free: 9.93 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.3e-05/0.352, allocations: 33.7 kB / 0.7871 GB, free: 9.891 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001608/0.3522, allocations: 318.8 kB / 0.7874 GB, free: 9.57 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001223/0.3523, allocations: 35.97 kB / 0.7875 GB, free: 9.535 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001357/0.3525, allocations: 66.55 kB / 0.7875 GB, free: 9.461 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002496/0.3527, allocations: 102.4 kB / 0.7876 GB, free: 9.352 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.558e-06/0.3528, allocations: 112 / 0.7876 GB, free: 9.352 MB / 0.6075 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0003026/0.3531, allocations: 145.4 kB / 0.7878 GB, free: 9.203 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.498e-05/0.3531, allocations: 4 kB / 0.7878 GB, free: 9.199 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.947e-06/0.3531, allocations: 4 kB / 0.7878 GB, free: 9.195 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.362e-05/0.3531, allocations: 0 / 0.7878 GB, free: 9.195 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001343/0.3533, allocations: 23.92 kB / 0.7878 GB, free: 9.172 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.143e-06/0.3533, allocations: 0 / 0.7878 GB, free: 9.172 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.359e-05/0.3534, allocations: 19.83 kB / 0.7878 GB, free: 9.152 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.337e-05/0.3534, allocations: 8.062 kB / 0.7878 GB, free: 9.145 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 12 (firOrdHol.firstTrigger,$PRE.firOrdHol.firstTrigger,firOrdHol.sampleTrigger,$whenCondition1,firOrdHol.c,$PRE.firOrdHol.c,firOrdHol.pre_uSample,$PRE.firOrdHol.pre_uSample,firOrdHol.uSample,$PRE.firOrdHol.uSample,firOrdHol.tSample,$PRE.firOrdHol.tSample) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (16): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000129/0.3535, allocations: 129.8 kB / 0.7879 GB, free: 9.008 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.456e-05/0.3535, allocations: 3.906 kB / 0.7879 GB, free: 9.004 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003704/0.3539, allocations: 145.9 kB / 0.7881 GB, free: 8.855 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.635e-06/0.3539, allocations: 0 / 0.7881 GB, free: 8.855 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.909e-06/0.3539, allocations: 0 / 0.7881 GB, free: 8.855 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.492e-06/0.3539, allocations: 4 kB / 0.7881 GB, free: 8.852 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005687/0.3545, allocations: 410.4 kB / 0.7885 GB, free: 8.395 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.286e-06/0.3545, allocations: 0 / 0.7885 GB, free: 8.395 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.831e-05/0.3546, allocations: 11.94 kB / 0.7885 GB, free: 8.383 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.737e-06/0.3546, allocations: 7.922 kB / 0.7885 GB, free: 8.375 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.357e-05/0.3547, allocations: 4 kB / 0.7885 GB, free: 8.371 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5e-06/0.3547, allocations: 4 kB / 0.7885 GB, free: 8.367 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.3547, allocations: 0 / 0.7885 GB, free: 8.367 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003779/0.3551, allocations: 239.4 kB / 0.7887 GB, free: 8.117 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 5.451e-05/0.3551, allocations: 89.28 kB / 0.7888 GB, free: 8.012 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.373e-05/0.3551, allocations: 4 kB / 0.7888 GB, free: 8.008 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001052/0.3553, allocations: 11.98 kB / 0.7888 GB, free: 7.996 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.396e-05/0.3553, allocations: 4 kB / 0.7888 GB, free: 7.992 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.564e-05/0.3553, allocations: 11.92 kB / 0.7889 GB, free: 7.98 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 6.69e-05/0.3554, allocations: 87.28 kB / 0.7889 GB, free: 7.895 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1e-07/0.3554, allocations: 0 / 0.7889 GB, free: 7.895 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002452/0.3557, allocations: 20 kB / 0.789 GB, free: 7.875 MB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 7 (firOrdHol.sampleTrigger,$whenCondition1,firOrdHol.firstTrigger,firOrdHol.tSample,firOrdHol.uSample,firOrdHol.pre_uSample,firOrdHol.c) * Number of discrete states: 2 (firOrdHol.uSample,firOrdHol.c) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002085/0.3559, allocations: 103.2 kB / 0.7891 GB, free: 7.766 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0003274/0.3562, allocations: 95.88 kB / 0.7891 GB, free: 7.672 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 4.018e-06/0.3562, allocations: 4.125 kB / 0.7891 GB, free: 7.668 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.000133/0.3564, allocations: 55.91 kB / 0.7892 GB, free: 7.613 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002758/0.3567, allocations: 4.328 kB / 0.7892 GB, free: 7.609 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004484/0.3571, allocations: 201.5 kB / 0.7894 GB, free: 7.379 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004384/0.3576, allocations: 0.6888 MB / 0.7901 GB, free: 6.664 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.591e-05/0.3576, allocations: 15.38 kB / 0.7901 GB, free: 6.652 MB / 0.6075 GB Notification: Performance of SimCode: time 4.61e-07/0.3576, allocations: 0 / 0.7901 GB, free: 6.652 MB / 0.6075 GB Notification: Performance of Templates: time 0.003234/0.3609, allocations: 1.085 MB / 0.7911 GB, free: 5.57 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Discrete.Examples.FirstOrderHold.makefile make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Discrete.Examples.FirstOrderHold.makefile clang++ -std=c++14 NOTFOUND -Winvalid-pch -O2 -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/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppBuildings_8_Buildings.Controls.OBC.CDL.Discrete.Examples.FirstOrderHoldCalcHelperMain.o OMCppBuildings_8_Buildings.Controls.OBC.CDL.Discrete.Examples.FirstOrderHoldCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_8_Buildings.Controls.OBC.CDL.Discrete.Examples.FirstOrderHoldCalcHelperMain.o] Error 1