Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad.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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-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(Buildings.Electrical.DC.Loads.Examples.LinearizedLoad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|error|sen_nlin.I|sen_lin.I|sen_nlin.V|sen_lin.V|sen_nlin.P|sen_lin.P",fileNamePrefix="Buildings_latest_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad") translateModel(Buildings.Electrical.DC.Loads.Examples.LinearizedLoad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|error|sen_nlin.I|sen_lin.I|sen_nlin.V|sen_lin.V|sen_nlin.P|sen_lin.P",fileNamePrefix="Buildings_latest_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001117/0.001117, allocations: 103 kB / 15.71 MB, free: 460 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.00139/0.00139, allocations: 179 kB / 16.58 MB, free: 6.402 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.537/1.537, allocations: 223.2 MB / 240.6 MB, free: 5.43 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.866/2.866, allocations: 436.7 MB / 0.7113 GB, free: 7.875 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003483/0.0003483, allocations: 8 kB / 0.8717 GB, free: 4.809 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8402/0.8405, allocations: 153.7 MB / 1.022 GB, free: 1.301 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Loads.Examples.LinearizedLoad): time 0.005019/0.8456, allocations: 3.612 MB / 1.025 GB, free: 13.68 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.002849/0.8485, allocations: 1.489 MB / 1.027 GB, free: 12.18 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002247/0.8488, allocations: 4 kB / 1.027 GB, free: 12.18 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0002667/0.8491, allocations: 63.5 kB / 1.027 GB, free: 12.11 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.000506/0.8496, allocations: 187.1 kB / 1.027 GB, free: 11.93 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005413/0.8501, allocations: 163.7 kB / 1.027 GB, free: 11.77 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0006556/0.8508, allocations: 0.6231 MB / 1.028 GB, free: 11.14 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005056/0.8513, allocations: 389.7 kB / 1.028 GB, free: 10.73 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002318/0.8516, allocations: 179.3 kB / 1.028 GB, free: 10.55 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000437/0.852, allocations: 239.2 kB / 1.028 GB, free: 10.32 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 4.861e-05/0.8521, allocations: 20 kB / 1.029 GB, free: 10.3 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000221/0.8523, allocations: 75.89 kB / 1.029 GB, free: 10.23 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0001467/0.8525, allocations: 131.6 kB / 1.029 GB, free: 10.1 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 9.02e-05/0.8526, allocations: 93.52 kB / 1.029 GB, free: 10 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0004535/0.853, allocations: 397 kB / 1.029 GB, free: 9.613 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 6.282e-06/0.853, allocations: 0 / 1.029 GB, free: 9.613 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.324e-06/0.853, allocations: 0 / 1.029 GB, free: 9.613 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 7.464e-06/0.853, allocations: 0 / 1.029 GB, free: 9.613 MB / 0.7794 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 90 * Number of variables: 90 Notification: Performance of Generate backend data structure: time 0.001168/0.8542, allocations: 0.6201 MB / 1.03 GB, free: 8.945 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.485e-05/0.8543, allocations: 11.98 kB / 1.03 GB, free: 8.934 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007196/0.855, allocations: 119.4 kB / 1.03 GB, free: 8.816 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004194/0.8554, allocations: 286.5 kB / 1.03 GB, free: 8.496 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.475e-05/0.8555, allocations: 62.58 kB / 1.03 GB, free: 8.426 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.559e-05/0.8556, allocations: 35.98 kB / 1.03 GB, free: 8.391 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008609/0.8565, allocations: 0.5008 MB / 1.031 GB, free: 7.871 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.253e-05/0.8565, allocations: 0 / 1.031 GB, free: 7.871 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.362e-05/0.8565, allocations: 12 kB / 1.031 GB, free: 7.859 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.063e-05/0.8566, allocations: 40.91 kB / 1.031 GB, free: 7.816 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006916/0.8573, allocations: 383.7 kB / 1.031 GB, free: 7.445 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002722/0.86, allocations: 2.224 MB / 1.033 GB, free: 4.988 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007783/0.8608, allocations: 258.6 kB / 1.034 GB, free: 4.727 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000396/0.8612, allocations: 156.8 kB / 1.034 GB, free: 4.57 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 4.509e-05/0.8613, allocations: 7.938 kB / 1.034 GB, free: 4.562 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.361e-05/0.8613, allocations: 46.5 kB / 1.034 GB, free: 4.508 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=19): time 3.406e-06/0.8614, allocations: 0 / 1.034 GB, free: 4.508 MB / 0.7794 GB Notification: Performance of matching and sorting (n=19): time 0.001661/0.863, allocations: 0.5807 MB / 1.034 GB, free: 3.879 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.184e-05/0.8631, allocations: 59.41 kB / 1.034 GB, free: 3.809 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002931/0.8634, allocations: 225 kB / 1.035 GB, free: 3.578 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 3.179e-05/0.8634, allocations: 29.7 kB / 1.035 GB, free: 3.543 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.000201/0.8637, allocations: 211.6 kB / 1.035 GB, free: 3.332 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 6.058e-05/0.8637, allocations: 59.11 kB / 1.035 GB, free: 3.273 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.47e-05/0.8637, allocations: 4 kB / 1.035 GB, free: 3.27 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0002014/0.864, allocations: 338.8 kB / 1.035 GB, free: 2.93 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002161/0.8642, allocations: 91.94 kB / 1.035 GB, free: 2.84 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003016/0.8645, allocations: 187.1 kB / 1.036 GB, free: 2.617 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000262/0.8648, allocations: 125.5 kB / 1.036 GB, free: 2.496 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.186e-06/0.8648, allocations: 0 / 1.036 GB, free: 2.496 MB / 0.7794 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0008601/0.8656, allocations: 378.9 kB / 1.036 GB, free: 2.113 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001765/0.8658, allocations: 165.6 kB / 1.036 GB, free: 1.914 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.048e-05/0.8659, allocations: 4 kB / 1.036 GB, free: 1.91 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005367/0.8664, allocations: 113.6 kB / 1.036 GB, free: 1.793 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000226/0.8666, allocations: 51.91 kB / 1.036 GB, free: 1.742 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003163/0.8698, allocations: 2.822 MB / 1.039 GB, free: 14.65 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002637/0.8701, allocations: 35.73 kB / 1.039 GB, free: 14.62 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.253e-05/0.8701, allocations: 8 kB / 1.039 GB, free: 14.61 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.282e-05/0.8701, allocations: 11.89 kB / 1.039 GB, free: 14.6 MB / 0.795 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007138/0.8709, allocations: 310.4 kB / 1.039 GB, free: 14.29 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.5e-06/0.8709, allocations: 4.312 kB / 1.039 GB, free: 14.29 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002774/0.8712, allocations: 76.78 kB / 1.039 GB, free: 14.21 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002148/0.8714, allocations: 63.91 kB / 1.04 GB, free: 14.15 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001744/0.8731, allocations: 1.5 MB / 1.041 GB, free: 12.52 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000238/0.8734, allocations: 35.89 kB / 1.041 GB, free: 12.48 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.91e-05/0.8734, allocations: 11.98 kB / 1.041 GB, free: 12.47 MB / 0.795 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (27): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * 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: 0 * Non-linear torn systems: 2 {1 1,1 2} Notification: Performance of prepare postOptimizeDAE: time 0.00031/0.8737, allocations: 253 kB / 1.041 GB, free: 12.21 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.344e-05/0.8738, allocations: 19.72 kB / 1.041 GB, free: 12.2 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.841e-05/0.8739, allocations: 34.17 kB / 1.041 GB, free: 12.16 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.894e-06/0.8739, allocations: 3.938 kB / 1.041 GB, free: 12.16 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.898e-06/0.8739, allocations: 0 / 1.041 GB, free: 12.16 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.757e-06/0.8739, allocations: 0 / 1.041 GB, free: 12.16 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001368/0.8753, allocations: 0.8405 MB / 1.042 GB, free: 11.24 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.639e-06/0.8753, allocations: 4 kB / 1.042 GB, free: 11.23 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001496/0.8755, allocations: 35.97 kB / 1.042 GB, free: 11.2 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003573/0.8758, allocations: 113.6 kB / 1.042 GB, free: 11.08 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.796e-05/0.8759, allocations: 4 kB / 1.042 GB, free: 11.08 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002765/0.8786, allocations: 2.795 MB / 1.045 GB, free: 8.016 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.823e-06/0.8787, allocations: 0 / 1.045 GB, free: 8.016 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007918/0.8795, allocations: 432.3 kB / 1.045 GB, free: 7.566 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001232/0.8796, allocations: 112.8 kB / 1.046 GB, free: 7.438 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.735e-05/0.8796, allocations: 4 kB / 1.046 GB, free: 7.434 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001637/0.8798, allocations: 19.98 kB / 1.046 GB, free: 7.414 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.937e-05/0.8799, allocations: 19.97 kB / 1.046 GB, free: 7.395 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.63e-05/0.8799, allocations: 8 kB / 1.046 GB, free: 7.387 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.0001641/0.8801, allocations: 160.5 kB / 1.046 GB, free: 7.23 MB / 0.795 GB Notification: Performance of sort global known variables: time 2.3e-07/0.8801, allocations: 0 / 1.046 GB, free: 7.23 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0006883/0.8808, allocations: 171.3 kB / 1.046 GB, free: 7.062 MB / 0.795 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (17): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * 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: 0 * Non-linear torn systems: 2 {1 1,1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001438/0.8809, allocations: 103.2 kB / 1.046 GB, free: 6.949 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.001791/0.8827, allocations: 0.7678 MB / 1.047 GB, free: 6.145 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 3.076e-06/0.8827, allocations: 0 / 1.047 GB, free: 6.145 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0007176/0.8835, allocations: 373.8 kB / 1.047 GB, free: 5.754 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004575/0.8839, allocations: 44.64 kB / 1.047 GB, free: 5.703 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001253/0.8852, allocations: 0.7596 MB / 1.048 GB, free: 4.906 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000436/0.8857, allocations: 0.8107 MB / 1.049 GB, free: 4.07 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.431e-05/0.8857, allocations: 19.44 kB / 1.049 GB, free: 4.055 MB / 0.795 GB Notification: Performance of SimCode: time 4.81e-07/0.8857, allocations: 0 / 1.049 GB, free: 4.055 MB / 0.795 GB Notification: Performance of Templates: time 0.009194/0.8949, allocations: 6.144 MB / 1.055 GB, free: 13.93 MB / 0.8106 GB make -j1 -f Buildings_latest_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad.makefile make -j1 -f Buildings_latest_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad.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_latest_Buildings.Electrical.DC.Loads.Examples.LinearizedLoadCalcHelperMain.o OMCppBuildings_latest_Buildings.Electrical.DC.Loads.Examples.LinearizedLoadCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_latest_Buildings.Electrical.DC.Loads.Examples.LinearizedLoadCalcHelperMain.o] Error 1