Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_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 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.DCLinesLinearized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized") translateModel(Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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.001004/0.001004, allocations: 92.16 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.001455/0.001455, allocations: 172.9 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.939/1.939, allocations: 205.4 MB / 223.1 MB, free: 5.551 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.857/1.857, allocations: 292.7 MB / 0.5509 GB, free: 14.47 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.0005163/0.0005164, allocations: 18.25 kB / 0.675 GB, free: 25.89 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2922/0.2927, allocations: 116.3 MB / 0.7885 GB, free: 11.59 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized): time 0.02431/0.3171, allocations: 21.51 MB / 0.8095 GB, free: 5.996 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.02756/0.3447, allocations: 17.49 MB / 0.8266 GB, free: 4.449 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004778/0.3495, allocations: 99.44 kB / 0.8267 GB, free: 4.352 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.003016/0.3526, allocations: 0.5891 MB / 0.8273 GB, free: 3.758 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.01472/0.3673, allocations: 3.207 MB / 0.8304 GB, free: 0.543 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.004728/0.3721, allocations: 1.176 MB / 0.8316 GB, free: 15.37 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.01244/0.3845, allocations: 7.052 MB / 0.8385 GB, free: 8.293 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005368/0.3899, allocations: 2.55 MB / 0.8409 GB, free: 5.652 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005897/0.3959, allocations: 2.046 MB / 0.8429 GB, free: 3.598 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006251/0.4022, allocations: 2.288 MB / 0.8452 GB, free: 1.301 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.001075/0.4033, allocations: 176 kB / 0.8453 GB, free: 1.129 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003752/0.407, allocations: 1.053 MB / 0.8464 GB, free: 76 kB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.001212/0.4083, allocations: 0.9769 MB / 0.8473 GB, free: 15.09 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.002913/0.4112, allocations: 1.789 MB / 0.8491 GB, free: 13.29 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.005227/0.4164, allocations: 3.962 MB / 0.8529 GB, free: 9.316 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 8.065e-06/0.4165, allocations: 0 / 0.8529 GB, free: 9.316 MB / 0.67 GB Notification: Performance of FrontEnd: time 2.985e-06/0.4165, allocations: 4 kB / 0.853 GB, free: 9.312 MB / 0.67 GB Notification: Performance of Transformations before backend: time 0.0001179/0.4166, allocations: 3.938 kB / 0.853 GB, free: 9.309 MB / 0.67 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.01067/0.4273, allocations: 4.068 MB / 0.8569 GB, free: 5.129 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 4.727e-05/0.4273, allocations: 8.031 kB / 0.8569 GB, free: 5.121 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01708/0.4444, allocations: 3.367 MB / 0.8602 GB, free: 1.746 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005661/0.4501, allocations: 2.084 MB / 0.8623 GB, free: 15.59 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006342/0.4508, allocations: 474.2 kB / 0.8627 GB, free: 15.07 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006505/0.4515, allocations: 235.9 kB / 0.8629 GB, free: 14.84 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01305/0.4645, allocations: 4.865 MB / 0.8677 GB, free: 9.828 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.205e-05/0.4646, allocations: 7.875 kB / 0.8677 GB, free: 9.82 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003514/0.465, allocations: 112 kB / 0.8678 GB, free: 9.711 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002773/0.4653, allocations: 168.8 kB / 0.868 GB, free: 9.543 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01512/0.4804, allocations: 5.315 MB / 0.8732 GB, free: 4.211 MB / 0.6856 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02657/0.507, allocations: 14.61 MB / 0.8874 GB, free: 4.426 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01106/0.5181, allocations: 3.679 MB / 0.891 GB, free: 0.7305 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004588/0.5228, allocations: 1.596 MB / 0.8926 GB, free: 15.14 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001351/0.523, allocations: 29.28 kB / 0.8926 GB, free: 15.11 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004862/0.5278, allocations: 1.915 MB / 0.8945 GB, free: 13.12 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=163): time 3.987e-06/0.5279, allocations: 0 / 0.8945 GB, free: 13.12 MB / 0.7169 GB Notification: Performance of matching and sorting (n=250): time 0.8701/1.398, allocations: 34.11 MB / 0.9278 GB, free: 127 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003596/1.398, allocations: 0.4907 MB / 0.9283 GB, free: 126.5 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004427/1.403, allocations: 2.303 MB / 0.9305 GB, free: 126 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.0006413/1.403, allocations: 75.56 kB / 0.9306 GB, free: 126 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.001465/1.405, allocations: 1.434 MB / 0.932 GB, free: 124.9 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.001114/1.406, allocations: 0.8231 MB / 0.9328 GB, free: 124.3 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003964/1.406, allocations: 185.7 kB / 0.933 GB, free: 124.2 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 7.737e-05/1.407, allocations: 310.4 kB / 0.9333 GB, free: 123.9 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005923/1.412, allocations: 2.113 MB / 0.9353 GB, free: 123.3 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006341/1.419, allocations: 2.423 MB / 0.9377 GB, free: 122.5 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01411/1.433, allocations: 4.537 MB / 0.9421 GB, free: 120.8 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.053e-05/1.433, allocations: 1.75 kB / 0.9421 GB, free: 120.8 MB / 0.7325 GB Notification: Performance of matching and sorting (n=299) (initialization): time 0.02286/1.456, allocations: 6.911 MB / 0.9489 GB, free: 118.5 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001283/1.456, allocations: 158.2 kB / 0.949 GB, free: 118.3 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.552e-05/1.456, allocations: 9.375 kB / 0.949 GB, free: 118.3 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01073/1.467, allocations: 2.922 MB / 0.9519 GB, free: 117.7 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003179/1.47, allocations: 0.5694 MB / 0.9524 GB, free: 117.7 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03614/1.506, allocations: 17.37 MB / 0.9694 GB, free: 107.5 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004878/1.511, allocations: 417.3 kB / 0.9698 GB, free: 107.3 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004453/1.512, allocations: 89.5 kB / 0.9699 GB, free: 107.3 MB / 0.7325 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 (varLoad5.count,$PRE.varLoad5.count,varLoad5.T_start,$PRE.varLoad5.T_start,varLoad4.count,$PRE.varLoad4.count,varLoad4.T_start,$PRE.varLoad4.T_start,varLoad3.count,$PRE.varLoad3.count,varLoad3.T_start,$PRE.varLoad3.T_start,varLoad2.count,$PRE.varLoad2.count,varLoad2.T_start,$PRE.varLoad2.T_start,varLoad1.count,$PRE.varLoad1.count,varLoad1.T_start,$PRE.varLoad1.T_start,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5) * 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 (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(10,52,45.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(8,64)} Notification: Performance of prepare postOptimizeDAE: time 0.002005/1.514, allocations: 0.7106 MB / 0.9706 GB, free: 106.8 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008899/1.515, allocations: 334 kB / 0.9709 GB, free: 106.6 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008619/1.515, allocations: 381 kB / 0.9713 GB, free: 106.3 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.096e-05/1.515, allocations: 24.91 kB / 0.9713 GB, free: 106.3 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001109/1.516, allocations: 10.72 kB / 0.9713 GB, free: 106.3 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.281e-05/1.516, allocations: 11.95 kB / 0.9713 GB, free: 106.3 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005183/1.521, allocations: 3.632 MB / 0.9749 GB, free: 103.9 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.223e-05/1.521, allocations: 0 / 0.9749 GB, free: 103.9 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002532/1.523, allocations: 0.4999 MB / 0.9754 GB, free: 103.8 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.009099/1.532, allocations: 2.87 MB / 0.9782 GB, free: 101.6 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004445/1.533, allocations: 51.97 kB / 0.9782 GB, free: 101.6 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03319/1.566, allocations: 17.15 MB / 0.995 GB, free: 84.14 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.645e-06/1.566, allocations: 0 / 0.995 GB, free: 84.14 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01741/1.584, allocations: 6.549 MB / 1.001 GB, free: 77.56 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002324/1.586, allocations: 0.7 MB / 1.002 GB, free: 76.84 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007237/1.587, allocations: 45.17 kB / 1.002 GB, free: 76.8 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003402/1.59, allocations: 419.5 kB / 1.002 GB, free: 76.39 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00126/1.591, allocations: 350.2 kB / 1.003 GB, free: 76.05 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001942/1.592, allocations: 77.59 kB / 1.003 GB, free: 75.98 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.002052/1.594, allocations: 1.536 MB / 1.004 GB, free: 74.44 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.5e-07/1.594, allocations: 4 kB / 1.004 GB, free: 74.44 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.003323/1.597, allocations: 1.047 MB / 1.005 GB, free: 73.39 MB / 0.7325 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 (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(10,52,60.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(10,62)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003924/1.597, allocations: 159.1 kB / 1.006 GB, free: 73.22 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.02252/1.62, allocations: 6.83 MB / 1.012 GB, free: 66.3 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.132e-05/1.62, allocations: 4 kB / 1.012 GB, free: 66.3 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.01693/1.637, allocations: 4.226 MB / 1.016 GB, free: 62.05 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006148/1.643, allocations: 1.048 MB / 1.017 GB, free: 61.04 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01534/1.659, allocations: 8.318 MB / 1.026 GB, free: 52.7 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001933/1.661, allocations: 2.231 MB / 1.028 GB, free: 50.43 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001338/1.662, allocations: 191.4 kB / 1.028 GB, free: 50.25 MB / 0.7325 GB Notification: Performance of SimCode: time 1.383e-06/1.662, allocations: 0 / 1.028 GB, free: 50.25 MB / 0.7325 GB Notification: Performance of Templates: time 0.1137/1.776, allocations: 79.53 MB / 1.106 GB, free: 3.031 MB / 0.7637 GB make -j1 -f Buildings_8_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.makefile make -j1 -f Buildings_8_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.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.DCLinesLinearizedCalcHelperMain.o OMCppBuildings_8_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearizedCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_8_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearizedCalcHelperMain.o] Error 1