Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.Add.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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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.Continuous.Validation.Add,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|add1.u1|add1.u2|add1.y",fileNamePrefix="Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.Add") translateModel(Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.Add,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|add1.u1|add1.u2|add1.y",fileNamePrefix="Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.Add") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001012/0.001012, allocations: 103 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.001363/0.001363, allocations: 169.7 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.56/1.56, 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 11.0.0-master/package.mo): time 2.861/2.861, allocations: 436.7 MB / 0.7114 GB, free: 7.824 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.000471/0.000471, allocations: 8 kB / 0.8717 GB, free: 4.75 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.865/0.8655, allocations: 153.6 MB / 1.022 GB, free: 1.113 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.Add): time 0.001037/0.8666, allocations: 452.8 kB / 1.022 GB, free: 0.6758 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001004/0.8676, allocations: 0.804 MB / 1.023 GB, free: 15.86 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.564e-05/0.8677, allocations: 4 kB / 1.023 GB, free: 15.86 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 1.982e-05/0.8677, allocations: 0 / 1.023 GB, free: 15.86 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 7.233e-05/0.8678, allocations: 3.938 kB / 1.023 GB, free: 15.85 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 5.814e-05/0.8678, allocations: 7.984 kB / 1.023 GB, free: 15.84 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 8.273e-05/0.8679, allocations: 39.86 kB / 1.023 GB, free: 15.8 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001072/0.8681, allocations: 11.98 kB / 1.023 GB, free: 15.79 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 7.368e-05/0.8681, allocations: 23.92 kB / 1.023 GB, free: 15.77 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 5.066e-05/0.8682, allocations: 15.92 kB / 1.023 GB, free: 15.75 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.815e-05/0.8682, allocations: 4 kB / 1.023 GB, free: 15.75 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 8.957e-06/0.8682, allocations: 3.938 kB / 1.023 GB, free: 15.75 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 1.35e-05/0.8683, allocations: 3.938 kB / 1.023 GB, free: 15.74 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 3.448e-05/0.8683, allocations: 33.7 kB / 1.023 GB, free: 15.7 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 6.55e-05/0.8684, allocations: 27.91 kB / 1.023 GB, free: 15.68 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 5.54e-06/0.8684, allocations: 4 kB / 1.023 GB, free: 15.67 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.944e-06/0.8684, allocations: 0 / 1.023 GB, free: 15.67 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 7.144e-06/0.8684, allocations: 0 / 1.023 GB, free: 15.67 MB / 0.7794 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005071/0.8689, allocations: 381.1 kB / 1.023 GB, free: 15.25 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.488e-05/0.869, allocations: 11.98 kB / 1.024 GB, free: 15.24 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.937e-05/0.869, allocations: 4 kB / 1.024 GB, free: 15.24 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001259/0.8691, allocations: 174.9 kB / 1.024 GB, free: 15.03 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.163e-05/0.8691, allocations: 4 kB / 1.024 GB, free: 15.02 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.146e-05/0.8692, allocations: 0 / 1.024 GB, free: 15.02 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000248/0.8694, allocations: 89.59 kB / 1.024 GB, free: 14.93 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.693e-06/0.8694, allocations: 0 / 1.024 GB, free: 14.93 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.113e-05/0.8694, allocations: 0 / 1.024 GB, free: 14.93 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.073e-06/0.8695, allocations: 4 kB / 1.024 GB, free: 14.93 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002617/0.8697, allocations: 79.94 kB / 1.024 GB, free: 14.85 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000409/0.8701, allocations: 288.8 kB / 1.024 GB, free: 14.52 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001879/0.8703, allocations: 66.55 kB / 1.024 GB, free: 14.44 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000141/0.8705, allocations: 48.91 kB / 1.024 GB, free: 14.39 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.273e-05/0.8705, allocations: 3.938 kB / 1.024 GB, free: 14.39 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.513e-05/0.8705, allocations: 34.56 kB / 1.024 GB, free: 14.34 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=3): time 1.052e-06/0.8706, allocations: 0 / 1.024 GB, free: 14.34 MB / 0.7794 GB Notification: Performance of matching and sorting (n=3): time 0.0005113/0.8711, allocations: 169.4 kB / 1.024 GB, free: 14.17 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.327e-05/0.8711, allocations: 51.41 kB / 1.024 GB, free: 14.11 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.527e-05/0.8712, allocations: 114 kB / 1.025 GB, free: 13.98 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.344e-05/0.8713, allocations: 25.7 kB / 1.025 GB, free: 13.95 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 5.099e-05/0.8713, allocations: 88.14 kB / 1.025 GB, free: 13.86 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.77e-05/0.8713, allocations: 11.91 kB / 1.025 GB, free: 13.85 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.787e-06/0.8713, allocations: 0 / 1.025 GB, free: 13.85 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001298/0.8715, allocations: 314.8 kB / 1.025 GB, free: 13.54 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001361/0.8716, allocations: 43.97 kB / 1.025 GB, free: 13.49 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001272/0.8718, allocations: 44.14 kB / 1.025 GB, free: 13.45 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001318/0.8719, allocations: 48.05 kB / 1.025 GB, free: 13.4 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.727e-06/0.8719, allocations: 7.891 kB / 1.025 GB, free: 13.39 MB / 0.7794 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002997/0.8722, allocations: 125.5 kB / 1.025 GB, free: 13.27 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.589e-05/0.8722, allocations: 4 kB / 1.025 GB, free: 13.26 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.698e-06/0.8722, allocations: 0 / 1.025 GB, free: 13.26 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.245e-05/0.8723, allocations: 0 / 1.025 GB, free: 13.26 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001307/0.8724, allocations: 27.97 kB / 1.025 GB, free: 13.23 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.702e-06/0.8724, allocations: 4 kB / 1.025 GB, free: 13.23 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.2e-05/0.8725, allocations: 15.98 kB / 1.025 GB, free: 13.21 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.084e-06/0.8725, allocations: 0 / 1.025 GB, free: 13.21 MB / 0.7794 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 3 * 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 9.012e-05/0.8726, allocations: 109.8 kB / 1.025 GB, free: 13.1 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.423e-05/0.8726, allocations: 3.953 kB / 1.025 GB, free: 13.09 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.005e-05/0.8727, allocations: 11.91 kB / 1.025 GB, free: 13.08 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.534e-06/0.8727, allocations: 4 kB / 1.025 GB, free: 13.07 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.138e-06/0.8727, allocations: 0 / 1.025 GB, free: 13.07 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.957e-06/0.8727, allocations: 3.984 kB / 1.025 GB, free: 13.07 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001736/0.8729, allocations: 165.7 kB / 1.026 GB, free: 12.86 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.8729, allocations: 0 / 1.026 GB, free: 12.86 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.25e-05/0.873, allocations: 23.94 kB / 1.026 GB, free: 12.84 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.104e-06/0.873, allocations: 384 / 1.026 GB, free: 12.84 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.576e-06/0.873, allocations: 0 / 1.026 GB, free: 12.84 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.795e-06/0.873, allocations: 7.984 kB / 1.026 GB, free: 12.83 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.873, allocations: 4 kB / 1.026 GB, free: 12.82 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003587/0.8734, allocations: 223.3 kB / 1.026 GB, free: 12.59 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.493e-05/0.8734, allocations: 77.11 kB / 1.026 GB, free: 12.5 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.464e-05/0.8734, allocations: 3.953 kB / 1.026 GB, free: 12.49 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001014/0.8735, allocations: 19.97 kB / 1.026 GB, free: 12.47 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.537e-05/0.8736, allocations: 8 kB / 1.026 GB, free: 12.46 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.159e-06/0.8736, allocations: 8 kB / 1.026 GB, free: 12.46 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 5.355e-05/0.8737, allocations: 95.27 kB / 1.026 GB, free: 12.36 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8737, allocations: 0 / 1.026 GB, free: 12.36 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002112/0.8739, allocations: 11.94 kB / 1.026 GB, free: 12.35 MB / 0.7794 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * 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 Backend phase and start with SimCode phase: time 0.0001247/0.874, allocations: 95.25 kB / 1.026 GB, free: 12.25 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0003158/0.8743, allocations: 91.86 kB / 1.026 GB, free: 12.16 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.8743, allocations: 0 / 1.026 GB, free: 12.16 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001409/0.8745, allocations: 51.95 kB / 1.026 GB, free: 12.11 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000305/0.8748, allocations: 15.55 kB / 1.026 GB, free: 12.09 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003543/0.8752, allocations: 162.3 kB / 1.026 GB, free: 11.9 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002634/0.8754, allocations: 0.6887 MB / 1.027 GB, free: 11.19 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.346e-05/0.8755, allocations: 7.438 kB / 1.027 GB, free: 11.18 MB / 0.7794 GB Notification: Performance of SimCode: time 2.6e-07/0.8755, allocations: 0 / 1.027 GB, free: 11.18 MB / 0.7794 GB Notification: Performance of Templates: time 0.002347/0.8778, allocations: 0.7555 MB / 1.028 GB, free: 10.43 MB / 0.7794 GB make -j1 -f Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.Add.makefile make -j1 -f Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.Add.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_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.AddCalcHelperMain.o OMCppBuildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.AddCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.AddCalcHelperMain.o] Error 1