Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Fluid.Actuators.Motors.Examples.IdealMotor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Actuators.Motors.Examples.IdealMotor") translateModel(BuildingSystems.Fluid.Actuators.Motors.Examples.IdealMotor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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.001386/0.001386, allocations: 100.1 kB / 15.88 MB, free: 12 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.00145/0.00145, allocations: 195.9 kB / 16.79 MB, free: 6.863 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.45/1.45, allocations: 222.9 MB / 240.4 MB, free: 4.613 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00222/0.00222, allocations: 286.7 kB / 290.9 MB, free: 2.23 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.025/1.025, allocations: 169.2 MB / 0.4983 GB, free: 14.18 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001787/0.001787, allocations: 97.7 kB / 0.5951 GB, free: 28.44 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2463/0.2481, allocations: 86.99 MB / 0.6801 GB, free: 1.184 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Actuators.Motors.Examples.IdealMotor): time 0.003515/0.2517, allocations: 1.992 MB / 0.682 GB, free: 15.19 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001205/0.2529, allocations: 0.7123 MB / 0.6827 GB, free: 14.47 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001049/0.2531, allocations: 4 kB / 0.6827 GB, free: 14.47 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002359/0.2533, allocations: 72.48 kB / 0.6828 GB, free: 14.4 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001179/0.2535, allocations: 89.75 kB / 0.6829 GB, free: 14.31 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004894/0.2539, allocations: 159.3 kB / 0.683 GB, free: 14.16 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002569/0.2542, allocations: 239.4 kB / 0.6833 GB, free: 13.93 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001607/0.2544, allocations: 69.81 kB / 0.6833 GB, free: 13.86 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000119/0.2545, allocations: 95.67 kB / 0.6834 GB, free: 13.77 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001909/0.2547, allocations: 147.5 kB / 0.6836 GB, free: 13.62 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 3.235e-05/0.2548, allocations: 12 kB / 0.6836 GB, free: 13.61 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001371/0.2549, allocations: 79.92 kB / 0.6837 GB, free: 13.53 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 7.712e-05/0.255, allocations: 43.84 kB / 0.6837 GB, free: 13.49 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000119/0.2551, allocations: 99.33 kB / 0.6838 GB, free: 13.39 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002474/0.2554, allocations: 219.6 kB / 0.684 GB, free: 13.18 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.608e-06/0.2554, allocations: 0 / 0.684 GB, free: 13.18 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.042e-06/0.2554, allocations: 0 / 0.684 GB, free: 13.18 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.781e-06/0.2554, allocations: 4 kB / 0.684 GB, free: 13.17 MB / 494.1 MB 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.0008496/0.2562, allocations: 0.5818 MB / 0.6846 GB, free: 12.54 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.203e-05/0.2563, allocations: 8.031 kB / 0.6846 GB, free: 12.53 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.365e-05/0.2564, allocations: 32.56 kB / 0.6846 GB, free: 12.5 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004583/0.2568, allocations: 302.9 kB / 0.6849 GB, free: 12.16 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.545e-05/0.2569, allocations: 12.38 kB / 0.6849 GB, free: 12.15 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.795e-05/0.2569, allocations: 12.38 kB / 0.6849 GB, free: 12.14 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004029/0.2573, allocations: 227.3 kB / 0.6851 GB, free: 11.89 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.041e-05/0.2573, allocations: 0 / 0.6851 GB, free: 11.89 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.333e-05/0.2574, allocations: 8 kB / 0.6851 GB, free: 11.89 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.864e-06/0.2574, allocations: 3.984 kB / 0.6852 GB, free: 11.88 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002537/0.2576, allocations: 132.3 kB / 0.6853 GB, free: 11.75 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009068/0.2586, allocations: 0.6846 MB / 0.6859 GB, free: 11.01 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003704/0.2589, allocations: 174.6 kB / 0.6861 GB, free: 10.83 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001689/0.2591, allocations: 92.83 kB / 0.6862 GB, free: 10.74 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.791e-05/0.2592, allocations: 0 / 0.6862 GB, free: 10.74 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003663/0.2595, allocations: 177.1 kB / 0.6864 GB, free: 10.55 MB / 494.1 MB Notification: Performance of pre-optimization done (n=15): time 1.332e-06/0.2595, allocations: 0 / 0.6864 GB, free: 10.55 MB / 494.1 MB Notification: Performance of matching and sorting (n=15): time 0.0007064/0.2602, allocations: 372.9 kB / 0.6867 GB, free: 10.17 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.03e-05/0.2603, allocations: 132.5 kB / 0.6869 GB, free: 10.01 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000294/0.2606, allocations: 286.5 kB / 0.6871 GB, free: 9.727 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.673e-05/0.2607, allocations: 29.7 kB / 0.6872 GB, free: 9.691 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001169/0.2608, allocations: 156.3 kB / 0.6873 GB, free: 9.535 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.919e-05/0.2609, allocations: 39.45 kB / 0.6873 GB, free: 9.496 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.57e-05/0.2609, allocations: 45.61 kB / 0.6874 GB, free: 9.445 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001596/0.2611, allocations: 338.8 kB / 0.6877 GB, free: 9.105 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001787/0.2613, allocations: 91.83 kB / 0.6878 GB, free: 9.016 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001944/0.2615, allocations: 134.6 kB / 0.6879 GB, free: 8.867 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003359/0.2618, allocations: 244.5 kB / 0.6882 GB, free: 8.605 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.2619, allocations: 3.938 kB / 0.6882 GB, free: 8.602 MB / 494.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0005107/0.2624, allocations: 328.4 kB / 0.6885 GB, free: 8.27 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.81e-05/0.2624, allocations: 41.69 kB / 0.6885 GB, free: 8.223 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.6e-06/0.2624, allocations: 0 / 0.6885 GB, free: 8.223 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.96e-05/0.2625, allocations: 4 kB / 0.6885 GB, free: 8.219 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001302/0.2626, allocations: 23.92 kB / 0.6885 GB, free: 8.195 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.118e-05/0.2626, allocations: 7.984 kB / 0.6885 GB, free: 8.188 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001196/0.2627, allocations: 27.83 kB / 0.6886 GB, free: 8.16 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.919e-05/0.2628, allocations: 8 kB / 0.6886 GB, free: 8.152 MB / 494.1 MB 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.0002086/0.263, allocations: 196.8 kB / 0.6888 GB, free: 7.945 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.124e-05/0.263, allocations: 27.72 kB / 0.6888 GB, free: 7.918 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.588e-05/0.2631, allocations: 29.83 kB / 0.6888 GB, free: 7.891 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.475e-06/0.2631, allocations: 0 / 0.6888 GB, free: 7.891 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.912e-06/0.2631, allocations: 0 / 0.6888 GB, free: 7.891 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.147e-06/0.2631, allocations: 4 kB / 0.6888 GB, free: 7.887 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002911/0.2634, allocations: 297.3 kB / 0.6891 GB, free: 7.547 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.2635, allocations: 0 / 0.6891 GB, free: 7.547 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001045/0.2636, allocations: 15.98 kB / 0.6891 GB, free: 7.531 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.673e-06/0.2636, allocations: 4 kB / 0.6891 GB, free: 7.527 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.171e-05/0.2636, allocations: 8 kB / 0.6891 GB, free: 7.52 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.313e-06/0.2636, allocations: 0 / 0.6891 GB, free: 7.52 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.2636, allocations: 0 / 0.6891 GB, free: 7.52 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007041/0.2643, allocations: 466.3 kB / 0.6896 GB, free: 7.039 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.716e-05/0.2644, allocations: 96.8 kB / 0.6897 GB, free: 6.926 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.456e-05/0.2644, allocations: 12.06 kB / 0.6897 GB, free: 6.914 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001014/0.2646, allocations: 11.98 kB / 0.6897 GB, free: 6.902 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.7e-05/0.2647, allocations: 27.95 kB / 0.6897 GB, free: 6.875 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.163e-05/0.2647, allocations: 7.938 kB / 0.6897 GB, free: 6.867 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0001845/0.2649, allocations: 205.9 kB / 0.6899 GB, free: 6.668 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.2649, allocations: 0 / 0.6899 GB, free: 6.668 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.000293/0.2652, allocations: 55.91 kB / 0.69 GB, free: 6.613 MB / 494.1 MB 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.0002367/0.2654, allocations: 139.3 kB / 0.6901 GB, free: 6.469 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0004867/0.2659, allocations: 295.2 kB / 0.6904 GB, free: 6.168 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.2659, allocations: 0 / 0.6904 GB, free: 6.168 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000238/0.2662, allocations: 175.4 kB / 0.6906 GB, free: 5.984 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003307/0.2665, allocations: 43.33 kB / 0.6906 GB, free: 5.941 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001089/0.2676, allocations: 0.5749 MB / 0.6912 GB, free: 5.332 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003536/0.268, allocations: 0.7439 MB / 0.6919 GB, free: 4.562 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.49e-05/0.268, allocations: 19.44 kB / 0.6919 GB, free: 4.543 MB / 494.1 MB Notification: Performance of SimCode: time 3.71e-07/0.268, allocations: 0 / 0.6919 GB, free: 4.543 MB / 494.1 MB Notification: Performance of Templates: time 0.005828/0.2739, allocations: 2.986 MB / 0.6948 GB, free: 1.566 MB / 494.1 MB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Actuators.Motors.Examples.IdealMotor.makefile make -j1 -f BuildingSystems_BuildingSystems.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 OMCppBuildingSystems_BuildingSystems.Fluid.Actuators.Motors.Examples.IdealMotorCalcHelperMain.o OMCppBuildingSystems_BuildingSystems.Fluid.Actuators.Motors.Examples.IdealMotorCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildingSystems_BuildingSystems.Fluid.Actuators.Motors.Examples.IdealMotorCalcHelperMain.o] Error 1