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.00153/0.00153, allocations: 102.6 kB / 15.71 MB, free: 460 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.002618/0.002618, allocations: 176.3 kB / 16.58 MB, free: 6.863 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.868/1.868, allocations: 205.4 MB / 222.7 MB, free: 5.887 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.836/1.836, allocations: 292.7 MB / 0.5505 GB, free: 14.55 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.000615/0.000615, allocations: 14.62 kB / 0.6743 GB, free: 26.34 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3267/0.3273, allocations: 116.3 MB / 0.7879 GB, free: 11.93 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Loads.Examples.Resistor): time 0.004512/0.3319, allocations: 3.335 MB / 0.7912 GB, free: 8.578 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.002764/0.3347, allocations: 1.618 MB / 0.7928 GB, free: 6.949 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001694/0.3349, allocations: 4 kB / 0.7928 GB, free: 6.945 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0002306/0.3351, allocations: 63.5 kB / 0.7928 GB, free: 6.883 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0004916/0.3356, allocations: 171.1 kB / 0.793 GB, free: 6.715 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.000475/0.3361, allocations: 151.6 kB / 0.7931 GB, free: 6.566 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0005814/0.3367, allocations: 0.5374 MB / 0.7937 GB, free: 6.027 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004475/0.3371, allocations: 289.2 kB / 0.7939 GB, free: 5.723 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001824/0.3373, allocations: 151.4 kB / 0.7941 GB, free: 5.574 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004006/0.3377, allocations: 199.3 kB / 0.7943 GB, free: 5.379 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 4.218e-05/0.3378, allocations: 16 kB / 0.7943 GB, free: 5.363 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002797/0.3381, allocations: 119.8 kB / 0.7944 GB, free: 5.246 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001162/0.3382, allocations: 107.7 kB / 0.7945 GB, free: 5.141 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 9.068e-05/0.3383, allocations: 85.58 kB / 0.7946 GB, free: 5.051 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0004192/0.3387, allocations: 375.3 kB / 0.7949 GB, free: 4.684 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 8.025e-06/0.3388, allocations: 0 / 0.7949 GB, free: 4.684 MB / 0.6075 GB Notification: Performance of FrontEnd: time 3.847e-06/0.3388, allocations: 3.938 kB / 0.7949 GB, free: 4.68 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.012e-06/0.3388, allocations: 3.938 kB / 0.795 GB, free: 4.676 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.0009919/0.3398, allocations: 0.573 MB / 0.7955 GB, free: 4.055 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.916e-05/0.3398, allocations: 8.031 kB / 0.7955 GB, free: 4.047 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008834/0.3407, allocations: 143.4 kB / 0.7957 GB, free: 3.906 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003979/0.3411, allocations: 278.4 kB / 0.7959 GB, free: 3.594 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.689e-05/0.3412, allocations: 20.66 kB / 0.7959 GB, free: 3.574 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.298e-05/0.3412, allocations: 28 kB / 0.796 GB, free: 3.547 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007303/0.3419, allocations: 455.6 kB / 0.7964 GB, free: 3.062 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.527e-05/0.342, allocations: 0 / 0.7964 GB, free: 3.062 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.982e-05/0.342, allocations: 23.94 kB / 0.7964 GB, free: 3.039 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.135e-05/0.3421, allocations: 28.55 kB / 0.7965 GB, free: 3.008 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005151/0.3426, allocations: 317.9 kB / 0.7968 GB, free: 2.699 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00233/0.3449, allocations: 2.193 MB / 0.7989 GB, free: 300 kB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004081/0.3454, allocations: 255.8 kB / 0.7991 GB, free: 16 kB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002646/0.3456, allocations: 116.8 kB / 0.7993 GB, free: 15.9 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 1.397e-05/0.3457, allocations: 0 / 0.7993 GB, free: 15.9 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.903e-05/0.3457, allocations: 34.5 kB / 0.7993 GB, free: 15.86 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=14): time 1.884e-06/0.3457, allocations: 4 kB / 0.7993 GB, free: 15.85 MB / 0.6231 GB Notification: Performance of matching and sorting (n=14): time 0.0006423/0.3464, allocations: 303.2 kB / 0.7996 GB, free: 15.53 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.082e-05/0.3464, allocations: 55.36 kB / 0.7996 GB, free: 15.46 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003758/0.3468, allocations: 266.6 kB / 0.7999 GB, free: 15.2 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 2.214e-05/0.3468, allocations: 25.7 kB / 0.7999 GB, free: 15.16 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001467/0.347, allocations: 207.8 kB / 0.8001 GB, free: 14.95 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 4.111e-05/0.347, allocations: 51.28 kB / 0.8002 GB, free: 14.9 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.177e-05/0.3471, allocations: 8.094 kB / 0.8002 GB, free: 14.89 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.000133/0.3472, allocations: 338.8 kB / 0.8005 GB, free: 14.55 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001077/0.3473, allocations: 52.44 kB / 0.8005 GB, free: 14.5 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001697/0.3475, allocations: 151.5 kB / 0.8007 GB, free: 14.32 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001342/0.3476, allocations: 75.98 kB / 0.8008 GB, free: 14.24 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.475e-06/0.3476, allocations: 0 / 0.8008 GB, free: 14.24 MB / 0.6231 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0004123/0.3481, allocations: 265.9 kB / 0.801 GB, free: 13.97 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.032e-05/0.3481, allocations: 8 kB / 0.801 GB, free: 13.96 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.176e-06/0.3481, allocations: 4 kB / 0.801 GB, free: 13.96 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001762/0.3483, allocations: 33.17 kB / 0.8011 GB, free: 13.93 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001883/0.3485, allocations: 51.91 kB / 0.8011 GB, free: 13.88 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001158/0.3497, allocations: 1.319 MB / 0.8024 GB, free: 12.43 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001632/0.3498, allocations: 35.7 kB / 0.8024 GB, free: 12.39 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.489e-05/0.3499, allocations: 8 kB / 0.8024 GB, free: 12.38 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000166/0.35, allocations: 165.8 kB / 0.8026 GB, free: 12.21 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.401e-05/0.3501, allocations: 23.72 kB / 0.8026 GB, free: 12.19 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.841e-05/0.3501, allocations: 21.84 kB / 0.8026 GB, free: 12.17 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.819e-06/0.3502, allocations: 7.953 kB / 0.8026 GB, free: 12.16 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.316e-06/0.3502, allocations: 4.094 kB / 0.8026 GB, free: 12.16 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.939e-06/0.3502, allocations: 3.984 kB / 0.8026 GB, free: 12.15 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008954/0.3511, allocations: 0.7064 MB / 0.8033 GB, free: 11.36 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-06/0.3511, allocations: 0 / 0.8033 GB, free: 11.36 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.35e-05/0.3512, allocations: 23.98 kB / 0.8034 GB, free: 11.33 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.6e-05/0.3513, allocations: 24.84 kB / 0.8034 GB, free: 11.3 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.382e-05/0.3513, allocations: 8 kB / 0.8034 GB, free: 11.3 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001012/0.3523, allocations: 1.316 MB / 0.8047 GB, free: 9.848 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.697e-06/0.3523, allocations: 3.938 kB / 0.8047 GB, free: 9.844 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003499/0.3527, allocations: 324.4 kB / 0.805 GB, free: 9.492 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001013/0.3528, allocations: 108.8 kB / 0.8051 GB, free: 9.367 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.126e-05/0.3528, allocations: 11.98 kB / 0.8051 GB, free: 9.355 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001492/0.353, allocations: 16 kB / 0.8051 GB, free: 9.34 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.232e-05/0.353, allocations: 15.94 kB / 0.8051 GB, free: 9.324 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.133e-05/0.353, allocations: 8 kB / 0.8051 GB, free: 9.316 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0001852/0.3532, allocations: 190 kB / 0.8053 GB, free: 9.133 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.11e-07/0.3532, allocations: 0 / 0.8053 GB, free: 9.133 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0003948/0.3536, allocations: 71.94 kB / 0.8054 GB, free: 9.062 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001325/0.3538, allocations: 115.1 kB / 0.8055 GB, free: 8.938 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0004742/0.3543, allocations: 274.3 kB / 0.8058 GB, free: 8.656 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 3.316e-06/0.3543, allocations: 0.75 kB / 0.8058 GB, free: 8.656 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0001978/0.3545, allocations: 182.7 kB / 0.8059 GB, free: 8.465 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004742/0.355, allocations: 48.53 kB / 0.806 GB, free: 8.418 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001009/0.356, allocations: 0.683 MB / 0.8067 GB, free: 7.688 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004404/0.3564, allocations: 0.7952 MB / 0.8074 GB, free: 6.863 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.641e-05/0.3565, allocations: 23.44 kB / 0.8075 GB, free: 6.84 MB / 0.6231 GB Notification: Performance of SimCode: time 2.91e-07/0.3565, allocations: 0 / 0.8075 GB, free: 6.84 MB / 0.6231 GB Notification: Performance of Templates: time 0.006864/0.3634, allocations: 4.357 MB / 0.8117 GB, free: 2.492 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++ 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.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