Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Actuators.Motors.Examples.IdealMotor.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.Fluid.Actuators.Motors.Examples.IdealMotor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Actuators.Motors.Examples.IdealMotor") translateModel(Buildings.Fluid.Actuators.Motors.Examples.IdealMotor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Actuators.Motors.Examples.IdealMotor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001646/0.001646, allocations: 104.1 kB / 15.88 MB, free: 4 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.002592/0.002592, allocations: 195.1 kB / 16.79 MB, free: 6.832 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.683/1.683, allocations: 205.1 MB / 222.6 MB, free: 4.777 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.896/1.896, allocations: 292.3 MB / 0.5491 GB, free: 13.68 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.001405/0.001405, allocations: 67.5 kB / 0.6715 GB, free: 26.29 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2736/0.275, allocations: 114.6 MB / 0.7833 GB, free: 14.04 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Motors.Examples.IdealMotor): time 0.003302/0.2784, allocations: 2.016 MB / 0.7853 GB, free: 12.01 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001309/0.2797, allocations: 0.757 MB / 0.786 GB, free: 11.24 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001083/0.2798, allocations: 4 kB / 0.786 GB, free: 11.24 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.000239/0.2801, allocations: 75.75 kB / 0.7861 GB, free: 11.16 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001132/0.2802, allocations: 79.7 kB / 0.7862 GB, free: 11.09 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005099/0.2807, allocations: 155.8 kB / 0.7863 GB, free: 10.93 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0002507/0.281, allocations: 243.4 kB / 0.7866 GB, free: 10.7 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001671/0.2812, allocations: 65.83 kB / 0.7866 GB, free: 10.63 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001181/0.2813, allocations: 99.66 kB / 0.7867 GB, free: 10.53 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001871/0.2815, allocations: 143.5 kB / 0.7869 GB, free: 10.39 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.867e-05/0.2815, allocations: 8 kB / 0.7869 GB, free: 10.38 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001347/0.2817, allocations: 79.92 kB / 0.7869 GB, free: 10.3 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 8.207e-05/0.2818, allocations: 51.81 kB / 0.787 GB, free: 10.25 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 9.872e-05/0.2819, allocations: 99.34 kB / 0.7871 GB, free: 10.16 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.000251/0.2821, allocations: 211.6 kB / 0.7873 GB, free: 9.949 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.58e-06/0.2821, allocations: 7.938 kB / 0.7873 GB, free: 9.941 MB / 0.6075 GB Notification: Performance of FrontEnd: time 9.92e-07/0.2821, allocations: 0 / 0.7873 GB, free: 9.941 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.18e-06/0.2821, allocations: 0 / 0.7873 GB, free: 9.941 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: 34 * Number of variables: 34 Notification: Performance of Generate backend data structure: time 0.000846/0.283, allocations: 0.578 MB / 0.7879 GB, free: 9.309 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.757e-05/0.283, allocations: 19.95 kB / 0.7879 GB, free: 9.289 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.517e-05/0.2831, allocations: 32.56 kB / 0.7879 GB, free: 9.258 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004136/0.2835, allocations: 291 kB / 0.7882 GB, free: 8.934 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.38e-05/0.2836, allocations: 16.38 kB / 0.7882 GB, free: 8.918 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.35e-05/0.2836, allocations: 16.38 kB / 0.7882 GB, free: 8.902 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003776/0.284, allocations: 219.3 kB / 0.7884 GB, free: 8.668 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.087e-06/0.284, allocations: 3.938 kB / 0.7884 GB, free: 8.664 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.407e-05/0.284, allocations: 8 kB / 0.7884 GB, free: 8.656 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.815e-06/0.2841, allocations: 7.938 kB / 0.7885 GB, free: 8.648 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002489/0.2843, allocations: 128.4 kB / 0.7886 GB, free: 8.523 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008665/0.2852, allocations: 0.6924 MB / 0.7893 GB, free: 7.773 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003517/0.2855, allocations: 162.5 kB / 0.7894 GB, free: 7.605 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001664/0.2857, allocations: 108.9 kB / 0.7895 GB, free: 7.496 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.672e-05/0.2857, allocations: 96 / 0.7895 GB, free: 7.496 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003294/0.2861, allocations: 169 kB / 0.7897 GB, free: 7.312 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=15): time 1.944e-06/0.2861, allocations: 4 kB / 0.7897 GB, free: 7.309 MB / 0.6075 GB Notification: Performance of matching and sorting (n=15): time 0.0007056/0.2868, allocations: 366.9 kB / 0.79 GB, free: 6.938 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.419e-05/0.2869, allocations: 136.5 kB / 0.7902 GB, free: 6.773 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000278/0.2872, allocations: 290.5 kB / 0.7904 GB, free: 6.48 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.976e-05/0.2872, allocations: 33.7 kB / 0.7905 GB, free: 6.441 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001165/0.2874, allocations: 152.2 kB / 0.7906 GB, free: 6.289 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 4.395e-05/0.2874, allocations: 47.44 kB / 0.7907 GB, free: 6.242 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.313e-05/0.2875, allocations: 41.7 kB / 0.7907 GB, free: 6.195 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001425/0.2876, allocations: 330.8 kB / 0.791 GB, free: 5.863 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001756/0.2878, allocations: 91.89 kB / 0.7911 GB, free: 5.773 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001855/0.288, allocations: 129.1 kB / 0.7912 GB, free: 5.629 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003387/0.2884, allocations: 245.5 kB / 0.7915 GB, free: 5.367 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.2884, allocations: 0 / 0.7915 GB, free: 5.367 MB / 0.6075 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0005016/0.2889, allocations: 330.9 kB / 0.7918 GB, free: 5.031 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 4.613e-05/0.2889, allocations: 37.7 kB / 0.7918 GB, free: 4.988 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.165e-06/0.2889, allocations: 7.922 kB / 0.7918 GB, free: 4.98 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.881e-05/0.289, allocations: 4 kB / 0.7918 GB, free: 4.977 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001237/0.2891, allocations: 19.98 kB / 0.7918 GB, free: 4.957 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.986e-06/0.2891, allocations: 4 kB / 0.7918 GB, free: 4.953 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001277/0.2893, allocations: 31.86 kB / 0.7919 GB, free: 4.922 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.869e-05/0.2893, allocations: 8 kB / 0.7919 GB, free: 4.914 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 12 (ySet.nextEventScaled,ySet.nextEvent,$PRE.ySet.nextEvent,ySet.last,ySet.b,ySet.a,mot.lowHys.y,$PRE.mot.lowHys.y,mot.uppHys.y,$PRE.mot.uppHys.y,$whenCondition1,mot.int.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (17): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001722/0.2895, allocations: 194.2 kB / 0.7921 GB, free: 4.711 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.442e-05/0.2895, allocations: 27.7 kB / 0.7921 GB, free: 4.684 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.953e-05/0.2896, allocations: 21.94 kB / 0.7921 GB, free: 4.664 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.627e-06/0.2896, allocations: 7.938 kB / 0.7921 GB, free: 4.656 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.48e-06/0.2896, allocations: 0 / 0.7921 GB, free: 4.656 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.631e-06/0.2896, allocations: 7.984 kB / 0.7921 GB, free: 4.648 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002632/0.2899, allocations: 297.3 kB / 0.7924 GB, free: 4.309 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.2899, allocations: 0 / 0.7924 GB, free: 4.309 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001022/0.29, allocations: 15.98 kB / 0.7924 GB, free: 4.293 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.803e-06/0.29, allocations: 0 / 0.7924 GB, free: 4.293 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.323e-05/0.29, allocations: 11.98 kB / 0.7924 GB, free: 4.281 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.29, allocations: 0 / 0.7924 GB, free: 4.281 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.29, allocations: 0 / 0.7924 GB, free: 4.281 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007139/0.2908, allocations: 473.2 kB / 0.7929 GB, free: 3.797 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 6.834e-05/0.2908, allocations: 100.8 kB / 0.793 GB, free: 3.68 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.154e-05/0.2909, allocations: 8 kB / 0.793 GB, free: 3.672 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001019/0.291, allocations: 11.98 kB / 0.793 GB, free: 3.66 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.991e-05/0.2911, allocations: 23.97 kB / 0.793 GB, free: 3.637 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.45e-05/0.2911, allocations: 7.984 kB / 0.793 GB, free: 3.629 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0001898/0.2913, allocations: 202 kB / 0.7932 GB, free: 3.43 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.6e-07/0.2913, allocations: 4.062 kB / 0.7932 GB, free: 3.426 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002872/0.2916, allocations: 60.03 kB / 0.7933 GB, free: 3.367 MB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (mot.int.y) * Number of discrete variables: 8 ($whenCondition1,mot.uppHys.y,mot.lowHys.y,ySet.a,ySet.b,ySet.last,ySet.nextEvent,ySet.nextEventScaled) * Number of discrete states: 8 (mot.lowHys.y,mot.uppHys.y,ySet.nextEvent,ySet.last,ySet.nextEventScaled,ySet.b,ySet.a,$whenCondition1) * 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: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002253/0.2918, allocations: 138.4 kB / 0.7934 GB, free: 3.227 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0005072/0.2924, allocations: 291.2 kB / 0.7937 GB, free: 2.93 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.2924, allocations: 0 / 0.7937 GB, free: 2.93 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.000251/0.2926, allocations: 183.5 kB / 0.7939 GB, free: 2.738 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003231/0.293, allocations: 32.55 kB / 0.7939 GB, free: 2.707 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001112/0.2941, allocations: 0.5668 MB / 0.7945 GB, free: 2.109 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003807/0.2945, allocations: 0.7523 MB / 0.7952 GB, free: 1.332 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.888e-05/0.2945, allocations: 23.42 kB / 0.7952 GB, free: 1.309 MB / 0.6075 GB Notification: Performance of SimCode: time 4.51e-07/0.2945, allocations: 0 / 0.7952 GB, free: 1.309 MB / 0.6075 GB Notification: Performance of Templates: time 0.005102/0.2997, allocations: 2.986 MB / 0.7981 GB, free: 14.33 MB / 0.6231 GB make -j1 -f Buildings_8_Buildings.Fluid.Actuators.Motors.Examples.IdealMotor.makefile make -j1 -f Buildings_8_Buildings.Fluid.Actuators.Motors.Examples.IdealMotor.makefile clang++ -std=c++14 NOTFOUND -Winvalid-pch -O2 -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/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppBuildings_8_Buildings.Fluid.Actuators.Motors.Examples.IdealMotorCalcHelperMain.o OMCppBuildings_8_Buildings.Fluid.Actuators.Motors.Examples.IdealMotorCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_8_Buildings.Fluid.Actuators.Motors.Examples.IdealMotorCalcHelperMain.o] Error 1