Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_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 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.FirstOrderHold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|firOrdHol.u|firOrdHol.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Discrete.Examples.FirstOrderHold") translateModel(Buildings.Controls.OBC.CDL.Discrete.Examples.FirstOrderHold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|firOrdHol.u|firOrdHol.y",fileNamePrefix="Buildings_9_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.0008209/0.0008211, allocations: 102 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.000996/0.0009962, allocations: 178.2 kB / 16.58 MB, free: 6.121 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.512/1.512, allocations: 223.2 MB / 240.6 MB, free: 5.289 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.615/2.615, allocations: 390.4 MB / 0.6662 GB, free: 2.879 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003699/0.0003699, allocations: 8 kB / 0.8154 GB, free: 14.23 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8915/0.8919, allocations: 142.3 MB / 0.9544 GB, free: 8.332 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Discrete.Examples.FirstOrderHold): time 0.0009872/0.893, allocations: 404.5 kB / 0.9548 GB, free: 8.027 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001596/0.8946, allocations: 1.051 MB / 0.9558 GB, free: 7.18 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.965e-05/0.8947, allocations: 3.938 kB / 0.9558 GB, free: 7.176 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.99e-05/0.8948, allocations: 0 / 0.9558 GB, free: 7.176 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 9.667e-05/0.8949, allocations: 9.516 kB / 0.9558 GB, free: 7.168 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003898/0.8953, allocations: 33.81 kB / 0.9559 GB, free: 7.145 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001308/0.8954, allocations: 62.39 kB / 0.9559 GB, free: 7.105 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001231/0.8956, allocations: 9.406 kB / 0.9559 GB, free: 7.102 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000101/0.8957, allocations: 29.75 kB / 0.956 GB, free: 7.082 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 8.667e-05/0.8958, allocations: 32.12 kB / 0.956 GB, free: 7.059 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.027e-05/0.8958, allocations: 7 kB / 0.956 GB, free: 7.055 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 8.166e-05/0.8959, allocations: 13.48 kB / 0.956 GB, free: 7.051 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.835e-05/0.8959, allocations: 14.5 kB / 0.956 GB, free: 7.039 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 5.132e-05/0.896, allocations: 39.17 kB / 0.9561 GB, free: 7 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001325/0.8961, allocations: 46.89 kB / 0.9561 GB, free: 6.965 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 7.875e-06/0.8961, allocations: 1.625 kB / 0.9561 GB, free: 6.965 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.204e-06/0.8961, allocations: 0 / 0.9561 GB, free: 6.965 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.122e-06/0.8961, allocations: 0 / 0.9561 GB, free: 6.965 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.0006575/0.8968, allocations: 382.8 kB / 0.9565 GB, free: 6.578 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 6.527e-05/0.8969, allocations: 10.28 kB / 0.9565 GB, free: 6.578 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.394e-05/0.897, allocations: 11.17 kB / 0.9565 GB, free: 6.57 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001214/0.8971, allocations: 161.3 kB / 0.9567 GB, free: 6.375 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.279e-05/0.8971, allocations: 2.312 kB / 0.9567 GB, free: 6.375 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.737e-05/0.8972, allocations: 9.562 kB / 0.9567 GB, free: 6.371 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002787/0.8975, allocations: 87.02 kB / 0.9568 GB, free: 6.309 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.128e-05/0.8975, allocations: 0 / 0.9568 GB, free: 6.309 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.912e-05/0.8975, allocations: 1.094 kB / 0.9568 GB, free: 6.309 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.125e-06/0.8975, allocations: 5.156 kB / 0.9568 GB, free: 6.305 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002275/0.8978, allocations: 70.34 kB / 0.9568 GB, free: 6.273 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005817/0.8983, allocations: 319.3 kB / 0.9571 GB, free: 5.941 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002215/0.8986, allocations: 87.81 kB / 0.9572 GB, free: 5.887 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001249/0.8987, allocations: 49.44 kB / 0.9573 GB, free: 5.859 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.852e-05/0.8988, allocations: 2.562 kB / 0.9573 GB, free: 5.859 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002725/0.899, allocations: 95.98 kB / 0.9574 GB, free: 5.781 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=10): time 1.664e-06/0.899, allocations: 0 / 0.9574 GB, free: 5.781 MB / 0.7169 GB Notification: Performance of matching and sorting (n=10): time 0.0005513/0.8996, allocations: 199.2 kB / 0.9575 GB, free: 5.676 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.328e-05/0.8997, allocations: 53.97 kB / 0.9576 GB, free: 5.613 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.176e-05/0.8998, allocations: 108.9 kB / 0.9577 GB, free: 5.504 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 2.449e-05/0.8998, allocations: 32.39 kB / 0.9577 GB, free: 5.469 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 6.082e-05/0.8999, allocations: 89.7 kB / 0.9578 GB, free: 5.375 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 3.723e-05/0.8999, allocations: 23.97 kB / 0.9578 GB, free: 5.355 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.817e-06/0.8999, allocations: 0.8125 kB / 0.9578 GB, free: 5.355 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 9.775e-05/0.9, allocations: 321.4 kB / 0.9581 GB, free: 5.035 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001208/0.9001, allocations: 43.69 kB / 0.9582 GB, free: 5.016 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001315/0.9003, allocations: 68.08 kB / 0.9583 GB, free: 4.969 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001345/0.9004, allocations: 52.05 kB / 0.9583 GB, free: 4.945 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.9004, allocations: 0 / 0.9583 GB, free: 4.945 MB / 0.7169 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0003297/0.9008, allocations: 159.3 kB / 0.9585 GB, free: 4.855 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.074e-05/0.9008, allocations: 4.719 kB / 0.9585 GB, free: 4.855 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.317e-06/0.9008, allocations: 5.141 kB / 0.9585 GB, free: 4.852 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.785e-05/0.9008, allocations: 5.109 kB / 0.9585 GB, free: 4.848 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001315/0.901, allocations: 21.67 kB / 0.9585 GB, free: 4.844 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.167e-06/0.901, allocations: 9.609 kB / 0.9585 GB, free: 4.836 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.93e-05/0.9011, allocations: 15.84 kB / 0.9585 GB, free: 4.828 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.546e-05/0.9011, allocations: 7.984 kB / 0.9585 GB, free: 4.824 MB / 0.7169 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 ($PRE.firOrdHol.firstTrigger,firOrdHol.firstTrigger,$whenCondition1,firOrdHol.sampleTrigger,$PRE.firOrdHol.tSample,firOrdHol.tSample,$PRE.firOrdHol.uSample,firOrdHol.uSample,$PRE.firOrdHol.pre_uSample,firOrdHol.pre_uSample,$PRE.firOrdHol.c,firOrdHol.c) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.632e-05/0.9012, allocations: 123.7 kB / 0.9586 GB, free: 4.699 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.423e-05/0.9012, allocations: 3.281 kB / 0.9586 GB, free: 4.699 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003231/0.9015, allocations: 156.6 kB / 0.9588 GB, free: 4.609 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.11e-06/0.9015, allocations: 5.266 kB / 0.9588 GB, free: 4.605 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.32e-06/0.9016, allocations: 4 kB / 0.9588 GB, free: 4.602 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.527e-06/0.9016, allocations: 0 / 0.9588 GB, free: 4.602 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004557/0.902, allocations: 421.4 kB / 0.9592 GB, free: 4.219 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.902, allocations: 0 / 0.9592 GB, free: 4.219 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.611e-05/0.9021, allocations: 18.14 kB / 0.9592 GB, free: 4.211 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.268e-06/0.9021, allocations: 5.266 kB / 0.9592 GB, free: 4.207 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.348e-05/0.9021, allocations: 5.531 kB / 0.9592 GB, free: 4.203 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.266e-06/0.9021, allocations: 3.984 kB / 0.9592 GB, free: 4.199 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.9022, allocations: 3.938 kB / 0.9592 GB, free: 4.195 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003178/0.9025, allocations: 238.8 kB / 0.9595 GB, free: 4.02 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.751e-05/0.9025, allocations: 83.58 kB / 0.9595 GB, free: 3.922 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.373e-05/0.9025, allocations: 17.31 kB / 0.9596 GB, free: 3.906 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.732e-05/0.9026, allocations: 8 kB / 0.9596 GB, free: 3.906 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.696e-05/0.9027, allocations: 10.61 kB / 0.9596 GB, free: 3.898 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.538e-06/0.9027, allocations: 6.438 kB / 0.9596 GB, free: 3.895 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.011e-05/0.9027, allocations: 88.3 kB / 0.9597 GB, free: 3.812 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.21e-07/0.9028, allocations: 0 / 0.9597 GB, free: 3.812 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002597/0.903, allocations: 19.91 kB / 0.9597 GB, free: 3.809 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: 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 (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.9032, allocations: 104.8 kB / 0.9598 GB, free: 3.715 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002921/0.9035, allocations: 111 kB / 0.9599 GB, free: 3.672 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.9035, allocations: 0 / 0.9599 GB, free: 3.672 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001313/0.9036, allocations: 48.33 kB / 0.9599 GB, free: 3.656 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002781/0.9039, allocations: 12.42 kB / 0.96 GB, free: 3.648 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000367/0.9043, allocations: 192.9 kB / 0.9601 GB, free: 3.469 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001802/0.9045, allocations: 0.6914 MB / 0.9608 GB, free: 2.762 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.133e-05/0.9045, allocations: 15.69 kB / 0.9608 GB, free: 2.75 MB / 0.7169 GB Notification: Performance of SimCode: time 2.5e-07/0.9045, allocations: 0 / 0.9608 GB, free: 2.75 MB / 0.7169 GB Notification: Performance of Templates: time 0.002968/0.9075, allocations: 1.083 MB / 0.9619 GB, free: 2.207 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Discrete.Examples.FirstOrderHold.makefile make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Discrete.Examples.FirstOrderHold.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.FirstOrderHoldCalcHelperMain.o OMCppBuildings_9_Buildings.Controls.OBC.CDL.Discrete.Examples.FirstOrderHoldCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_9_Buildings.Controls.OBC.CDL.Discrete.Examples.FirstOrderHoldCalcHelperMain.o] Error 1