Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.DC.Lines.Examples.Resistance.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.Lines.Examples.Resistance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.DC.Lines.Examples.Resistance") translateModel(Buildings.Electrical.DC.Lines.Examples.Resistance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.DC.Lines.Examples.Resistance") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009147/0.0009147, allocations: 91.69 kB / 16.02 MB, free: 80 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.001923/0.001922, allocations: 179.2 kB / 16.92 MB, free: 6.652 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.758/1.758, allocations: 205.4 MB / 223.1 MB, free: 5.559 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.809/1.809, allocations: 292.7 MB / 0.5509 GB, free: 14.48 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.0006425/0.0006427, allocations: 17.66 kB / 0.675 GB, free: 25.98 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3384/0.3391, allocations: 116.3 MB / 0.7885 GB, free: 11.61 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.Resistance): time 0.004299/0.3435, allocations: 2.753 MB / 0.7912 GB, free: 8.84 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.002458/0.346, allocations: 1.298 MB / 0.7925 GB, free: 7.531 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000136/0.3461, allocations: 4 kB / 0.7925 GB, free: 7.527 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0001858/0.3463, allocations: 43.64 kB / 0.7925 GB, free: 7.484 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0004228/0.3468, allocations: 131.4 kB / 0.7927 GB, free: 7.355 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004693/0.3472, allocations: 138.8 kB / 0.7928 GB, free: 7.223 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0004572/0.3477, allocations: 430.8 kB / 0.7932 GB, free: 6.801 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000462/0.3482, allocations: 237.4 kB / 0.7934 GB, free: 6.551 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001528/0.3483, allocations: 95.62 kB / 0.7935 GB, free: 6.457 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003536/0.3487, allocations: 131.5 kB / 0.7936 GB, free: 6.328 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 3.352e-05/0.3488, allocations: 16 kB / 0.7937 GB, free: 6.312 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003732/0.3491, allocations: 207.5 kB / 0.7939 GB, free: 6.109 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 9.652e-05/0.3492, allocations: 63.86 kB / 0.7939 GB, free: 6.047 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001532/0.3494, allocations: 133.2 kB / 0.7941 GB, free: 5.91 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0003709/0.3498, allocations: 247.6 kB / 0.7943 GB, free: 5.668 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 6.513e-06/0.3498, allocations: 0 / 0.7943 GB, free: 5.668 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.524e-06/0.3498, allocations: 0 / 0.7943 GB, free: 5.668 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.652e-06/0.3498, allocations: 4 kB / 0.7943 GB, free: 5.664 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: 50 * Number of variables: 50 Notification: Performance of Generate backend data structure: time 0.0008778/0.3507, allocations: 498.9 kB / 0.7948 GB, free: 5.125 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 5.451e-05/0.3508, allocations: 12.03 kB / 0.7948 GB, free: 5.113 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006196/0.3514, allocations: 76.67 kB / 0.7949 GB, free: 5.039 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003252/0.3517, allocations: 236 kB / 0.7951 GB, free: 4.77 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.088e-05/0.3518, allocations: 16.75 kB / 0.7951 GB, free: 4.754 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.39e-05/0.3518, allocations: 16.38 kB / 0.7951 GB, free: 4.738 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005435/0.3524, allocations: 315 kB / 0.7954 GB, free: 4.406 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.102e-05/0.3524, allocations: 0 / 0.7954 GB, free: 4.406 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.308e-05/0.3524, allocations: 12 kB / 0.7954 GB, free: 4.395 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.51e-05/0.3525, allocations: 12.38 kB / 0.7954 GB, free: 4.383 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003462/0.3528, allocations: 196.9 kB / 0.7956 GB, free: 4.191 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001884/0.3547, allocations: 1.468 MB / 0.7971 GB, free: 2.562 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003205/0.355, allocations: 183.6 kB / 0.7972 GB, free: 2.355 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.166e-05/0.3551, allocations: 32.84 kB / 0.7973 GB, free: 2.32 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.283e-05/0.3551, allocations: 0 / 0.7973 GB, free: 2.32 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.658e-05/0.3552, allocations: 30.56 kB / 0.7973 GB, free: 2.281 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=7): time 9.01e-07/0.3552, allocations: 3.938 kB / 0.7973 GB, free: 2.277 MB / 0.6075 GB Notification: Performance of matching and sorting (n=7): time 0.0005592/0.3558, allocations: 231.4 kB / 0.7975 GB, free: 2.023 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.959e-05/0.3558, allocations: 51.41 kB / 0.7976 GB, free: 1.961 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002177/0.356, allocations: 200.1 kB / 0.7978 GB, free: 1.758 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.753e-05/0.3561, allocations: 29.7 kB / 0.7978 GB, free: 1.723 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001346/0.3562, allocations: 163.6 kB / 0.7979 GB, free: 1.559 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.79e-05/0.3563, allocations: 23.7 kB / 0.798 GB, free: 1.535 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.529e-05/0.3563, allocations: 17.72 kB / 0.798 GB, free: 1.512 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001658/0.3565, allocations: 326.8 kB / 0.7983 GB, free: 1.184 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.791e-05/0.3566, allocations: 39.98 kB / 0.7983 GB, free: 1.145 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001092/0.3567, allocations: 96.56 kB / 0.7984 GB, free: 1.02 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001945/0.3569, allocations: 156.5 kB / 0.7986 GB, free: 0.8359 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.366e-06/0.3569, allocations: 0 / 0.7986 GB, free: 0.8359 MB / 0.6075 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0003231/0.3572, allocations: 198 kB / 0.7988 GB, free: 0.6328 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.126e-05/0.3572, allocations: 4 kB / 0.7988 GB, free: 0.6289 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.147e-05/0.3573, allocations: 8.062 kB / 0.7988 GB, free: 0.6211 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000198/0.3575, allocations: 25.12 kB / 0.7988 GB, free: 0.5938 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001166/0.3576, allocations: 35.92 kB / 0.7988 GB, free: 0.5586 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001191/0.3588, allocations: 1.315 MB / 0.8001 GB, free: 15.1 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001177/0.3589, allocations: 20 kB / 0.8001 GB, free: 15.08 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.102e-05/0.3589, allocations: 8 kB / 0.8001 GB, free: 15.07 MB / 0.6231 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (17): * Single equations (assignments): 16 * 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.0001575/0.3591, allocations: 141.8 kB / 0.8003 GB, free: 14.93 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.24e-05/0.3592, allocations: 19.75 kB / 0.8003 GB, free: 14.91 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.33e-05/0.3592, allocations: 17.39 kB / 0.8003 GB, free: 14.89 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.442e-06/0.3592, allocations: 0 / 0.8003 GB, free: 14.89 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.266e-06/0.3592, allocations: 0 / 0.8003 GB, free: 14.89 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.741e-06/0.3592, allocations: 4.031 kB / 0.8003 GB, free: 14.89 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005754/0.3598, allocations: 451.2 kB / 0.8007 GB, free: 14.39 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.783e-06/0.3598, allocations: 0 / 0.8007 GB, free: 14.39 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.682e-05/0.3599, allocations: 8 kB / 0.8007 GB, free: 14.38 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.738e-05/0.36, allocations: 24.78 kB / 0.8008 GB, free: 14.36 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.296e-05/0.36, allocations: 4 kB / 0.8008 GB, free: 14.35 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001143/0.3611, allocations: 1.304 MB / 0.802 GB, free: 12.92 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-05/0.3612, allocations: 11.92 kB / 0.8021 GB, free: 12.91 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003086/0.3615, allocations: 216.7 kB / 0.8023 GB, free: 12.68 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 8.919e-05/0.3616, allocations: 97 kB / 0.8024 GB, free: 12.56 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.733e-05/0.3616, allocations: 7.875 kB / 0.8024 GB, free: 12.55 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001144/0.3617, allocations: 8 kB / 0.8024 GB, free: 12.55 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.042e-05/0.3618, allocations: 7.984 kB / 0.8024 GB, free: 12.54 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.189e-06/0.3618, allocations: 0 / 0.8024 GB, free: 12.54 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0001595/0.3619, allocations: 152.1 kB / 0.8025 GB, free: 12.39 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.8e-07/0.3619, allocations: 4 kB / 0.8025 GB, free: 12.39 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0003505/0.3623, allocations: 51.84 kB / 0.8026 GB, free: 12.34 MB / 0.6231 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (6): * Single equations (assignments): 5 * 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.0001508/0.3625, allocations: 99.19 kB / 0.8027 GB, free: 12.23 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0004655/0.3629, allocations: 203.1 kB / 0.8029 GB, free: 12.02 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 3.787e-06/0.363, allocations: 64 / 0.8029 GB, free: 12.02 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0002185/0.3632, allocations: 158.5 kB / 0.803 GB, free: 11.85 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005074/0.3637, allocations: 36.14 kB / 0.8031 GB, free: 11.81 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001071/0.3648, allocations: 481.4 kB / 0.8035 GB, free: 11.32 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007496/0.3656, allocations: 0.7516 MB / 0.8042 GB, free: 10.54 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.328e-05/0.3656, allocations: 15.44 kB / 0.8043 GB, free: 10.52 MB / 0.6231 GB Notification: Performance of SimCode: time 5.21e-07/0.3656, allocations: 0 / 0.8043 GB, free: 10.52 MB / 0.6231 GB Notification: Performance of Templates: time 0.006597/0.3722, allocations: 2.938 MB / 0.8071 GB, free: 7.594 MB / 0.6231 GB make -j1 -f Buildings_8_Buildings.Electrical.DC.Lines.Examples.Resistance.makefile make -j1 -f Buildings_8_Buildings.Electrical.DC.Lines.Examples.Resistance.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.Lines.Examples.ResistanceCalcHelperMain.o OMCppBuildings_8_Buildings.Electrical.DC.Lines.Examples.ResistanceCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_8_Buildings.Electrical.DC.Lines.Examples.ResistanceCalcHelperMain.o] Error 1