Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/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_9_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_9_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.001001/0.001001, allocations: 99.59 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.001382/0.001382, allocations: 173.2 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.496/1.496, allocations: 223.2 MB / 240.6 MB, free: 5.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.589/2.589, allocations: 390.5 MB / 0.6662 GB, free: 2.883 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.000352/0.0003521, allocations: 8 kB / 0.8154 GB, free: 14.18 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9173/0.9177, allocations: 142.3 MB / 0.9544 GB, free: 8.09 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized): time 0.02311/0.9408, allocations: 20.43 MB / 0.9744 GB, free: 8.473 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.02766/0.9685, allocations: 16.41 MB / 0.9904 GB, free: 11.23 MB / 0.7481 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004587/0.9732, allocations: 99.44 kB / 0.9905 GB, free: 11.14 MB / 0.7481 GB Notification: Performance of NFTyping.typeComponents: time 0.002601/0.9758, allocations: 0.5657 MB / 0.991 GB, free: 10.57 MB / 0.7481 GB Notification: Performance of NFTyping.typeBindings: time 0.01251/0.9883, allocations: 2.86 MB / 0.9938 GB, free: 7.707 MB / 0.7481 GB Notification: Performance of NFTyping.typeClassSections: time 0.004086/0.9924, allocations: 0.9606 MB / 0.9948 GB, free: 6.75 MB / 0.7481 GB Notification: Performance of NFFlatten.flatten: time 0.01068/1.003, allocations: 5.925 MB / 1.001 GB, free: 0.8047 MB / 0.7481 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0043/1.007, allocations: 2.067 MB / 1.003 GB, free: 14.67 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004815/1.012, allocations: 1.969 MB / 1.004 GB, free: 12.7 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005252/1.018, allocations: 2.207 MB / 1.007 GB, free: 10.48 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 0.0008598/1.018, allocations: 176 kB / 1.007 GB, free: 10.31 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002369/1.021, allocations: 0.5033 MB / 1.007 GB, free: 9.805 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 0.00124/1.022, allocations: 0.9575 MB / 1.008 GB, free: 8.844 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 0.001474/1.024, allocations: 0.6912 MB / 1.009 GB, free: 8.145 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.004983/1.029, allocations: 3.927 MB / 1.013 GB, free: 4.207 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 5.741e-06/1.029, allocations: 4 kB / 1.013 GB, free: 4.203 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.934e-06/1.029, allocations: 0 / 1.013 GB, free: 4.203 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 0.0001108/1.029, allocations: 0 / 1.013 GB, free: 4.203 MB / 0.7637 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.009067/1.038, allocations: 4.115 MB / 1.017 GB, free: 15.97 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.158e-05/1.038, allocations: 8.031 kB / 1.017 GB, free: 15.96 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0148/1.053, allocations: 3.362 MB / 1.02 GB, free: 12.6 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004906/1.058, allocations: 1.991 MB / 1.022 GB, free: 10.54 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004482/1.058, allocations: 469.7 kB / 1.022 GB, free: 10.02 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005741/1.059, allocations: 235.9 kB / 1.023 GB, free: 9.785 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01145/1.07, allocations: 4.857 MB / 1.027 GB, free: 4.781 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.14e-05/1.07, allocations: 0 / 1.027 GB, free: 4.781 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003185/1.071, allocations: 112 kB / 1.028 GB, free: 4.672 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002074/1.071, allocations: 172.8 kB / 1.028 GB, free: 4.5 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01287/1.084, allocations: 5.3 MB / 1.033 GB, free: 15.18 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02362/1.107, allocations: 14.58 MB / 1.047 GB, free: 15.43 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009263/1.117, allocations: 3.672 MB / 1.051 GB, free: 11.75 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003648/1.12, allocations: 1.588 MB / 1.052 GB, free: 10.16 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000141/1.12, allocations: 29.17 kB / 1.052 GB, free: 10.13 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004091/1.125, allocations: 1.907 MB / 1.054 GB, free: 8.156 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=163): time 4.198e-06/1.125, allocations: 0 / 1.054 GB, free: 8.156 MB / 0.8106 GB Notification: Performance of matching and sorting (n=250): time 0.1185/1.243, allocations: 34.1 MB / 1.087 GB, free: 5.84 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003715/1.243, allocations: 0.4928 MB / 1.088 GB, free: 5.234 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003542/1.247, allocations: 2.269 MB / 1.09 GB, free: 2.953 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 0.0004232/1.247, allocations: 73.7 kB / 1.09 GB, free: 2.875 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.001333/1.249, allocations: 1.438 MB / 1.092 GB, free: 1.422 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 0.001031/1.25, allocations: 0.8163 MB / 1.092 GB, free: 0.5938 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000198/1.25, allocations: 48 kB / 1.092 GB, free: 0.5469 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0003345/1.25, allocations: 398.7 kB / 1.093 GB, free: 156 kB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004991/1.255, allocations: 2.108 MB / 1.095 GB, free: 14.04 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005331/1.261, allocations: 2.403 MB / 1.097 GB, free: 11.55 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005239/1.266, allocations: 2.296 MB / 1.099 GB, free: 9.203 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.107e-06/1.266, allocations: 0 / 1.099 GB, free: 9.203 MB / 0.8575 GB Notification: Performance of matching and sorting (n=299) (initialization): time 0.01823/1.284, allocations: 6.88 MB / 1.106 GB, free: 2.227 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001266/1.284, allocations: 149.8 kB / 1.106 GB, free: 2.051 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.78e-05/1.284, allocations: 4 kB / 1.106 GB, free: 2.047 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009597/1.294, allocations: 2.95 MB / 1.109 GB, free: 15.09 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002863/1.297, allocations: 0.5734 MB / 1.11 GB, free: 14.52 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03606/1.333, allocations: 17.31 MB / 1.127 GB, free: 12.96 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003931/1.337, allocations: 419.6 kB / 1.127 GB, free: 12.55 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004214/1.337, allocations: 84.08 kB / 1.127 GB, free: 12.47 MB / 0.8887 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.001665/1.339, allocations: 0.712 MB / 1.128 GB, free: 11.75 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000737/1.34, allocations: 336.1 kB / 1.128 GB, free: 11.41 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008222/1.341, allocations: 384.1 kB / 1.129 GB, free: 11.03 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.752e-05/1.341, allocations: 24 kB / 1.129 GB, free: 11.01 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.518e-05/1.341, allocations: 12 kB / 1.129 GB, free: 11 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.954e-05/1.341, allocations: 11.95 kB / 1.129 GB, free: 10.98 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005105/1.346, allocations: 3.624 MB / 1.132 GB, free: 7.305 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.123e-05/1.346, allocations: 0 / 1.132 GB, free: 7.305 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002411/1.348, allocations: 0.5033 MB / 1.133 GB, free: 6.801 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.009262/1.358, allocations: 2.868 MB / 1.135 GB, free: 3.926 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004626/1.358, allocations: 51.97 kB / 1.135 GB, free: 3.875 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03457/1.393, allocations: 17.12 MB / 1.152 GB, free: 2.48 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.555e-06/1.393, allocations: 0 / 1.152 GB, free: 2.48 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01678/1.41, allocations: 6.529 MB / 1.159 GB, free: 11.91 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002049/1.412, allocations: 0.7 MB / 1.159 GB, free: 11.19 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006791/1.412, allocations: 48 kB / 1.159 GB, free: 11.14 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003029/1.415, allocations: 415.5 kB / 1.16 GB, free: 10.74 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001204/1.417, allocations: 366.6 kB / 1.16 GB, free: 10.38 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002144/1.417, allocations: 67.97 kB / 1.16 GB, free: 10.32 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.002339/1.419, allocations: 1.505 MB / 1.162 GB, free: 8.812 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.2e-07/1.419, allocations: 0 / 1.162 GB, free: 8.812 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.004848/1.424, allocations: 1.047 MB / 1.163 GB, free: 7.766 MB / 0.92 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.0006137/1.425, allocations: 170.8 kB / 1.163 GB, free: 7.586 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.02221/1.447, allocations: 6.829 MB / 1.169 GB, free: 0.6602 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 1.025e-05/1.447, allocations: 4 kB / 1.169 GB, free: 0.6562 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.01603/1.463, allocations: 4.226 MB / 1.174 GB, free: 12.41 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005418/1.469, allocations: 1.045 MB / 1.175 GB, free: 11.37 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0165/1.485, allocations: 7.93 MB / 1.182 GB, free: 3.41 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003081/1.488, allocations: 2.238 MB / 1.185 GB, free: 1.141 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001825/1.49, allocations: 187.4 kB / 1.185 GB, free: 0.957 MB / 0.9356 GB Notification: Performance of SimCode: time 1.823e-06/1.49, allocations: 0 / 1.185 GB, free: 0.957 MB / 0.9356 GB Notification: Performance of Templates: time 0.7818/2.272, allocations: 79.67 MB / 1.262 GB, free: 264.9 MB / 0.9981 GB make -j1 -f Buildings_9_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.makefile make -j1 -f Buildings_9_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_9_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearizedCalcHelperMain.o OMCppBuildings_9_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearizedCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_9_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearizedCalcHelperMain.o] Error 1