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.000866/0.0008658, allocations: 92.16 kB / 16.02 MB, free: 76 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.001278/0.001278, allocations: 182.8 kB / 16.92 MB, free: 6.926 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.832/1.832, allocations: 205.4 MB / 223.1 MB, free: 5.5 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.966/1.966, allocations: 292.7 MB / 0.5509 GB, free: 14.46 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.0005479/0.0005481, allocations: 18.47 kB / 0.675 GB, free: 25.68 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2633/0.2639, allocations: 116.3 MB / 0.7885 GB, free: 11.6 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Motors.Examples.IdealMotor): time 0.002312/0.2662, allocations: 1.658 MB / 0.7902 GB, free: 9.926 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001255/0.2675, allocations: 0.7416 MB / 0.7909 GB, free: 9.176 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001001/0.2676, allocations: 7.938 kB / 0.7909 GB, free: 9.168 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0002195/0.2679, allocations: 67.77 kB / 0.791 GB, free: 9.102 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001271/0.268, allocations: 91.69 kB / 0.791 GB, free: 9.012 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005071/0.2685, allocations: 159.5 kB / 0.7912 GB, free: 8.859 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0002778/0.2688, allocations: 235.5 kB / 0.7914 GB, free: 8.629 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001709/0.269, allocations: 65.77 kB / 0.7915 GB, free: 8.562 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000121/0.2691, allocations: 91.67 kB / 0.7916 GB, free: 8.473 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001841/0.2693, allocations: 127.5 kB / 0.7917 GB, free: 8.348 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 3.168e-05/0.2693, allocations: 8 kB / 0.7917 GB, free: 8.34 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001459/0.2695, allocations: 83.84 kB / 0.7918 GB, free: 8.258 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 8.882e-05/0.2696, allocations: 43.78 kB / 0.7918 GB, free: 8.215 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001442/0.2697, allocations: 113 kB / 0.7919 GB, free: 8.098 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002919/0.27, allocations: 215.6 kB / 0.7921 GB, free: 7.887 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 6.202e-06/0.2701, allocations: 0 / 0.7921 GB, free: 7.887 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.294e-06/0.2701, allocations: 0 / 0.7921 GB, free: 7.887 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.901e-06/0.2701, allocations: 0 / 0.7921 GB, free: 7.887 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.0009113/0.271, allocations: 0.547 MB / 0.7927 GB, free: 7.285 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 5.349e-05/0.2711, allocations: 8.031 kB / 0.7927 GB, free: 7.277 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.139e-05/0.2711, allocations: 36.56 kB / 0.7927 GB, free: 7.242 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005125/0.2717, allocations: 302.9 kB / 0.793 GB, free: 6.906 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.356e-05/0.2717, allocations: 12.38 kB / 0.793 GB, free: 6.895 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.916e-05/0.2717, allocations: 20.31 kB / 0.793 GB, free: 6.875 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004389/0.2722, allocations: 231.3 kB / 0.7932 GB, free: 6.629 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.078e-05/0.2722, allocations: 0 / 0.7932 GB, free: 6.629 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.452e-05/0.2722, allocations: 8 kB / 0.7933 GB, free: 6.621 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.643e-06/0.2723, allocations: 3.938 kB / 0.7933 GB, free: 6.617 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002725/0.2725, allocations: 136.3 kB / 0.7934 GB, free: 6.484 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008902/0.2734, allocations: 0.6846 MB / 0.7941 GB, free: 5.742 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003836/0.2738, allocations: 186.4 kB / 0.7942 GB, free: 5.551 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001687/0.274, allocations: 105 kB / 0.7943 GB, free: 5.445 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.42e-05/0.274, allocations: 0 / 0.7943 GB, free: 5.445 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003262/0.2744, allocations: 185.1 kB / 0.7945 GB, free: 5.246 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=15): time 1.363e-06/0.2744, allocations: 3.938 kB / 0.7945 GB, free: 5.242 MB / 0.6075 GB Notification: Performance of matching and sorting (n=15): time 0.0006995/0.2751, allocations: 377.8 kB / 0.7949 GB, free: 4.863 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.43e-05/0.2752, allocations: 132.5 kB / 0.795 GB, free: 4.703 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002835/0.2755, allocations: 290.5 kB / 0.7953 GB, free: 4.41 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.892e-05/0.2755, allocations: 33.7 kB / 0.7953 GB, free: 4.371 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001118/0.2756, allocations: 152.3 kB / 0.7955 GB, free: 4.219 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 6.119e-05/0.2757, allocations: 47.36 kB / 0.7955 GB, free: 4.172 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.793e-05/0.2757, allocations: 25.64 kB / 0.7955 GB, free: 4.141 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001365/0.2759, allocations: 338.8 kB / 0.7959 GB, free: 3.801 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001792/0.2761, allocations: 99.89 kB / 0.7959 GB, free: 3.703 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001892/0.2763, allocations: 125.1 kB / 0.7961 GB, free: 3.562 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003459/0.2766, allocations: 253.1 kB / 0.7963 GB, free: 3.293 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.524e-06/0.2766, allocations: 4 kB / 0.7963 GB, free: 3.289 MB / 0.6075 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0005215/0.2772, allocations: 342.9 kB / 0.7966 GB, free: 2.941 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 4.549e-05/0.2772, allocations: 37.69 kB / 0.7967 GB, free: 2.898 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.06e-06/0.2772, allocations: 0 / 0.7967 GB, free: 2.898 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.295e-05/0.2772, allocations: 0 / 0.7967 GB, free: 2.898 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001514/0.2774, allocations: 31.92 kB / 0.7967 GB, free: 2.867 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.814e-06/0.2774, allocations: 4 kB / 0.7967 GB, free: 2.863 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001254/0.2775, allocations: 27.92 kB / 0.7967 GB, free: 2.836 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.09e-05/0.2776, allocations: 12 kB / 0.7967 GB, free: 2.824 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.0001828/0.2778, allocations: 188.3 kB / 0.7969 GB, free: 2.625 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.695e-05/0.2778, allocations: 27.72 kB / 0.797 GB, free: 2.598 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.342e-05/0.2779, allocations: 25.83 kB / 0.797 GB, free: 2.574 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.757e-06/0.2779, allocations: 0 / 0.797 GB, free: 2.574 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.715e-06/0.2779, allocations: 11.94 kB / 0.797 GB, free: 2.562 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.477e-06/0.2779, allocations: 0 / 0.797 GB, free: 2.562 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002882/0.2782, allocations: 301.3 kB / 0.7973 GB, free: 2.219 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.735e-06/0.2782, allocations: 0 / 0.7973 GB, free: 2.219 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001045/0.2783, allocations: 23.92 kB / 0.7973 GB, free: 2.195 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.743e-06/0.2783, allocations: 0 / 0.7973 GB, free: 2.195 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.56e-05/0.2784, allocations: 4.094 kB / 0.7973 GB, free: 2.191 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.332e-06/0.2784, allocations: 3.938 kB / 0.7973 GB, free: 2.188 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.2784, allocations: 4 kB / 0.7973 GB, free: 2.184 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000753/0.2791, allocations: 478.3 kB / 0.7978 GB, free: 1.691 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 7.724e-05/0.2792, allocations: 100.8 kB / 0.7979 GB, free: 1.574 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.753e-05/0.2793, allocations: 8 kB / 0.7979 GB, free: 1.566 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001103/0.2794, allocations: 20.05 kB / 0.7979 GB, free: 1.547 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.436e-05/0.2795, allocations: 27.95 kB / 0.7979 GB, free: 1.52 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.12e-05/0.2795, allocations: 4 kB / 0.7979 GB, free: 1.516 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0001962/0.2797, allocations: 202 kB / 0.7981 GB, free: 1.316 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.51e-07/0.2797, allocations: 0 / 0.7981 GB, free: 1.316 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.000288/0.28, allocations: 64.02 kB / 0.7982 GB, free: 1.254 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.0002299/0.2802, allocations: 123.2 kB / 0.7983 GB, free: 1.125 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0004948/0.2807, allocations: 307.2 kB / 0.7986 GB, free: 0.8125 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.2808, allocations: 0 / 0.7986 GB, free: 0.8125 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0002418/0.281, allocations: 187.3 kB / 0.7988 GB, free: 0.6172 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003317/0.2813, allocations: 38.34 kB / 0.7988 GB, free: 0.5859 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001053/0.2824, allocations: 0.5744 MB / 0.7994 GB, free: 15.98 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003547/0.2828, allocations: 0.7555 MB / 0.8001 GB, free: 15.2 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.988e-05/0.2828, allocations: 15.44 kB / 0.8001 GB, free: 15.18 MB / 0.6231 GB Notification: Performance of SimCode: time 3.6e-07/0.2828, allocations: 4 kB / 0.8001 GB, free: 15.18 MB / 0.6231 GB Notification: Performance of Templates: time 0.005122/0.288, allocations: 2.957 MB / 0.803 GB, free: 12.22 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