Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.DC.Loads.Examples.Resistor.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.Electrical.DC.Loads.Examples.Resistor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.DC.Loads.Examples.Resistor") translateModel(Buildings.Electrical.DC.Loads.Examples.Resistor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.DC.Loads.Examples.Resistor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.01291/0.01291, allocations: 100.9 kB / 15.87 MB, free: 5.867 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.003399/0.003399, allocations: 196.6 kB / 16.79 MB, free: 5.809 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.762/1.762, allocations: 205.1 MB / 222.6 MB, free: 4.594 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.994/1.994, allocations: 292.3 MB / 0.5491 GB, free: 13.66 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.001366/0.001366, allocations: 63.22 kB / 0.6715 GB, free: 26.33 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3428/0.3442, allocations: 114.6 MB / 0.7833 GB, free: 13.98 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Loads.Examples.Resistor): time 0.006695/0.3509, allocations: 3.852 MB / 0.7871 GB, free: 10.11 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.003562/0.3546, allocations: 1.738 MB / 0.7888 GB, free: 8.359 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002315/0.3548, allocations: 7.938 kB / 0.7888 GB, free: 8.352 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.001593/0.3564, allocations: 469.3 kB / 0.7892 GB, free: 7.895 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0006318/0.3571, allocations: 223 kB / 0.7895 GB, free: 7.676 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006515/0.3578, allocations: 187.6 kB / 0.7896 GB, free: 7.492 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0006751/0.3585, allocations: 0.6622 MB / 0.7903 GB, free: 6.828 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004554/0.3589, allocations: 229.2 kB / 0.7905 GB, free: 6.602 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002163/0.3592, allocations: 179.2 kB / 0.7907 GB, free: 6.426 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004133/0.3596, allocations: 223.2 kB / 0.7909 GB, free: 6.207 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 4.638e-05/0.3597, allocations: 20 kB / 0.7909 GB, free: 6.188 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005703/0.3602, allocations: 311.3 kB / 0.7912 GB, free: 5.883 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001432/0.3604, allocations: 115.7 kB / 0.7913 GB, free: 5.77 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001964/0.3606, allocations: 159.2 kB / 0.7915 GB, free: 5.613 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0004829/0.3611, allocations: 391.4 kB / 0.7918 GB, free: 5.23 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 6.261e-06/0.3611, allocations: 0 / 0.7918 GB, free: 5.23 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.413e-06/0.3611, allocations: 0 / 0.7918 GB, free: 5.23 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.482e-06/0.3611, allocations: 0 / 0.7918 GB, free: 5.23 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: 78 * Number of variables: 78 Notification: Performance of Generate backend data structure: time 0.001205/0.3623, allocations: 0.6355 MB / 0.7925 GB, free: 4.547 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.762e-05/0.3624, allocations: 15.95 kB / 0.7925 GB, free: 4.531 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009681/0.3634, allocations: 128.4 kB / 0.7926 GB, free: 4.406 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004705/0.3638, allocations: 283.7 kB / 0.7929 GB, free: 4.09 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.225e-05/0.3639, allocations: 25.03 kB / 0.7929 GB, free: 4.066 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.062e-05/0.3639, allocations: 28.36 kB / 0.7929 GB, free: 4.039 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00072/0.3647, allocations: 459.9 kB / 0.7934 GB, free: 3.551 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.552e-05/0.3647, allocations: 4 kB / 0.7934 GB, free: 3.547 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.98e-05/0.3647, allocations: 12 kB / 0.7934 GB, free: 3.535 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.104e-05/0.3648, allocations: 32.53 kB / 0.7934 GB, free: 3.504 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005342/0.3653, allocations: 314 kB / 0.7937 GB, free: 3.199 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002397/0.3678, allocations: 2.197 MB / 0.7958 GB, free: 0.7891 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004053/0.3682, allocations: 243.8 kB / 0.7961 GB, free: 0.5234 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002449/0.3684, allocations: 116.7 kB / 0.7962 GB, free: 416 kB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.254e-05/0.3685, allocations: 0 / 0.7962 GB, free: 416 kB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.067e-05/0.3685, allocations: 38.56 kB / 0.7962 GB, free: 368 kB / 0.6075 GB Notification: Performance of pre-optimization done (n=14): time 5.661e-06/0.3685, allocations: 0 / 0.7962 GB, free: 368 kB / 0.6075 GB Notification: Performance of matching and sorting (n=14): time 0.0006763/0.3692, allocations: 310.3 kB / 0.7965 GB, free: 32 kB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.004e-05/0.3693, allocations: 55.34 kB / 0.7966 GB, free: 15.96 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002887/0.3695, allocations: 270.5 kB / 0.7968 GB, free: 15.69 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 2.147e-05/0.3696, allocations: 29.7 kB / 0.7969 GB, free: 15.66 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001432/0.3697, allocations: 207.8 kB / 0.7971 GB, free: 15.45 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 5.173e-05/0.3698, allocations: 47.28 kB / 0.7971 GB, free: 15.4 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.919e-05/0.3699, allocations: 49.94 kB / 0.7971 GB, free: 15.34 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001412/0.37, allocations: 342.8 kB / 0.7975 GB, free: 15 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.535e-05/0.3701, allocations: 56.44 kB / 0.7975 GB, free: 14.94 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001579/0.3703, allocations: 144 kB / 0.7977 GB, free: 14.76 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002705/0.3706, allocations: 218.3 kB / 0.7979 GB, free: 14.51 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.046e-06/0.3706, allocations: 3.938 kB / 0.7979 GB, free: 14.51 MB / 0.6231 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0003921/0.371, allocations: 270 kB / 0.7981 GB, free: 14.23 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.054e-05/0.371, allocations: 7.984 kB / 0.7981 GB, free: 14.23 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.624e-06/0.371, allocations: 4 kB / 0.7981 GB, free: 14.22 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001694/0.3712, allocations: 24.84 kB / 0.7982 GB, free: 14.2 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001791/0.3714, allocations: 47.92 kB / 0.7982 GB, free: 14.15 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001165/0.3726, allocations: 1.327 MB / 0.7995 GB, free: 12.69 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001657/0.3727, allocations: 27.72 kB / 0.7995 GB, free: 12.66 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.856e-05/0.3728, allocations: 12 kB / 0.7996 GB, free: 12.65 MB / 0.6231 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (27): * Single equations (assignments): 26 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000207/0.373, allocations: 166.6 kB / 0.7997 GB, free: 12.48 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.387e-05/0.373, allocations: 27.66 kB / 0.7997 GB, free: 12.45 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.949e-05/0.3731, allocations: 29.83 kB / 0.7998 GB, free: 12.43 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.246e-06/0.3731, allocations: 4 kB / 0.7998 GB, free: 12.42 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.067e-06/0.3731, allocations: 0 / 0.7998 GB, free: 12.42 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.669e-06/0.3731, allocations: 0 / 0.7998 GB, free: 12.42 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009245/0.3741, allocations: 0.6985 MB / 0.8005 GB, free: 11.63 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.995e-06/0.3741, allocations: 7.922 kB / 0.8005 GB, free: 11.62 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.491e-05/0.3742, allocations: 20 kB / 0.8005 GB, free: 11.61 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.449e-05/0.3743, allocations: 29.03 kB / 0.8005 GB, free: 11.57 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.406e-05/0.3743, allocations: 4 kB / 0.8005 GB, free: 11.57 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001007/0.3753, allocations: 1.315 MB / 0.8018 GB, free: 10.12 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.863e-06/0.3753, allocations: 0 / 0.8018 GB, free: 10.12 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003458/0.3757, allocations: 317.1 kB / 0.8021 GB, free: 9.777 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000109/0.3758, allocations: 120.7 kB / 0.8022 GB, free: 9.641 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.974e-05/0.3758, allocations: 4 kB / 0.8022 GB, free: 9.637 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001571/0.376, allocations: 12 kB / 0.8022 GB, free: 9.625 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.327e-05/0.376, allocations: 15.92 kB / 0.8022 GB, free: 9.609 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.377e-05/0.376, allocations: 8 kB / 0.8022 GB, free: 9.602 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0001919/0.3762, allocations: 190 kB / 0.8024 GB, free: 9.418 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3762, allocations: 0 / 0.8024 GB, free: 9.418 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0004032/0.3767, allocations: 87.62 kB / 0.8025 GB, free: 9.332 MB / 0.6231 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (14): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001502/0.3768, allocations: 103.2 kB / 0.8026 GB, free: 9.219 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0004651/0.3773, allocations: 269.5 kB / 0.8029 GB, free: 8.945 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.845e-06/0.3773, allocations: 96 / 0.8029 GB, free: 8.945 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0002461/0.3775, allocations: 190.5 kB / 0.8031 GB, free: 8.746 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004815/0.378, allocations: 63.19 kB / 0.8031 GB, free: 8.684 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001026/0.3791, allocations: 0.6926 MB / 0.8038 GB, free: 7.941 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004724/0.3796, allocations: 0.795 MB / 0.8046 GB, free: 7.117 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.602e-05/0.3796, allocations: 19.44 kB / 0.8046 GB, free: 7.098 MB / 0.6231 GB Notification: Performance of SimCode: time 2.41e-07/0.3796, allocations: 0 / 0.8046 GB, free: 7.098 MB / 0.6231 GB Notification: Performance of Templates: time 0.006631/0.3863, allocations: 4.385 MB / 0.8089 GB, free: 2.723 MB / 0.6231 GB make -j1 -f Buildings_8_Buildings.Electrical.DC.Loads.Examples.Resistor.makefile make -j1 -f Buildings_8_Buildings.Electrical.DC.Loads.Examples.Resistor.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.Electrical.DC.Loads.Examples.ResistorCalcHelperMain.o OMCppBuildings_8_Buildings.Electrical.DC.Loads.Examples.ResistorCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_8_Buildings.Electrical.DC.Loads.Examples.ResistorCalcHelperMain.o] Error 1