Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.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/Buildings 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-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(Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Sloads|E.S.1.",fileNamePrefix="Buildings_latest_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized") translateModel(Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Sloads|E.S.1.",fileNamePrefix="Buildings_latest_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008223/0.0008222, allocations: 99.36 kB / 15.71 MB, free: 452 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.0009022/0.0009022, allocations: 178 kB / 16.58 MB, free: 6.422 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.46/1.46, allocations: 223.2 MB / 240.6 MB, free: 5.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.779/2.779, allocations: 436.7 MB / 0.7113 GB, free: 7.867 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.000391/0.0003911, allocations: 11.94 kB / 0.8717 GB, free: 4.742 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8727/0.8731, allocations: 153.7 MB / 1.022 GB, free: 1.082 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized): time 0.02389/0.8971, allocations: 20.43 MB / 1.042 GB, free: 12.59 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.02441/0.9215, allocations: 16.4 MB / 1.058 GB, free: 12.15 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003656/0.9252, allocations: 103.4 kB / 1.058 GB, free: 12.05 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.002731/0.928, allocations: 0.5696 MB / 1.058 GB, free: 11.47 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.01098/0.939, allocations: 2.852 MB / 1.061 GB, free: 8.617 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.004306/0.9433, allocations: 0.9513 MB / 1.062 GB, free: 7.668 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.01059/0.9539, allocations: 5.928 MB / 1.068 GB, free: 1.719 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004641/0.9586, allocations: 2.067 MB / 1.07 GB, free: 15.59 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00465/0.9633, allocations: 1.965 MB / 1.072 GB, free: 13.62 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005717/0.969, allocations: 2.21 MB / 1.074 GB, free: 11.4 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 0.001647/0.9707, allocations: 176 kB / 1.074 GB, free: 11.23 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00257/0.9733, allocations: 0.5033 MB / 1.075 GB, free: 10.72 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.001195/0.9745, allocations: 0.9575 MB / 1.076 GB, free: 9.762 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.001567/0.9761, allocations: 0.6912 MB / 1.076 GB, free: 9.062 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.005091/0.9812, allocations: 3.915 MB / 1.08 GB, free: 5.137 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 7.484e-06/0.9812, allocations: 0 / 1.08 GB, free: 5.137 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.984e-06/0.9812, allocations: 3.938 kB / 1.08 GB, free: 5.133 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 0.0001475/0.9814, allocations: 0 / 1.08 GB, free: 5.133 MB / 0.8262 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 635 * Number of variables: 635 Notification: Performance of Generate backend data structure: time 0.009857/0.9913, allocations: 4.103 MB / 1.084 GB, free: 0.918 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 5.36e-05/0.9913, allocations: 19.92 kB / 1.084 GB, free: 0.8984 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01538/1.007, allocations: 3.362 MB / 1.087 GB, free: 13.53 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005278/1.012, allocations: 1.987 MB / 1.089 GB, free: 11.47 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005369/1.013, allocations: 465.7 kB / 1.09 GB, free: 10.95 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001061/1.014, allocations: 232 kB / 1.09 GB, free: 10.73 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01365/1.027, allocations: 4.857 MB / 1.095 GB, free: 5.723 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.304e-05/1.027, allocations: 0 / 1.095 GB, free: 5.723 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007961/1.028, allocations: 108 kB / 1.095 GB, free: 5.617 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002221/1.029, allocations: 168.8 kB / 1.095 GB, free: 5.449 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01463/1.043, allocations: 5.304 MB / 1.1 GB, free: 132 kB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02706/1.07, allocations: 14.6 MB / 1.114 GB, free: 376 kB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01018/1.08, allocations: 3.672 MB / 1.118 GB, free: 12.69 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003819/1.084, allocations: 1.584 MB / 1.12 GB, free: 11.09 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001974/1.085, allocations: 33.27 kB / 1.12 GB, free: 11.06 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004573/1.089, allocations: 1.908 MB / 1.121 GB, free: 9.086 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=163): time 7.143e-06/1.089, allocations: 0 / 1.121 GB, free: 9.086 MB / 0.8731 GB Notification: Performance of matching and sorting (n=250): time 0.122/1.211, allocations: 34.1 MB / 1.155 GB, free: 6.766 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004311/1.212, allocations: 0.4928 MB / 1.155 GB, free: 6.16 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004526/1.216, allocations: 2.273 MB / 1.157 GB, free: 3.875 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 0.000529/1.217, allocations: 81.7 kB / 1.157 GB, free: 3.789 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.001515/1.218, allocations: 1.434 MB / 1.159 GB, free: 2.34 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 0.001201/1.22, allocations: 0.8162 MB / 1.16 GB, free: 1.512 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003581/1.22, allocations: 51.94 kB / 1.16 GB, free: 1.461 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0002828/1.22, allocations: 398.6 kB / 1.16 GB, free: 1.066 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005379/1.226, allocations: 2.108 MB / 1.162 GB, free: 14.95 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005691/1.231, allocations: 2.411 MB / 1.165 GB, free: 12.46 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005465/1.237, allocations: 2.292 MB / 1.167 GB, free: 10.11 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.243e-05/1.237, allocations: 0 / 1.167 GB, free: 10.11 MB / 0.92 GB Notification: Performance of matching and sorting (n=299) (initialization): time 0.01808/1.255, allocations: 6.888 MB / 1.173 GB, free: 3.137 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001316/1.255, allocations: 144.5 kB / 1.174 GB, free: 2.965 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.393e-05/1.255, allocations: 8 kB / 1.174 GB, free: 2.957 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009418/1.265, allocations: 2.938 MB / 1.177 GB, free: 12 kB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002836/1.267, allocations: 0.5696 MB / 1.177 GB, free: 15.44 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0372/1.305, allocations: 17.31 MB / 1.194 GB, free: 13.89 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004343/1.309, allocations: 419.6 kB / 1.194 GB, free: 13.48 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006707/1.31, allocations: 87.97 kB / 1.194 GB, free: 13.4 MB / 0.9512 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * Number of states: 0 () * Number of discrete variables: 25 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.varLoad1.T_start,varLoad1.T_start,$PRE.varLoad1.count,varLoad1.count,$PRE.varLoad2.T_start,varLoad2.T_start,$PRE.varLoad2.count,varLoad2.count,$PRE.varLoad3.T_start,varLoad3.T_start,$PRE.varLoad3.count,varLoad3.count,$PRE.varLoad4.T_start,varLoad4.T_start,$PRE.varLoad4.count,varLoad4.count,$PRE.varLoad5.T_start,varLoad5.T_start,$PRE.varLoad5.count,varLoad5.count) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (162): * Single equations (assignments): 155 * Array equations: 0 * Algorithm blocks: 5 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(10,45.0%) 52} * Non-linear torn systems: 1 {9 63} Notification: Performance of prepare postOptimizeDAE: time 0.002626/1.312, allocations: 0.7126 MB / 1.195 GB, free: 12.68 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001111/1.314, allocations: 332.1 kB / 1.195 GB, free: 12.35 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001184/1.315, allocations: 380.3 kB / 1.196 GB, free: 11.97 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.617e-05/1.315, allocations: 24 kB / 1.196 GB, free: 11.95 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.366e-05/1.315, allocations: 11.94 kB / 1.196 GB, free: 11.94 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.298e-05/1.315, allocations: 15.94 kB / 1.196 GB, free: 11.92 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006889/1.322, allocations: 3.636 MB / 1.199 GB, free: 8.227 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.946e-05/1.322, allocations: 0 / 1.199 GB, free: 8.227 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002499/1.324, allocations: 0.4993 MB / 1.2 GB, free: 7.727 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.009436/1.334, allocations: 2.861 MB / 1.203 GB, free: 4.855 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005674/1.334, allocations: 51.97 kB / 1.203 GB, free: 4.805 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03817/1.373, allocations: 17.11 MB / 1.219 GB, free: 3.414 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.617e-06/1.373, allocations: 0 / 1.219 GB, free: 3.414 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01785/1.391, allocations: 6.521 MB / 1.226 GB, free: 12.85 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002514/1.393, allocations: 0.7 MB / 1.227 GB, free: 12.12 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001209/1.394, allocations: 44 kB / 1.227 GB, free: 12.08 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003845/1.398, allocations: 415.6 kB / 1.227 GB, free: 11.68 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00165/1.4, allocations: 362.6 kB / 1.227 GB, free: 11.32 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000464/1.4, allocations: 75.92 kB / 1.227 GB, free: 11.25 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.003542/1.404, allocations: 1.517 MB / 1.229 GB, free: 9.734 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.6e-07/1.404, allocations: 0 / 1.229 GB, free: 9.734 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.004519/1.408, allocations: 1.047 MB / 1.23 GB, free: 8.688 MB / 0.9825 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,varLoad1.T_start,varLoad1.count,varLoad2.T_start,varLoad2.count,varLoad3.T_start,varLoad3.count,varLoad4.T_start,varLoad4.count,varLoad5.T_start,varLoad5.count) * Number of discrete states: 5 (varLoad1.count,varLoad2.count,varLoad3.count,varLoad4.count,varLoad5.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (118): * Single equations (assignments): 106 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(10,60.0%) 52} * Non-linear torn systems: 1 {10 62} Notification: Performance of Backend phase and start with SimCode phase: time 0.0005712/1.409, allocations: 159.1 kB / 1.23 GB, free: 8.523 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.02215/1.431, allocations: 6.833 MB / 1.237 GB, free: 1.598 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.438e-05/1.431, allocations: 128 / 1.237 GB, free: 1.598 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.01618/1.448, allocations: 4.225 MB / 1.241 GB, free: 13.35 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006887/1.454, allocations: 1.051 MB / 1.242 GB, free: 12.31 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01831/1.473, allocations: 7.949 MB / 1.25 GB, free: 4.332 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003038/1.476, allocations: 2.223 MB / 1.252 GB, free: 2.078 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001383/1.477, allocations: 199.4 kB / 1.252 GB, free: 1.883 MB / 0.9981 GB Notification: Performance of SimCode: time 1.573e-06/1.477, allocations: 0 / 1.252 GB, free: 1.883 MB / 0.9981 GB Notification: Performance of Templates: time 0.764/2.241, allocations: 79.66 MB / 1.33 GB, free: 163 MB / 0.9981 GB make -j1 -f Buildings_latest_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.makefile make -j1 -f Buildings_latest_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.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_latest_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearizedCalcHelperMain.o OMCppBuildings_latest_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearizedCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_latest_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearizedCalcHelperMain.o] Error 1