Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Discrete.Examples.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 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.Discrete.Examples.ZeroOrderHold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|zerOrdHol.u|zerOrdHol.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Discrete.Examples.ZeroOrderHold") translateModel(Buildings.Controls.OBC.CDL.Discrete.Examples.ZeroOrderHold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|zerOrdHol.u|zerOrdHol.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Discrete.Examples.ZeroOrderHold") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008511/0.0008512, allocations: 102.1 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.0009694/0.0009695, allocations: 173 kB / 16.58 MB, free: 6.398 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.463/1.463, allocations: 223.2 MB / 240.6 MB, free: 5.453 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.628/2.628, allocations: 390.4 MB / 0.6662 GB, free: 3 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003538/0.0003539, allocations: 8 kB / 0.8154 GB, free: 14.26 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9079/0.9083, allocations: 142.3 MB / 0.9544 GB, free: 8.184 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Discrete.Examples.ZeroOrderHold): time 0.0008217/0.9092, allocations: 394.6 kB / 0.9548 GB, free: 7.887 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.00118/0.9104, allocations: 1.038 MB / 0.9558 GB, free: 7.051 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4e-05/0.9104, allocations: 1.094 kB / 0.9558 GB, free: 7.051 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.479e-05/0.9105, allocations: 7.938 kB / 0.9558 GB, free: 7.043 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 6.96e-05/0.9105, allocations: 5.25 kB / 0.9558 GB, free: 7.039 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002453/0.9108, allocations: 37.77 kB / 0.9559 GB, free: 7.012 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 8.313e-05/0.9109, allocations: 40.7 kB / 0.9559 GB, free: 6.988 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 9.107e-05/0.911, allocations: 11.92 kB / 0.9559 GB, free: 6.98 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 6.65e-05/0.911, allocations: 15.28 kB / 0.9559 GB, free: 6.973 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 5.529e-05/0.9111, allocations: 27.11 kB / 0.9559 GB, free: 6.953 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.628e-05/0.9111, allocations: 2.438 kB / 0.956 GB, free: 6.953 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 6.298e-05/0.9112, allocations: 15.23 kB / 0.956 GB, free: 6.945 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.651e-05/0.9112, allocations: 10.47 kB / 0.956 GB, free: 6.938 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.541e-05/0.9113, allocations: 32.39 kB / 0.956 GB, free: 6.902 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 9.463e-05/0.9114, allocations: 38.91 kB / 0.956 GB, free: 6.875 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.922e-06/0.9114, allocations: 3.984 kB / 0.956 GB, free: 6.871 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.593e-06/0.9114, allocations: 0 / 0.956 GB, free: 6.871 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.017e-06/0.9114, allocations: 0 / 0.956 GB, free: 6.871 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0005447/0.912, allocations: 370.9 kB / 0.9564 GB, free: 6.492 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.684e-05/0.912, allocations: 9.531 kB / 0.9564 GB, free: 6.492 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.184e-05/0.9121, allocations: 10.23 kB / 0.9564 GB, free: 6.484 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.061e-05/0.9122, allocations: 165.6 kB / 0.9566 GB, free: 6.285 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.875e-05/0.9122, allocations: 5.062 kB / 0.9566 GB, free: 6.281 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.54e-05/0.9122, allocations: 2.344 kB / 0.9566 GB, free: 6.281 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002027/0.9124, allocations: 77.31 kB / 0.9567 GB, free: 6.223 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.666e-06/0.9124, allocations: 0 / 0.9567 GB, free: 6.223 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.197e-05/0.9124, allocations: 1.156 kB / 0.9567 GB, free: 6.223 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.591e-06/0.9125, allocations: 1.188 kB / 0.9567 GB, free: 6.223 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001864/0.9126, allocations: 56.5 kB / 0.9567 GB, free: 6.199 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003977/0.9131, allocations: 275.9 kB / 0.957 GB, free: 5.898 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001593/0.9132, allocations: 66.98 kB / 0.957 GB, free: 5.852 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.712e-05/0.9133, allocations: 36.44 kB / 0.9571 GB, free: 5.832 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.262e-05/0.9134, allocations: 8.859 kB / 0.9571 GB, free: 5.824 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002069/0.9136, allocations: 78.67 kB / 0.9572 GB, free: 5.758 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=7): time 1.383e-06/0.9136, allocations: 0 / 0.9572 GB, free: 5.758 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7): time 0.0004198/0.914, allocations: 140.2 kB / 0.9573 GB, free: 5.684 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.153e-05/0.9141, allocations: 60.52 kB / 0.9574 GB, free: 5.613 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.528e-05/0.9141, allocations: 101 kB / 0.9574 GB, free: 5.512 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.644e-05/0.9142, allocations: 35.2 kB / 0.9575 GB, free: 5.473 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 4.224e-05/0.9142, allocations: 89.5 kB / 0.9576 GB, free: 5.383 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.512e-05/0.9142, allocations: 22.2 kB / 0.9576 GB, free: 5.363 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.51e-06/0.9142, allocations: 0 / 0.9576 GB, free: 5.363 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.125e-05/0.9143, allocations: 321.5 kB / 0.9579 GB, free: 5.043 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.4e-05/0.9144, allocations: 26.58 kB / 0.9579 GB, free: 5.035 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001087/0.9145, allocations: 71.7 kB / 0.958 GB, free: 4.973 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001084/0.9146, allocations: 37.45 kB / 0.958 GB, free: 4.957 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.166e-06/0.9146, allocations: 1.094 kB / 0.958 GB, free: 4.957 MB / 0.7169 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002783/0.9149, allocations: 122.1 kB / 0.9581 GB, free: 4.887 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.309e-05/0.915, allocations: 11.2 kB / 0.9582 GB, free: 4.883 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.091e-06/0.915, allocations: 5.031 kB / 0.9582 GB, free: 4.879 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.767e-05/0.915, allocations: 6.438 kB / 0.9582 GB, free: 4.875 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001201/0.9151, allocations: 26.22 kB / 0.9582 GB, free: 4.863 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.615e-06/0.9151, allocations: 2.125 kB / 0.9582 GB, free: 4.863 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.017e-05/0.9152, allocations: 11.69 kB / 0.9582 GB, free: 4.859 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.217e-05/0.9152, allocations: 3.188 kB / 0.9582 GB, free: 4.859 MB / 0.7169 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 8.049e-05/0.9153, allocations: 126.5 kB / 0.9583 GB, free: 4.73 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.193e-05/0.9153, allocations: 2.438 kB / 0.9583 GB, free: 4.73 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002866/0.9156, allocations: 120.1 kB / 0.9584 GB, free: 4.656 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.98e-06/0.9156, allocations: 5.172 kB / 0.9584 GB, free: 4.652 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.602e-06/0.9156, allocations: 1.094 kB / 0.9584 GB, free: 4.652 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.168e-06/0.9157, allocations: 7.938 kB / 0.9585 GB, free: 4.645 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000407/0.9161, allocations: 371.2 kB / 0.9588 GB, free: 4.289 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.482e-06/0.9161, allocations: 0 / 0.9588 GB, free: 4.289 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.56e-05/0.9161, allocations: 24.48 kB / 0.9588 GB, free: 4.273 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.236e-06/0.9162, allocations: 3.953 kB / 0.9588 GB, free: 4.27 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.032e-05/0.9162, allocations: 1.312 kB / 0.9588 GB, free: 4.27 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.422e-06/0.9162, allocations: 0 / 0.9588 GB, free: 4.27 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.004e-06/0.9162, allocations: 5.422 kB / 0.9588 GB, free: 4.266 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000269/0.9165, allocations: 199.5 kB / 0.959 GB, free: 4.105 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.669e-05/0.9165, allocations: 83.27 kB / 0.9591 GB, free: 4.008 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.166e-05/0.9165, allocations: 9.062 kB / 0.9591 GB, free: 4 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.347e-05/0.9166, allocations: 7.5 kB / 0.9591 GB, free: 4 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.816e-05/0.9167, allocations: 11.2 kB / 0.9591 GB, free: 3.992 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.47e-05/0.9167, allocations: 2.156 kB / 0.9591 GB, free: 3.992 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.823e-05/0.9167, allocations: 83.58 kB / 0.9592 GB, free: 3.914 MB / 0.7169 GB Notification: Performance of sort global known variables: time 2.01e-07/0.9167, allocations: 4 kB / 0.9592 GB, free: 3.91 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002482/0.917, allocations: 15.34 kB / 0.9592 GB, free: 3.906 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: 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.0001524/0.9171, allocations: 102.8 kB / 0.9593 GB, free: 3.812 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002657/0.9174, allocations: 89.67 kB / 0.9594 GB, free: 3.773 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.9174, allocations: 5.281 kB / 0.9594 GB, free: 3.77 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001117/0.9175, allocations: 32.95 kB / 0.9595 GB, free: 3.762 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002638/0.9178, allocations: 13.34 kB / 0.9595 GB, free: 3.754 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003094/0.9181, allocations: 166.6 kB / 0.9596 GB, free: 3.586 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001168/0.9183, allocations: 0.6825 MB / 0.9603 GB, free: 2.887 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.753e-05/0.9183, allocations: 14.58 kB / 0.9603 GB, free: 2.875 MB / 0.7169 GB Notification: Performance of SimCode: time 2.1e-07/0.9183, allocations: 1.781 kB / 0.9603 GB, free: 2.875 MB / 0.7169 GB Notification: Performance of Templates: time 0.002514/0.9208, allocations: 0.9009 MB / 0.9612 GB, free: 2.418 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Discrete.Examples.ZeroOrderHold.makefile make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Discrete.Examples.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_9_Buildings.Controls.OBC.CDL.Discrete.Examples.ZeroOrderHoldCalcHelperMain.o OMCppBuildings_9_Buildings.Controls.OBC.CDL.Discrete.Examples.ZeroOrderHoldCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_9_Buildings.Controls.OBC.CDL.Discrete.Examples.ZeroOrderHoldCalcHelperMain.o] Error 1