Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Discrete.Examples.MovingMean.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.Obsolete.Controls.OBC.CDL.Discrete.Examples.MovingMean,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|movMea.u|movMea.y",fileNamePrefix="Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Discrete.Examples.MovingMean") translateModel(Buildings.Obsolete.Controls.OBC.CDL.Discrete.Examples.MovingMean,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|movMea.u|movMea.y",fileNamePrefix="Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Discrete.Examples.MovingMean") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007895/0.0007895, allocations: 102.7 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.0009553/0.0009553, allocations: 173.8 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.459/1.459, allocations: 223.3 MB / 240.6 MB, free: 5.414 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.457/2.457, allocations: 390.4 MB / 0.6662 GB, free: 2.883 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003548/0.0003549, allocations: 8 kB / 0.8154 GB, free: 14.14 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7566/0.757, allocations: 142.3 MB / 0.9544 GB, free: 8.09 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Obsolete.Controls.OBC.CDL.Discrete.Examples.MovingMean): time 0.001431/0.7585, allocations: 1.104 MB / 0.9555 GB, free: 7.207 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0005147/0.759, allocations: 269 kB / 0.9558 GB, free: 7.004 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.127e-05/0.7591, allocations: 0 / 0.9558 GB, free: 7.004 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 8.122e-05/0.7591, allocations: 5.062 kB / 0.9558 GB, free: 7 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001569/0.7593, allocations: 19.03 kB / 0.9558 GB, free: 6.984 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001408/0.7595, allocations: 22.55 kB / 0.9558 GB, free: 6.969 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001141/0.7596, allocations: 53.27 kB / 0.9559 GB, free: 6.938 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001084/0.7597, allocations: 10.69 kB / 0.9559 GB, free: 6.93 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000106/0.7598, allocations: 23.58 kB / 0.9559 GB, free: 6.918 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001268/0.7599, allocations: 31.31 kB / 0.9559 GB, free: 6.898 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.134e-05/0.76, allocations: 2.125 kB / 0.9559 GB, free: 6.898 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.501e-05/0.76, allocations: 2.469 kB / 0.9559 GB, free: 6.898 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 3.169e-05/0.76, allocations: 7.203 kB / 0.9559 GB, free: 6.895 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 4.184e-05/0.7601, allocations: 43.66 kB / 0.956 GB, free: 6.852 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 8.376e-05/0.7602, allocations: 38.98 kB / 0.956 GB, free: 6.824 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 6.402e-06/0.7602, allocations: 4 kB / 0.956 GB, free: 6.82 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.374e-06/0.7602, allocations: 0 / 0.956 GB, free: 6.82 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.828e-06/0.7602, allocations: 1.031 kB / 0.956 GB, free: 6.82 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0004215/0.7606, allocations: 388.6 kB / 0.9564 GB, free: 6.41 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.384e-05/0.7607, allocations: 9.5 kB / 0.9564 GB, free: 6.41 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.748e-05/0.7607, allocations: 7.234 kB / 0.9564 GB, free: 6.406 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001484/0.7609, allocations: 181.3 kB / 0.9566 GB, free: 6.195 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.64e-05/0.7609, allocations: 2.188 kB / 0.9566 GB, free: 6.195 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.621e-05/0.7609, allocations: 2.188 kB / 0.9566 GB, free: 6.195 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001817/0.7611, allocations: 77.62 kB / 0.9567 GB, free: 6.137 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.833e-06/0.7611, allocations: 5.25 kB / 0.9567 GB, free: 6.133 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.183e-05/0.7611, allocations: 3.984 kB / 0.9567 GB, free: 6.129 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.651e-06/0.7612, allocations: 1.312 kB / 0.9567 GB, free: 6.129 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001093/0.7613, allocations: 49.39 kB / 0.9567 GB, free: 6.105 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003835/0.7617, allocations: 288.5 kB / 0.957 GB, free: 5.801 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001188/0.7618, allocations: 80.83 kB / 0.9571 GB, free: 5.738 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.677e-05/0.7619, allocations: 57.58 kB / 0.9571 GB, free: 5.703 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.12e-05/0.7619, allocations: 5.391 kB / 0.9571 GB, free: 5.699 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001929/0.7621, allocations: 119.7 kB / 0.9572 GB, free: 5.59 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=11): time 1.262e-06/0.7621, allocations: 0 / 0.9572 GB, free: 5.59 MB / 0.7169 GB Notification: Performance of matching and sorting (n=11): time 0.0003905/0.7625, allocations: 210.2 kB / 0.9574 GB, free: 5.457 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.357e-05/0.7626, allocations: 118.6 kB / 0.9576 GB, free: 5.324 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.9e-05/0.7626, allocations: 106.9 kB / 0.9577 GB, free: 5.219 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.588e-05/0.7627, allocations: 32.52 kB / 0.9577 GB, free: 5.184 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.979e-05/0.7627, allocations: 86.48 kB / 0.9578 GB, free: 5.098 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.71e-05/0.7627, allocations: 36.34 kB / 0.9578 GB, free: 5.066 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.712e-06/0.7627, allocations: 1.281 kB / 0.9578 GB, free: 5.066 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.958e-05/0.7628, allocations: 321.2 kB / 0.9581 GB, free: 4.746 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.005e-05/0.7629, allocations: 38.64 kB / 0.9581 GB, free: 4.73 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001053/0.763, allocations: 110.3 kB / 0.9583 GB, free: 4.621 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001091/0.7631, allocations: 88.34 kB / 0.9583 GB, free: 4.559 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.537e-06/0.7631, allocations: 1.375 kB / 0.9583 GB, free: 4.559 MB / 0.7169 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.000285/0.7634, allocations: 206.2 kB / 0.9585 GB, free: 4.426 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 3.205e-05/0.7635, allocations: 32.64 kB / 0.9586 GB, free: 4.395 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.993e-06/0.7635, allocations: 7.25 kB / 0.9586 GB, free: 4.391 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.506e-05/0.7635, allocations: 2.938 kB / 0.9586 GB, free: 4.391 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001117/0.7636, allocations: 26.52 kB / 0.9586 GB, free: 4.383 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.908e-06/0.7636, allocations: 2.812 kB / 0.9586 GB, free: 4.383 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.763e-05/0.7637, allocations: 14.75 kB / 0.9586 GB, free: 4.375 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.485e-05/0.7637, allocations: 6.656 kB / 0.9586 GB, free: 4.375 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 18 ($PRE.movMea.iSample,movMea.iSample,$PRE.movMea.counter,movMea.counter,$PRE.movMea.ySample[4],movMea.ySample[4],$PRE.movMea.ySample[3],movMea.ySample[3],$PRE.movMea.ySample[2],movMea.ySample[2],$PRE.movMea.ySample[1],movMea.ySample[1],$PRE.movMea.index,movMea.index,$PRE.movMea.y,movMea.y,$whenCondition1,movMea.sampleTrigger) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 19 * 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.0001106/0.7638, allocations: 173.1 kB / 0.9588 GB, free: 4.207 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.701e-05/0.7639, allocations: 17.2 kB / 0.9588 GB, free: 4.195 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.489e-05/0.7639, allocations: 11.09 kB / 0.9588 GB, free: 4.188 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.783e-06/0.7639, allocations: 0 / 0.9588 GB, free: 4.188 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.579e-06/0.7639, allocations: 0 / 0.9588 GB, free: 4.188 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.945e-06/0.7639, allocations: 0 / 0.9588 GB, free: 4.188 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.82e-05/0.764, allocations: 195.1 kB / 0.959 GB, free: 3.961 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.893e-06/0.764, allocations: 0 / 0.959 GB, free: 3.961 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.797e-05/0.7641, allocations: 7.938 kB / 0.959 GB, free: 3.957 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.385e-06/0.7641, allocations: 1.031 kB / 0.959 GB, free: 3.957 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.368e-05/0.7641, allocations: 6.641 kB / 0.959 GB, free: 3.953 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.223e-06/0.7641, allocations: 4 kB / 0.959 GB, free: 3.949 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.143e-06/0.7641, allocations: 1.281 kB / 0.959 GB, free: 3.949 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003125/0.7644, allocations: 241.8 kB / 0.9593 GB, free: 3.773 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.33e-05/0.7645, allocations: 88.33 kB / 0.9593 GB, free: 3.672 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.068e-05/0.7645, allocations: 5.281 kB / 0.9593 GB, free: 3.672 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.082e-05/0.7646, allocations: 20.84 kB / 0.9594 GB, free: 3.656 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.358e-05/0.7646, allocations: 5.562 kB / 0.9594 GB, free: 3.652 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.08e-05/0.7646, allocations: 3.125 kB / 0.9594 GB, free: 3.652 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.845e-05/0.7647, allocations: 89.39 kB / 0.9595 GB, free: 3.57 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7647, allocations: 0 / 0.9595 GB, free: 3.57 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002201/0.7649, allocations: 18.72 kB / 0.9595 GB, free: 3.57 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: 10 ($whenCondition1,movMea.y,movMea.sampleTrigger,movMea.iSample,movMea.counter,movMea.index,movMea.ySample[1],movMea.ySample[2],movMea.ySample[3],movMea.ySample[4]) * Number of discrete states: 9 (movMea.iSample,movMea.y,movMea.counter,movMea.ySample[4],movMea.ySample[3],movMea.ySample[2],movMea.ySample[1],movMea.index,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 2 * 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 Backend phase and start with SimCode phase: time 0.0001326/0.765, allocations: 118.1 kB / 0.9596 GB, free: 3.473 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002663/0.7653, allocations: 180.1 kB / 0.9598 GB, free: 3.352 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.7653, allocations: 0 / 0.9598 GB, free: 3.352 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001632/0.7655, allocations: 189.3 kB / 0.9599 GB, free: 3.211 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001968/0.7657, allocations: 8.25 kB / 0.9599 GB, free: 3.211 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003625/0.766, allocations: 225.4 kB / 0.9602 GB, free: 3.012 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001209/0.7662, allocations: 0.694 MB / 0.9608 GB, free: 2.305 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.775e-05/0.7662, allocations: 10.44 kB / 0.9608 GB, free: 2.297 MB / 0.7169 GB Notification: Performance of SimCode: time 2.1e-07/0.7662, allocations: 1.406 kB / 0.9608 GB, free: 2.297 MB / 0.7169 GB Notification: Performance of Templates: time 0.003144/0.7694, allocations: 1.09 MB / 0.9619 GB, free: 1.75 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Discrete.Examples.MovingMean.makefile make -j1 -f Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Discrete.Examples.MovingMean.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.Obsolete.Controls.OBC.CDL.Discrete.Examples.MovingMeanCalcHelperMain.o OMCppBuildings_9_Buildings.Obsolete.Controls.OBC.CDL.Discrete.Examples.MovingMeanCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_9_Buildings.Obsolete.Controls.OBC.CDL.Discrete.Examples.MovingMeanCalcHelperMain.o] Error 1