Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.IntegratorWithReset.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.Continuous.Validation.IntegratorWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.IntegratorWithReset") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.IntegratorWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.IntegratorWithReset") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009797/0.0009799, allocations: 100.4 kB / 15.71 MB, free: 452 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.001469/0.00147, allocations: 174 kB / 16.58 MB, free: 6.422 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.869/1.869, allocations: 205.4 MB / 222.8 MB, free: 5.637 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.852/1.852, allocations: 292.7 MB / 0.5505 GB, free: 14.54 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.0008506/0.0008508, allocations: 19.41 kB / 0.6744 GB, free: 26.2 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2847/0.2855, allocations: 116.3 MB / 0.7879 GB, free: 11.91 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.IntegratorWithReset): time 0.001097/0.2867, allocations: 0.5802 MB / 0.7885 GB, free: 11.33 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001641/0.2883, allocations: 1.161 MB / 0.7896 GB, free: 10.15 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.036e-05/0.2885, allocations: 4 kB / 0.7897 GB, free: 10.15 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.361e-05/0.2885, allocations: 3.938 kB / 0.7897 GB, free: 10.14 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 9.436e-05/0.2886, allocations: 11.86 kB / 0.7897 GB, free: 10.13 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006039/0.2892, allocations: 135.8 kB / 0.7898 GB, free: 10 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001901/0.2894, allocations: 135.7 kB / 0.7899 GB, free: 9.871 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001485/0.2896, allocations: 33.09 kB / 0.79 GB, free: 9.836 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001452/0.2897, allocations: 51.83 kB / 0.79 GB, free: 9.785 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000108/0.2898, allocations: 55.75 kB / 0.7901 GB, free: 9.73 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.829e-05/0.2899, allocations: 8 kB / 0.7901 GB, free: 9.723 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 7.522e-05/0.2899, allocations: 19.98 kB / 0.7901 GB, free: 9.703 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 3.057e-05/0.29, allocations: 19.91 kB / 0.7901 GB, free: 9.684 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 5.955e-05/0.29, allocations: 45.64 kB / 0.7901 GB, free: 9.633 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.000167/0.2902, allocations: 112 kB / 0.7903 GB, free: 9.523 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 6.242e-06/0.2902, allocations: 7.938 kB / 0.7903 GB, free: 9.516 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.543e-06/0.2902, allocations: 0 / 0.7903 GB, free: 9.516 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.29e-06/0.2903, allocations: 4 kB / 0.7903 GB, free: 9.512 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.000655/0.2909, allocations: 428.7 kB / 0.7907 GB, free: 9.039 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.842e-05/0.291, allocations: 8.031 kB / 0.7907 GB, free: 9.031 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.731e-05/0.291, allocations: 11.91 kB / 0.7907 GB, free: 9.02 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005519/0.2916, allocations: 266.7 kB / 0.7909 GB, free: 8.719 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.03e-05/0.2916, allocations: 4 kB / 0.791 GB, free: 8.715 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.844e-05/0.2917, allocations: 16 kB / 0.791 GB, free: 8.699 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002275/0.2919, allocations: 97.58 kB / 0.7911 GB, free: 8.598 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.674e-06/0.2919, allocations: 0 / 0.7911 GB, free: 8.598 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.259e-05/0.2919, allocations: 0 / 0.7911 GB, free: 8.598 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.302e-06/0.2919, allocations: 4 kB / 0.7911 GB, free: 8.594 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001688/0.2921, allocations: 54.62 kB / 0.7911 GB, free: 8.543 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000749/0.2929, allocations: 400.4 kB / 0.7915 GB, free: 8.102 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001224/0.293, allocations: 42.5 kB / 0.7915 GB, free: 8.051 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.112e-05/0.2931, allocations: 32.95 kB / 0.7916 GB, free: 8.016 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 3.113e-05/0.2932, allocations: 7.953 kB / 0.7916 GB, free: 8.008 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002516/0.2934, allocations: 95.3 kB / 0.7917 GB, free: 7.902 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=10): time 1.573e-06/0.2934, allocations: 4 kB / 0.7917 GB, free: 7.898 MB / 0.6075 GB Notification: Performance of matching and sorting (n=10): time 0.0004708/0.2939, allocations: 149.5 kB / 0.7918 GB, free: 7.746 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.314e-05/0.294, allocations: 55.39 kB / 0.7919 GB, free: 7.68 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001589/0.2941, allocations: 148.7 kB / 0.792 GB, free: 7.527 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 4.747e-05/0.2942, allocations: 29.7 kB / 0.792 GB, free: 7.492 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001089/0.2943, allocations: 108.1 kB / 0.7921 GB, free: 7.383 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.931e-05/0.2944, allocations: 31.59 kB / 0.7922 GB, free: 7.352 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.498e-05/0.2944, allocations: 4 kB / 0.7922 GB, free: 7.348 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001581/0.2946, allocations: 326.8 kB / 0.7925 GB, free: 7.02 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000164/0.2947, allocations: 43.97 kB / 0.7925 GB, free: 6.977 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002089/0.2949, allocations: 142 kB / 0.7927 GB, free: 6.801 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002073/0.2952, allocations: 89.69 kB / 0.7928 GB, free: 6.707 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.022e-06/0.2952, allocations: 4 kB / 0.7928 GB, free: 6.703 MB / 0.6075 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0005338/0.2957, allocations: 255.2 kB / 0.793 GB, free: 6.441 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 5.08e-05/0.2958, allocations: 41.69 kB / 0.793 GB, free: 6.395 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.071e-05/0.2958, allocations: 4 kB / 0.793 GB, free: 6.391 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.833e-05/0.2958, allocations: 7.938 kB / 0.793 GB, free: 6.383 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000111/0.2959, allocations: 23.98 kB / 0.7931 GB, free: 6.359 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.463e-05/0.296, allocations: 7.938 kB / 0.7931 GB, free: 6.352 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000244/0.2962, allocations: 55.86 kB / 0.7931 GB, free: 6.297 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.7e-05/0.2962, allocations: 12 kB / 0.7931 GB, free: 6.285 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition4,$PRE.booleanPulse.y,booleanPulse.y,$whenCondition1,$whenCondition2,$whenCondition3,sampleTrigger.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (16): * Single equations (assignments): 15 * 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.0001207/0.2964, allocations: 125.8 kB / 0.7933 GB, free: 6.152 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.108e-05/0.2964, allocations: 15.86 kB / 0.7933 GB, free: 6.137 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.091e-05/0.2965, allocations: 8.719 kB / 0.7933 GB, free: 6.125 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.191e-06/0.2965, allocations: 8.375 kB / 0.7933 GB, free: 6.117 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.095e-06/0.2965, allocations: 7.938 kB / 0.7933 GB, free: 6.109 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.947e-06/0.2965, allocations: 0 / 0.7933 GB, free: 6.109 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006281/0.2971, allocations: 414.2 kB / 0.7937 GB, free: 5.648 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.856e-06/0.2971, allocations: 0 / 0.7937 GB, free: 5.648 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.913e-05/0.2972, allocations: 19.98 kB / 0.7937 GB, free: 5.629 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.037e-06/0.2972, allocations: 0 / 0.7937 GB, free: 5.629 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.66e-05/0.2973, allocations: 4 kB / 0.7937 GB, free: 5.625 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.964e-06/0.2973, allocations: 0 / 0.7937 GB, free: 5.625 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.2973, allocations: 0 / 0.7937 GB, free: 5.625 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004371/0.2977, allocations: 255.3 kB / 0.794 GB, free: 5.359 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 5.217e-05/0.2978, allocations: 85.02 kB / 0.794 GB, free: 5.258 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.323e-05/0.2978, allocations: 0 / 0.794 GB, free: 5.258 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.801e-05/0.2979, allocations: 12.03 kB / 0.7941 GB, free: 5.246 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.554e-05/0.298, allocations: 7.984 kB / 0.7941 GB, free: 5.238 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.84e-05/0.298, allocations: 8 kB / 0.7941 GB, free: 5.23 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 8.644e-05/0.2981, allocations: 109.7 kB / 0.7942 GB, free: 5.125 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2981, allocations: 0 / 0.7942 GB, free: 5.125 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003112/0.2984, allocations: 31.91 kB / 0.7942 GB, free: 5.094 MB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (intDef.y,intWitRes1.y,intWitRes2.y) * Number of discrete variables: 6 (sampleTrigger.y,$whenCondition4,$whenCondition3,$whenCondition1,$whenCondition2,booleanPulse.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0002192/0.2986, allocations: 115.2 kB / 0.7943 GB, free: 4.973 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0004326/0.2991, allocations: 187.2 kB / 0.7945 GB, free: 4.777 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.2991, allocations: 0 / 0.7945 GB, free: 4.777 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001195/0.2992, allocations: 47.91 kB / 0.7945 GB, free: 4.73 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003313/0.2996, allocations: 29.06 kB / 0.7946 GB, free: 4.703 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006001/0.3002, allocations: 327.4 kB / 0.7949 GB, free: 4.348 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003235/0.3005, allocations: 0.7087 MB / 0.7956 GB, free: 3.613 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.543e-05/0.3005, allocations: 19.42 kB / 0.7956 GB, free: 3.598 MB / 0.6075 GB Notification: Performance of SimCode: time 4.61e-07/0.3006, allocations: 0 / 0.7956 GB, free: 3.598 MB / 0.6075 GB Notification: Performance of Templates: time 0.003967/0.3045, allocations: 1.692 MB / 0.7972 GB, free: 1.922 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.IntegratorWithReset.makefile make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.IntegratorWithReset.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_8_Buildings.Controls.OBC.CDL.Continuous.Validation.IntegratorWithResetCalcHelperMain.o OMCppBuildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.IntegratorWithResetCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.IntegratorWithResetCalcHelperMain.o] Error 1