Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.DC.Lines.Examples.DCLines.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.DCLines,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.DC.Lines.Examples.DCLines") translateModel(Buildings.Electrical.DC.Lines.Examples.DCLines,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.DC.Lines.Examples.DCLines") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009176/0.0009175, allocations: 102.6 kB / 15.71 MB, free: 448 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.001492/0.001492, allocations: 177.3 kB / 16.58 MB, free: 6.879 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.843/1.843, allocations: 205.4 MB / 222.7 MB, free: 5.734 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.871/1.871, allocations: 292.7 MB / 0.5505 GB, free: 14.57 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.0005619/0.0005619, allocations: 21.03 kB / 0.6744 GB, free: 26.21 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2986/0.2992, allocations: 116.3 MB / 0.7879 GB, free: 11.97 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.DCLines): time 0.02242/0.3217, allocations: 20.24 MB / 0.8077 GB, free: 7.664 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.0249/0.3467, allocations: 16.51 MB / 0.8238 GB, free: 7.113 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004106/0.3508, allocations: 99.44 kB / 0.8239 GB, free: 7.016 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.002869/0.3537, allocations: 0.5658 MB / 0.8245 GB, free: 6.445 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.01143/0.3652, allocations: 2.856 MB / 0.8272 GB, free: 3.586 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.004295/0.3695, allocations: 0.9664 MB / 0.8282 GB, free: 2.621 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.01062/0.3801, allocations: 5.76 MB / 0.8338 GB, free: 12.84 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003976/0.3841, allocations: 2.024 MB / 0.8358 GB, free: 10.75 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004671/0.3888, allocations: 1.864 MB / 0.8376 GB, free: 8.883 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005306/0.3942, allocations: 2.175 MB / 0.8397 GB, free: 6.699 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0008365/0.395, allocations: 164 kB / 0.8399 GB, free: 6.539 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002252/0.3973, allocations: 499.4 kB / 0.8404 GB, free: 6.051 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.001114/0.3984, allocations: 0.9225 MB / 0.8413 GB, free: 5.125 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.001357/0.3998, allocations: 0.6873 MB / 0.8419 GB, free: 4.43 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.004571/0.4044, allocations: 3.826 MB / 0.8457 GB, free: 0.5938 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 7.464e-06/0.4044, allocations: 0 / 0.8457 GB, free: 0.5938 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.525e-06/0.4044, allocations: 0 / 0.8457 GB, free: 0.5938 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 0.0001016/0.4045, allocations: 0 / 0.8457 GB, free: 0.5938 MB / 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.008275/0.4128, allocations: 3.885 MB / 0.8495 GB, free: 12.6 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 5.216e-05/0.4129, allocations: 8.031 kB / 0.8495 GB, free: 12.59 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01462/0.4275, allocations: 3.358 MB / 0.8528 GB, free: 9.223 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005125/0.4327, allocations: 1.96 MB / 0.8547 GB, free: 7.195 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001739/0.4329, allocations: 180.7 kB / 0.8548 GB, free: 7.016 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004842/0.4333, allocations: 236 kB / 0.8551 GB, free: 6.785 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01026/0.4436, allocations: 4.717 MB / 0.8597 GB, free: 1.926 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.364e-05/0.4437, allocations: 3.938 kB / 0.8597 GB, free: 1.922 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003049/0.444, allocations: 108 kB / 0.8598 GB, free: 1.816 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00022/0.4442, allocations: 172.8 kB / 0.8599 GB, free: 1.645 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0124/0.4566, allocations: 5.222 MB / 0.865 GB, free: 12.41 MB / 0.6856 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02253/0.4792, allocations: 14.13 MB / 0.8788 GB, free: 13.11 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01006/0.4893, allocations: 3.841 MB / 0.8826 GB, free: 9.262 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003646/0.493, allocations: 1.502 MB / 0.8841 GB, free: 7.762 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001443/0.4932, allocations: 33.23 kB / 0.8841 GB, free: 7.73 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004472/0.4976, allocations: 1.829 MB / 0.8859 GB, free: 5.832 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=163): time 5.421e-06/0.4977, allocations: 0 / 0.8859 GB, free: 5.832 MB / 0.7012 GB Notification: Performance of matching and sorting (n=250): time 0.1109/0.6086, allocations: 33.37 MB / 0.9185 GB, free: 4.234 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002695/0.6089, allocations: 0.4889 MB / 0.9189 GB, free: 3.633 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003493/0.6124, allocations: 2.285 MB / 0.9212 GB, free: 1.336 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.000472/0.6129, allocations: 73.7 kB / 0.9212 GB, free: 1.258 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.682/1.295, allocations: 1.43 MB / 0.9226 GB, free: 126.3 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.001612/1.297, allocations: 0.821 MB / 0.9234 GB, free: 126.1 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000228/1.297, allocations: 47.53 kB / 0.9235 GB, free: 126.1 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0002275/1.297, allocations: 396.6 kB / 0.9239 GB, free: 125.8 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006196/1.303, allocations: 1.918 MB / 0.9257 GB, free: 125.8 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005745/1.309, allocations: 2.226 MB / 0.9279 GB, free: 125.6 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004577/1.314, allocations: 2.13 MB / 0.93 GB, free: 125.4 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.096e-06/1.314, allocations: 0 / 0.93 GB, free: 125.4 MB / 0.7325 GB Notification: Performance of matching and sorting (n=299) (initialization): time 0.01586/1.33, allocations: 6.169 MB / 0.936 GB, free: 123.4 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 0.000303/1.33, allocations: 411.7 kB / 0.9364 GB, free: 122.9 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.449e-05/1.33, allocations: 3.844 kB / 0.9364 GB, free: 122.9 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007446/1.337, allocations: 1.847 MB / 0.9382 GB, free: 122.6 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003245/1.341, allocations: 0.588 MB / 0.9388 GB, free: 122.5 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0289/1.37, allocations: 14.15 MB / 0.9526 GB, free: 115 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0043/1.374, allocations: 405.1 kB / 0.953 GB, free: 114.9 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003704/1.374, allocations: 88.47 kB / 0.9531 GB, free: 114.9 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.513e-05/1.374, allocations: 4.719 kB / 0.9531 GB, free: 114.9 MB / 0.7325 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01371/1.388, allocations: 5.762 MB / 0.9587 GB, free: 113 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.252e-05/1.388, allocations: 8.156 kB / 0.9587 GB, free: 113 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004676/1.393, allocations: 1.821 MB / 0.9605 GB, free: 112.6 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002901/1.396, allocations: 0.6052 MB / 0.9611 GB, free: 112.5 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01803/1.414, allocations: 13.44 MB / 0.9742 GB, free: 103.6 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004188/1.418, allocations: 403.5 kB / 0.9746 GB, free: 103.4 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002384/1.418, allocations: 91.53 kB / 0.9747 GB, free: 103.4 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 (172): * Single equations (assignments): 165 * 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 {10 52} Notification: Performance of prepare postOptimizeDAE: time 0.001788/1.42, allocations: 0.7793 MB / 0.9754 GB, free: 102.7 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004592/1.421, allocations: 332 kB / 0.9758 GB, free: 102.4 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007077/1.421, allocations: 392.1 kB / 0.9761 GB, free: 102 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.804e-05/1.421, allocations: 25.55 kB / 0.9762 GB, free: 102 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.703e-05/1.421, allocations: 18 kB / 0.9762 GB, free: 102 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.772e-05/1.421, allocations: 11.95 kB / 0.9762 GB, free: 102 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003457/1.425, allocations: 3.168 MB / 0.9793 GB, free: 98.81 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.526e-06/1.425, allocations: 0 / 0.9793 GB, free: 98.81 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00213/1.427, allocations: 0.511 MB / 0.9798 GB, free: 98.3 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004818/1.432, allocations: 1.716 MB / 0.9815 GB, free: 96.58 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000216/1.432, allocations: 51.97 kB / 0.9815 GB, free: 96.53 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01721/1.449, allocations: 13.94 MB / 0.9951 GB, free: 82.33 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.464e-06/1.449, allocations: 4 kB / 0.9951 GB, free: 82.32 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0126/1.462, allocations: 5.785 MB / 1.001 GB, free: 76.5 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001894/1.464, allocations: 0.6647 MB / 1.001 GB, free: 75.82 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005232/1.464, allocations: 47.98 kB / 1.001 GB, free: 75.77 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002551/1.467, allocations: 399.6 kB / 1.002 GB, free: 75.38 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009092/1.468, allocations: 306.6 kB / 1.002 GB, free: 75.08 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001671/1.468, allocations: 67.97 kB / 1.002 GB, free: 75.02 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.001943/1.47, allocations: 1.509 MB / 1.004 GB, free: 73.51 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.3e-07/1.47, allocations: 0 / 1.004 GB, free: 73.51 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.00448/1.474, allocations: 1.625 MB / 1.005 GB, free: 71.88 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 (128): * Single equations (assignments): 116 * 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 52} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003281/1.475, allocations: 167.9 kB / 1.005 GB, free: 71.71 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.01975/1.495, allocations: 10.07 MB / 1.015 GB, free: 61.46 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.002e-05/1.495, allocations: 4.25 kB / 1.015 GB, free: 61.46 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.006987/1.502, allocations: 3.484 MB / 1.019 GB, free: 57.95 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00479/1.506, allocations: 1.049 MB / 1.02 GB, free: 56.93 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01313/1.52, allocations: 7.767 MB / 1.027 GB, free: 49.15 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001819/1.522, allocations: 2.308 MB / 1.03 GB, free: 46.8 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001261/1.523, allocations: 203.4 kB / 1.03 GB, free: 46.61 MB / 0.7325 GB Notification: Performance of SimCode: time 7.81e-07/1.523, allocations: 0 / 1.03 GB, free: 46.61 MB / 0.7325 GB Notification: Performance of Templates: time 0.1105/1.633, allocations: 79.73 MB / 1.108 GB, free: 15.2 MB / 0.7794 GB make -j1 -f Buildings_8_Buildings.Electrical.DC.Lines.Examples.DCLines.makefile make -j1 -f Buildings_8_Buildings.Electrical.DC.Lines.Examples.DCLines.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.DCLinesCalcHelperMain.o OMCppBuildings_8_Buildings.Electrical.DC.Lines.Examples.DCLinesCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_8_Buildings.Electrical.DC.Lines.Examples.DCLinesCalcHelperMain.o] Error 1