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.0008367/0.0008366, allocations: 92.78 kB / 16.02 MB, free: 80 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.001014/0.001014, allocations: 181.3 kB / 16.92 MB, free: 6.652 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.802/1.802, allocations: 205.4 MB / 223.1 MB, free: 5.469 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.877/1.877, allocations: 292.7 MB / 0.5509 GB, free: 14.5 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.0006077/0.0006078, allocations: 14.94 kB / 0.675 GB, free: 25.86 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3444/0.345, allocations: 116.3 MB / 0.7885 GB, free: 11.61 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Discrete.Examples.FirstOrderHold): time 0.001134/0.3462, allocations: 425.4 kB / 0.789 GB, free: 11.19 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001571/0.3478, allocations: 1.064 MB / 0.79 GB, free: 10.11 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.29e-05/0.3479, allocations: 0 / 0.79 GB, free: 10.11 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.224e-05/0.3479, allocations: 3.938 kB / 0.79 GB, free: 10.11 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 8.294e-05/0.348, allocations: 0 / 0.79 GB, free: 10.11 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002999/0.3483, allocations: 39.89 kB / 0.79 GB, free: 10.07 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001121/0.3484, allocations: 59.91 kB / 0.7901 GB, free: 10.01 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001107/0.3486, allocations: 15.98 kB / 0.7901 GB, free: 9.996 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 8.159e-05/0.3486, allocations: 27.86 kB / 0.7901 GB, free: 9.969 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 7.944e-05/0.3487, allocations: 31.84 kB / 0.7902 GB, free: 9.938 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.731e-05/0.3488, allocations: 4 kB / 0.7902 GB, free: 9.934 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 7.323e-05/0.3488, allocations: 15.97 kB / 0.7902 GB, free: 9.918 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.437e-05/0.3489, allocations: 11.98 kB / 0.7902 GB, free: 9.906 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 6.764e-05/0.3489, allocations: 53.56 kB / 0.7902 GB, free: 9.848 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001278/0.3491, allocations: 51.88 kB / 0.7903 GB, free: 9.797 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.07e-06/0.3491, allocations: 0 / 0.7903 GB, free: 9.797 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.474e-06/0.3491, allocations: 0 / 0.7903 GB, free: 9.797 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.55e-06/0.3491, allocations: 4 kB / 0.7903 GB, free: 9.793 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.0007015/0.3498, allocations: 379.6 kB / 0.7907 GB, free: 9.371 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 5.352e-05/0.3499, allocations: 12.03 kB / 0.7907 GB, free: 9.359 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.882e-05/0.3499, allocations: 8.844 kB / 0.7907 GB, free: 9.352 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001479/0.3501, allocations: 164.3 kB / 0.7908 GB, free: 9.152 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.261e-05/0.3501, allocations: 8.375 kB / 0.7908 GB, free: 9.145 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.206e-05/0.3502, allocations: 12.36 kB / 0.7909 GB, free: 9.133 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002458/0.3504, allocations: 94.09 kB / 0.7909 GB, free: 9.035 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.657e-06/0.3504, allocations: 192 / 0.7909 GB, free: 9.035 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.527e-05/0.3504, allocations: 3.938 kB / 0.7909 GB, free: 9.031 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.052e-06/0.3505, allocations: 0 / 0.7909 GB, free: 9.031 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002253/0.3507, allocations: 71.94 kB / 0.791 GB, free: 8.961 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006129/0.3513, allocations: 304.8 kB / 0.7913 GB, free: 8.613 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000218/0.3515, allocations: 94.41 kB / 0.7914 GB, free: 8.512 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001521/0.3517, allocations: 48.83 kB / 0.7914 GB, free: 8.461 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 3.072e-05/0.3517, allocations: 7.984 kB / 0.7915 GB, free: 8.453 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002607/0.352, allocations: 91.38 kB / 0.7915 GB, free: 8.352 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=10): time 1.804e-06/0.352, allocations: 0 / 0.7915 GB, free: 8.352 MB / 0.6075 GB Notification: Performance of matching and sorting (n=10): time 0.0005473/0.3526, allocations: 197.6 kB / 0.7917 GB, free: 8.152 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.778e-05/0.3527, allocations: 55.45 kB / 0.7918 GB, free: 8.086 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001235/0.3528, allocations: 117.8 kB / 0.7919 GB, free: 7.961 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.83e-05/0.3528, allocations: 29.7 kB / 0.7919 GB, free: 7.926 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 8.452e-05/0.3529, allocations: 88.36 kB / 0.792 GB, free: 7.832 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.559e-05/0.353, allocations: 23.66 kB / 0.792 GB, free: 7.809 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.748e-05/0.353, allocations: 21.7 kB / 0.792 GB, free: 7.781 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001921/0.3532, allocations: 326.8 kB / 0.7924 GB, free: 7.453 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001274/0.3533, allocations: 35.98 kB / 0.7924 GB, free: 7.418 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001459/0.3535, allocations: 70.53 kB / 0.7925 GB, free: 7.34 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000263/0.3538, allocations: 114.4 kB / 0.7926 GB, free: 7.219 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.186e-06/0.3538, allocations: 0 / 0.7926 GB, free: 7.219 MB / 0.6075 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0003542/0.3541, allocations: 157.5 kB / 0.7927 GB, free: 7.059 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.969e-05/0.3542, allocations: 7.938 kB / 0.7927 GB, free: 7.051 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.965e-06/0.3542, allocations: 0 / 0.7927 GB, free: 7.051 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.736e-05/0.3542, allocations: 4 kB / 0.7927 GB, free: 7.047 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001426/0.3544, allocations: 24.05 kB / 0.7928 GB, free: 7.023 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.208e-06/0.3544, allocations: 4 kB / 0.7928 GB, free: 7.02 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.685e-05/0.3545, allocations: 19.83 kB / 0.7928 GB, free: 7 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.455e-05/0.3545, allocations: 4 kB / 0.7928 GB, free: 6.996 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.0001366/0.3546, allocations: 130.4 kB / 0.7929 GB, free: 6.859 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.344e-05/0.3547, allocations: 4 kB / 0.7929 GB, free: 6.855 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003871/0.3551, allocations: 157.9 kB / 0.7931 GB, free: 6.695 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.895e-06/0.3551, allocations: 0 / 0.7931 GB, free: 6.695 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.484e-06/0.3551, allocations: 0 / 0.7931 GB, free: 6.695 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.977e-06/0.3551, allocations: 0 / 0.7931 GB, free: 6.695 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005777/0.3557, allocations: 434.7 kB / 0.7935 GB, free: 6.215 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.274e-06/0.3557, allocations: 0 / 0.7935 GB, free: 6.215 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.793e-05/0.3558, allocations: 12 kB / 0.7935 GB, free: 6.203 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.465e-06/0.3558, allocations: 0 / 0.7935 GB, free: 6.203 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.443e-05/0.3558, allocations: 3.984 kB / 0.7935 GB, free: 6.199 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.282e-06/0.3558, allocations: 0 / 0.7935 GB, free: 6.199 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.3558, allocations: 4 kB / 0.7935 GB, free: 6.195 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003869/0.3562, allocations: 243.4 kB / 0.7937 GB, free: 5.941 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 5.432e-05/0.3563, allocations: 92.94 kB / 0.7938 GB, free: 5.832 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.035e-05/0.3563, allocations: 4 kB / 0.7938 GB, free: 5.828 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001044/0.3564, allocations: 11.98 kB / 0.7938 GB, free: 5.816 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.474e-05/0.3565, allocations: 8 kB / 0.7938 GB, free: 5.809 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.473e-05/0.3565, allocations: 11.92 kB / 0.7939 GB, free: 5.797 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 5.09e-05/0.3565, allocations: 79.28 kB / 0.7939 GB, free: 5.719 MB / 0.6075 GB Notification: Performance of sort global known variables: time 3.4e-07/0.3565, allocations: 3.938 kB / 0.7939 GB, free: 5.715 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002551/0.3568, allocations: 20 kB / 0.7939 GB, free: 5.695 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.0001881/0.357, allocations: 111.2 kB / 0.7941 GB, free: 5.578 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0003152/0.3573, allocations: 103.9 kB / 0.7942 GB, free: 5.477 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.3573, allocations: 3.938 kB / 0.7942 GB, free: 5.473 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.000144/0.3575, allocations: 60.03 kB / 0.7942 GB, free: 5.414 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002771/0.3578, allocations: 8 kB / 0.7942 GB, free: 5.406 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004554/0.3582, allocations: 195 kB / 0.7944 GB, free: 5.176 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002815/0.3585, allocations: 0.693 MB / 0.7951 GB, free: 4.457 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.162e-05/0.3586, allocations: 11.44 kB / 0.7951 GB, free: 4.449 MB / 0.6075 GB Notification: Performance of SimCode: time 3.31e-07/0.3586, allocations: 0 / 0.7951 GB, free: 4.449 MB / 0.6075 GB Notification: Performance of Templates: time 0.003027/0.3616, allocations: 1.084 MB / 0.7962 GB, free: 3.367 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