Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Electrical.DC.Lines.Examples.DCLinesLinearized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.DC.Lines.Examples.DCLinesLinearized") translateModel(BuildingSystems.Electrical.DC.Lines.Examples.DCLinesLinearized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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.0009414/0.0009414, allocations: 98.88 kB / 16.02 MB, free: 76 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.00103/0.00103, allocations: 185.3 kB / 16.92 MB, free: 6.773 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.333/1.333, allocations: 223.3 MB / 241 MB, free: 5.359 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001678/0.001678, allocations: 262.9 kB / 292.3 MB, free: 1.902 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9344/0.9344, allocations: 169.5 MB / 0.501 GB, free: 14.12 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004062/0.0004062, allocations: 15.84 kB / 0.5993 GB, free: 28.24 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1835/0.1839, allocations: 88.54 MB / 0.6858 GB, free: 15.1 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.DC.Lines.Examples.DCLinesLinearized): time 0.02281/0.2068, allocations: 21.68 MB / 0.7069 GB, free: 9.34 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.02435/0.2312, allocations: 17.38 MB / 0.7239 GB, free: 7.93 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003799/0.235, allocations: 99.44 kB / 0.724 GB, free: 7.832 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.003058/0.2381, allocations: 0.5814 MB / 0.7246 GB, free: 7.246 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.01186/0.25, allocations: 3.214 MB / 0.7277 GB, free: 4.039 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.003723/0.2538, allocations: 1.182 MB / 0.7289 GB, free: 2.859 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.01092/0.2647, allocations: 7.054 MB / 0.7358 GB, free: 11.79 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005142/0.2699, allocations: 2.554 MB / 0.7383 GB, free: 9.137 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004689/0.2746, allocations: 2.05 MB / 0.7403 GB, free: 7.078 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004897/0.2795, allocations: 2.288 MB / 0.7425 GB, free: 4.781 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.001253/0.2808, allocations: 176 kB / 0.7427 GB, free: 4.609 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003244/0.284, allocations: 1.061 MB / 0.7437 GB, free: 3.547 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.002242/0.2863, allocations: 0.9769 MB / 0.7447 GB, free: 2.566 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.004351/0.2907, allocations: 1.781 MB / 0.7464 GB, free: 0.7695 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.005975/0.2966, allocations: 3.962 MB / 0.7503 GB, free: 12.79 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.08e-06/0.2967, allocations: 0 / 0.7503 GB, free: 12.79 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.084e-06/0.2967, allocations: 0 / 0.7503 GB, free: 12.79 MB / 0.545 GB Notification: Performance of Transformations before backend: time 0.0002176/0.2969, allocations: 0 / 0.7503 GB, free: 12.79 MB / 0.545 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.009613/0.3065, allocations: 4.068 MB / 0.7542 GB, free: 8.617 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.19e-05/0.3066, allocations: 12.03 kB / 0.7542 GB, free: 8.605 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01643/0.323, allocations: 3.367 MB / 0.7575 GB, free: 5.23 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004173/0.3272, allocations: 2.088 MB / 0.7596 GB, free: 3.074 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004753/0.3277, allocations: 462.3 kB / 0.76 GB, free: 2.559 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005233/0.3283, allocations: 239.9 kB / 0.7602 GB, free: 2.324 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01096/0.3392, allocations: 4.877 MB / 0.765 GB, free: 13.3 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.805e-05/0.3393, allocations: 7.938 kB / 0.765 GB, free: 13.29 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003115/0.3396, allocations: 107.9 kB / 0.7651 GB, free: 13.19 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001881/0.3398, allocations: 172.8 kB / 0.7653 GB, free: 13.02 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01357/0.3534, allocations: 5.312 MB / 0.7705 GB, free: 7.688 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3645/0.7179, allocations: 14.59 MB / 0.7847 GB, free: 80.78 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01021/0.7282, allocations: 3.692 MB / 0.7883 GB, free: 80.11 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003818/0.732, allocations: 1.587 MB / 0.7899 GB, free: 79.66 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001083/0.7322, allocations: 26.8 kB / 0.7899 GB, free: 79.66 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004348/0.7365, allocations: 1.921 MB / 0.7918 GB, free: 79.05 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=163): time 3.346e-06/0.7365, allocations: 0 / 0.7918 GB, free: 79.05 MB / 0.5606 GB Notification: Performance of matching and sorting (n=250): time 0.1342/0.8707, allocations: 34.13 MB / 0.8251 GB, free: 63.8 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001654/0.8709, allocations: 0.4896 MB / 0.8256 GB, free: 63.2 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003645/0.8746, allocations: 2.3 MB / 0.8278 GB, free: 60.89 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0005209/0.8751, allocations: 77.7 kB / 0.8279 GB, free: 60.8 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.001118/0.8763, allocations: 1.43 MB / 0.8293 GB, free: 59.36 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008493/0.8771, allocations: 0.8203 MB / 0.8301 GB, free: 58.55 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004654/0.8776, allocations: 194.3 kB / 0.8303 GB, free: 58.36 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 4.989e-05/0.8777, allocations: 305 kB / 0.8306 GB, free: 58.06 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004995/0.8827, allocations: 2.116 MB / 0.8326 GB, free: 55.94 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005099/0.8878, allocations: 2.411 MB / 0.835 GB, free: 53.44 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009776/0.8976, allocations: 4.544 MB / 0.8394 GB, free: 48.77 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.117e-06/0.8976, allocations: 0 / 0.8394 GB, free: 48.77 MB / 0.5606 GB Notification: Performance of matching and sorting (n=299) (initialization): time 0.01693/0.9145, allocations: 6.915 MB / 0.8462 GB, free: 41.76 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 7.183e-05/0.9146, allocations: 148.5 kB / 0.8463 GB, free: 41.59 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.83e-05/0.9147, allocations: 8 kB / 0.8463 GB, free: 41.58 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008911/0.9236, allocations: 2.926 MB / 0.8492 GB, free: 38.65 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002651/0.9262, allocations: 0.5773 MB / 0.8498 GB, free: 38.07 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03368/0.9599, allocations: 17.37 MB / 0.8667 GB, free: 20.52 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004298/0.9643, allocations: 423.5 kB / 0.8671 GB, free: 20.11 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004676/0.9648, allocations: 87.98 kB / 0.8672 GB, free: 20.02 MB / 0.5606 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.001691/0.9665, allocations: 0.7012 MB / 0.8679 GB, free: 19.31 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007873/0.9673, allocations: 335.2 kB / 0.8682 GB, free: 18.98 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008652/0.9681, allocations: 384.1 kB / 0.8686 GB, free: 18.6 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.458e-05/0.9682, allocations: 24 kB / 0.8686 GB, free: 18.57 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.174e-05/0.9682, allocations: 19.88 kB / 0.8686 GB, free: 18.55 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.277e-05/0.9682, allocations: 11.95 kB / 0.8686 GB, free: 18.54 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004379/0.9726, allocations: 3.626 MB / 0.8722 GB, free: 14.91 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.425e-05/0.9727, allocations: 0 / 0.8722 GB, free: 14.91 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002446/0.9751, allocations: 0.4955 MB / 0.8726 GB, free: 14.42 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008789/0.9839, allocations: 2.871 MB / 0.8755 GB, free: 11.54 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004169/0.9844, allocations: 47.97 kB / 0.8755 GB, free: 11.49 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03492/1.019, allocations: 17.15 MB / 0.8923 GB, free: 10.08 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.347e-06/1.019, allocations: 0 / 0.8923 GB, free: 10.08 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02001/1.039, allocations: 6.554 MB / 0.8987 GB, free: 3.488 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001839/1.041, allocations: 0.6999 MB / 0.8993 GB, free: 2.766 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009288/1.042, allocations: 44 kB / 0.8994 GB, free: 2.723 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003841/1.046, allocations: 415.5 kB / 0.8998 GB, free: 2.316 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001309/1.047, allocations: 346.7 kB / 0.9001 GB, free: 1.98 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003242/1.048, allocations: 71.97 kB / 0.9002 GB, free: 1.91 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.002883/1.051, allocations: 1.532 MB / 0.9017 GB, free: 388 kB / 0.5762 GB Notification: Performance of sort global known variables: time 2.255e-06/1.051, allocations: 4 kB / 0.9017 GB, free: 384 kB / 0.5762 GB Notification: Performance of remove unused functions: time 0.003623/1.054, allocations: 1.047 MB / 0.9027 GB, free: 15.32 MB / 0.5919 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.0004824/1.055, allocations: 167.8 kB / 0.9029 GB, free: 15.16 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.02377/1.079, allocations: 6.833 MB / 0.9095 GB, free: 8.227 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 9.578e-06/1.079, allocations: 8.25 kB / 0.9095 GB, free: 8.219 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.01811/1.097, allocations: 4.224 MB / 0.9137 GB, free: 3.973 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006755/1.104, allocations: 1.056 MB / 0.9147 GB, free: 2.945 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01733/1.121, allocations: 8.32 MB / 0.9228 GB, free: 10.59 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002588/1.124, allocations: 2.227 MB / 0.925 GB, free: 8.336 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001228/1.125, allocations: 191.4 kB / 0.9252 GB, free: 8.148 MB / 0.6075 GB Notification: Performance of SimCode: time 6.81e-07/1.125, allocations: 4 kB / 0.9252 GB, free: 8.145 MB / 0.6075 GB Notification: Performance of Templates: time 0.1052/1.23, allocations: 79.55 MB / 1.003 GB, free: 8.914 MB / 0.6856 GB make -j1 -f BuildingSystems_BuildingSystems.Electrical.DC.Lines.Examples.DCLinesLinearized.makefile make -j1 -f BuildingSystems_BuildingSystems.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 OMCppBuildingSystems_BuildingSystems.Electrical.DC.Lines.Examples.DCLinesLinearizedCalcHelperMain.o OMCppBuildingSystems_BuildingSystems.Electrical.DC.Lines.Examples.DCLinesLinearizedCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildingSystems_BuildingSystems.Electrical.DC.Lines.Examples.DCLinesLinearizedCalcHelperMain.o] Error 1