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.001062/0.001062, allocations: 100.5 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.001892/0.001892, allocations: 174.9 kB / 16.58 MB, free: 6.422 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.957/1.957, allocations: 205.4 MB / 222.8 MB, free: 5.652 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.796/1.796, allocations: 292.7 MB / 0.5505 GB, free: 14.56 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.0006026/0.0006026, allocations: 17.88 kB / 0.6744 GB, free: 26.22 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2896/0.2902, allocations: 116.3 MB / 0.7879 GB, free: 11.96 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized): time 0.02187/0.3121, allocations: 20.25 MB / 0.8077 GB, free: 7.641 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.02446/0.3366, allocations: 16.52 MB / 0.8238 GB, free: 7.086 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004065/0.3407, allocations: 99.44 kB / 0.8239 GB, free: 6.988 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.002847/0.3436, allocations: 0.5618 MB / 0.8245 GB, free: 6.422 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.01109/0.3547, allocations: 2.867 MB / 0.8273 GB, free: 3.551 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.003952/0.3587, allocations: 0.9504 MB / 0.8282 GB, free: 2.605 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.01012/0.3688, allocations: 5.929 MB / 0.834 GB, free: 12.65 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004218/0.3731, allocations: 2.063 MB / 0.836 GB, free: 10.53 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00478/0.3779, allocations: 1.973 MB / 0.8379 GB, free: 8.547 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00559/0.3835, allocations: 2.218 MB / 0.8401 GB, free: 6.32 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0009576/0.3845, allocations: 175.9 kB / 0.8403 GB, free: 6.148 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002195/0.3867, allocations: 0.4995 MB / 0.8407 GB, free: 5.648 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.001034/0.3878, allocations: 0.9536 MB / 0.8417 GB, free: 4.691 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.001366/0.3891, allocations: 0.6912 MB / 0.8424 GB, free: 3.992 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.004906/0.3941, allocations: 3.931 MB / 0.8462 GB, free: 52 kB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 7.064e-06/0.3941, allocations: 0 / 0.8462 GB, free: 52 kB / 0.6544 GB Notification: Performance of FrontEnd: time 2.435e-06/0.3941, allocations: 0 / 0.8462 GB, free: 52 kB / 0.6544 GB Notification: Performance of Transformations before backend: time 0.0001359/0.3942, allocations: 4 kB / 0.8462 GB, free: 48 kB / 0.6544 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.009388/0.4036, allocations: 4.103 MB / 0.8502 GB, free: 11.83 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 4.527e-05/0.4037, allocations: 8.031 kB / 0.8502 GB, free: 11.82 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01586/0.4195, allocations: 3.374 MB / 0.8535 GB, free: 8.441 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005524/0.4251, allocations: 1.991 MB / 0.8555 GB, free: 6.383 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004599/0.4256, allocations: 461.7 kB / 0.8559 GB, free: 5.867 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007752/0.4264, allocations: 236 kB / 0.8561 GB, free: 5.637 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01153/0.438, allocations: 4.849 MB / 0.8609 GB, free: 0.6445 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.822e-05/0.4381, allocations: 4 kB / 0.8609 GB, free: 0.6406 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003181/0.4384, allocations: 107.9 kB / 0.861 GB, free: 0.5352 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002264/0.4386, allocations: 172.8 kB / 0.8611 GB, free: 372 kB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01399/0.4526, allocations: 5.3 MB / 0.8663 GB, free: 11.05 MB / 0.6856 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02348/0.4762, allocations: 14.59 MB / 0.8805 GB, free: 11.29 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009081/0.4853, allocations: 3.677 MB / 0.8841 GB, free: 7.59 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003573/0.4889, allocations: 1.588 MB / 0.8857 GB, free: 6.004 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001346/0.4891, allocations: 21.3 kB / 0.8857 GB, free: 5.984 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004034/0.4931, allocations: 1.913 MB / 0.8876 GB, free: 4.008 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=163): time 4.358e-06/0.4931, allocations: 0 / 0.8876 GB, free: 4.008 MB / 0.7012 GB Notification: Performance of matching and sorting (n=250): time 0.1208/0.6139, allocations: 34.09 MB / 0.9209 GB, free: 1.688 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003258/0.6143, allocations: 0.4967 MB / 0.9214 GB, free: 1.078 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.66/1.274, allocations: 2.267 MB / 0.9236 GB, free: 126.2 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.0009006/1.275, allocations: 75.97 kB / 0.9236 GB, free: 126.1 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.002475/1.278, allocations: 1.431 MB / 0.925 GB, free: 126 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.001493/1.279, allocations: 0.816 MB / 0.9258 GB, free: 125.6 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002404/1.28, allocations: 47.09 kB / 0.9259 GB, free: 125.6 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0002337/1.28, allocations: 396.1 kB / 0.9263 GB, free: 125.3 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005875/1.286, allocations: 2.112 MB / 0.9283 GB, free: 124.9 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005071/1.291, allocations: 2.411 MB / 0.9307 GB, free: 124.1 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005043/1.296, allocations: 2.295 MB / 0.9329 GB, free: 123.2 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.698e-06/1.296, allocations: 0 / 0.9329 GB, free: 123.2 MB / 0.7325 GB Notification: Performance of matching and sorting (n=299) (initialization): time 0.02057/1.316, allocations: 6.883 MB / 0.9396 GB, free: 121 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001203/1.317, allocations: 149.8 kB / 0.9398 GB, free: 120.8 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.31e-05/1.317, allocations: 4.75 kB / 0.9398 GB, free: 120.8 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01131/1.328, allocations: 2.945 MB / 0.9427 GB, free: 120.3 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00323/1.331, allocations: 0.5699 MB / 0.9432 GB, free: 120.2 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0353/1.366, allocations: 17.31 MB / 0.9601 GB, free: 111.7 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004327/1.371, allocations: 428.4 kB / 0.9605 GB, free: 111.6 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004159/1.371, allocations: 86.84 kB / 0.9606 GB, free: 111.6 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 ($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.001926/1.373, allocations: 0.7184 MB / 0.9613 GB, free: 111.2 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006283/1.374, allocations: 329.5 kB / 0.9616 GB, free: 111 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000783/1.375, allocations: 381.8 kB / 0.962 GB, free: 110.8 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.888e-05/1.375, allocations: 26.97 kB / 0.962 GB, free: 110.8 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.17e-05/1.375, allocations: 12.72 kB / 0.962 GB, free: 110.8 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.875e-05/1.375, allocations: 13.12 kB / 0.962 GB, free: 110.8 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004301/1.379, allocations: 3.634 MB / 0.9656 GB, free: 108.5 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.282e-05/1.379, allocations: 0 / 0.9656 GB, free: 108.5 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002229/1.381, allocations: 0.4979 MB / 0.9661 GB, free: 108.4 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008418/1.39, allocations: 2.869 MB / 0.9689 GB, free: 107.1 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004632/1.39, allocations: 51 kB / 0.9689 GB, free: 107 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03018/1.42, allocations: 17.11 MB / 0.9856 GB, free: 92.2 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.857e-06/1.42, allocations: 3.984 kB / 0.9856 GB, free: 92.2 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01522/1.436, allocations: 6.522 MB / 0.992 GB, free: 85.64 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002153/1.438, allocations: 0.6973 MB / 0.9927 GB, free: 84.93 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006589/1.439, allocations: 48 kB / 0.9927 GB, free: 84.88 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002874/1.441, allocations: 411.5 kB / 0.9931 GB, free: 84.48 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001146/1.443, allocations: 366.6 kB / 0.9935 GB, free: 84.12 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001841/1.443, allocations: 67.97 kB / 0.9936 GB, free: 84.05 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.001922/1.445, allocations: 1.517 MB / 0.995 GB, free: 82.54 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.6e-07/1.445, allocations: 0.6562 kB / 0.995 GB, free: 82.54 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.003323/1.448, allocations: 1.043 MB / 0.9961 GB, free: 81.49 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 (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.0003578/1.448, allocations: 175 kB / 0.9962 GB, free: 81.31 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.01972/1.468, allocations: 6.812 MB / 1.003 GB, free: 74.4 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.199e-05/1.468, allocations: 0 / 1.003 GB, free: 74.4 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.01519/1.483, allocations: 4.225 MB / 1.007 GB, free: 70.16 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006102/1.49, allocations: 1.047 MB / 1.008 GB, free: 69.15 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01529/1.505, allocations: 7.926 MB / 1.016 GB, free: 61.19 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001638/1.507, allocations: 2.234 MB / 1.018 GB, free: 58.93 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001282/1.508, allocations: 191.4 kB / 1.018 GB, free: 58.74 MB / 0.7325 GB Notification: Performance of SimCode: time 9.42e-07/1.508, allocations: 1.422 kB / 1.018 GB, free: 58.74 MB / 0.7325 GB Notification: Performance of Templates: time 0.1084/1.616, allocations: 79.68 MB / 1.096 GB, free: 11.38 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++ 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.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