Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.DC.Loads.Examples.VariableLoad.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.VariableLoad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|loa1.i.1.|loa2.i.1.|loa3.i.1.",fileNamePrefix="Buildings_latest_Buildings.Electrical.DC.Loads.Examples.VariableLoad") translateModel(Buildings.Electrical.DC.Loads.Examples.VariableLoad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|loa1.i.1.|loa2.i.1.|loa3.i.1.",fileNamePrefix="Buildings_latest_Buildings.Electrical.DC.Loads.Examples.VariableLoad") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008153/0.0008151, 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.001065/0.001065, allocations: 177.2 kB / 16.58 MB, free: 6.879 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.442/1.442, allocations: 223.2 MB / 240.6 MB, free: 5.262 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.744/2.744, allocations: 436.7 MB / 0.7113 GB, free: 7.781 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003762/0.0003763, allocations: 8 kB / 0.8717 GB, free: 4.738 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8225/0.8229, allocations: 153.7 MB / 1.022 GB, free: 1.086 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Loads.Examples.VariableLoad): time 0.006175/0.8292, allocations: 3.386 MB / 1.025 GB, free: 13.69 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.003637/0.8328, allocations: 1.653 MB / 1.027 GB, free: 12.03 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002217/0.8331, allocations: 8 kB / 1.027 GB, free: 12.02 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0002781/0.8334, allocations: 63.48 kB / 1.027 GB, free: 11.96 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0006174/0.834, allocations: 183.1 kB / 1.027 GB, free: 11.78 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007485/0.8348, allocations: 199.7 kB / 1.027 GB, free: 11.58 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0008779/0.8357, allocations: 0.5685 MB / 1.028 GB, free: 11.01 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005746/0.8363, allocations: 328.3 kB / 1.028 GB, free: 10.66 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002987/0.8366, allocations: 167.3 kB / 1.028 GB, free: 10.5 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005117/0.8371, allocations: 215.2 kB / 1.028 GB, free: 10.29 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 5.724e-05/0.8372, allocations: 16 kB / 1.028 GB, free: 10.27 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003011/0.8375, allocations: 83.88 kB / 1.028 GB, free: 10.19 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0001759/0.8377, allocations: 119.6 kB / 1.029 GB, free: 10.07 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001058/0.8378, allocations: 85.52 kB / 1.029 GB, free: 9.98 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0005621/0.8384, allocations: 365 kB / 1.029 GB, free: 9.625 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.939e-06/0.8384, allocations: 0 / 1.029 GB, free: 9.625 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.713e-06/0.8384, allocations: 0 / 1.029 GB, free: 9.625 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 6.122e-06/0.8384, allocations: 0 / 1.029 GB, free: 9.625 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: 82 * Number of variables: 82 Notification: Performance of Generate backend data structure: time 0.0014/0.8398, allocations: 0.6059 MB / 1.03 GB, free: 8.973 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.993e-05/0.8399, allocations: 11.98 kB / 1.03 GB, free: 8.961 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008487/0.8407, allocations: 83.47 kB / 1.03 GB, free: 8.879 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005359/0.8413, allocations: 286.4 kB / 1.03 GB, free: 8.559 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.959e-05/0.8413, allocations: 28.59 kB / 1.03 GB, free: 8.531 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.066e-05/0.8414, allocations: 27.98 kB / 1.03 GB, free: 8.504 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00123/0.8427, allocations: 497.8 kB / 1.03 GB, free: 7.988 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.713e-05/0.8427, allocations: 0 / 1.03 GB, free: 7.988 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.223e-05/0.8427, allocations: 15.98 kB / 1.03 GB, free: 7.973 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.564e-05/0.8429, allocations: 36.62 kB / 1.03 GB, free: 7.934 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001151/0.844, allocations: 390.2 kB / 1.031 GB, free: 7.555 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003047/0.8471, allocations: 2.041 MB / 1.033 GB, free: 5.312 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007567/0.8479, allocations: 222.6 kB / 1.033 GB, free: 5.086 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005382/0.8484, allocations: 176.8 kB / 1.033 GB, free: 4.91 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 3.071e-05/0.8485, allocations: 3.984 kB / 1.033 GB, free: 4.906 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.105e-05/0.8485, allocations: 38.56 kB / 1.033 GB, free: 4.859 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=18): time 2.064e-06/0.8485, allocations: 0 / 1.033 GB, free: 4.859 MB / 0.7794 GB Notification: Performance of matching and sorting (n=18): time 0.001568/0.8501, allocations: 456.9 kB / 1.034 GB, free: 4.387 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.563e-05/0.8501, allocations: 55.41 kB / 1.034 GB, free: 4.32 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003968/0.8505, allocations: 254.6 kB / 1.034 GB, free: 4.062 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 3.516e-05/0.8506, allocations: 37.7 kB / 1.034 GB, free: 4.02 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001831/0.8508, allocations: 203.7 kB / 1.034 GB, free: 3.816 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 8.189e-05/0.8509, allocations: 75.09 kB / 1.034 GB, free: 3.742 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.873e-05/0.8509, allocations: 4 kB / 1.034 GB, free: 3.738 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001639/0.8511, allocations: 330.8 kB / 1.035 GB, free: 3.406 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000386/0.8515, allocations: 100.5 kB / 1.035 GB, free: 3.305 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000486/0.852, allocations: 215.5 kB / 1.035 GB, free: 3.043 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004571/0.8524, allocations: 135.9 kB / 1.035 GB, free: 2.91 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.134e-06/0.8525, allocations: 7.891 kB / 1.035 GB, free: 2.902 MB / 0.7794 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0012/0.8537, allocations: 375.3 kB / 1.035 GB, free: 2.527 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002488/0.8539, allocations: 189.9 kB / 1.036 GB, free: 2.289 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.186e-06/0.854, allocations: 7.938 kB / 1.036 GB, free: 2.281 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002398/0.8542, allocations: 36.78 kB / 1.036 GB, free: 2.242 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003912/0.8546, allocations: 71.89 kB / 1.036 GB, free: 2.172 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001657/0.8563, allocations: 1.336 MB / 1.037 GB, free: 0.7031 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003699/0.8567, allocations: 51.66 kB / 1.037 GB, free: 0.6523 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.33e-05/0.8567, allocations: 12 kB / 1.037 GB, free: 0.6406 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 9.238e-06/0.8567, allocations: 4 kB / 1.037 GB, free: 0.6367 MB / 0.7794 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009294/0.8577, allocations: 303.7 kB / 1.037 GB, free: 348 kB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.847e-06/0.8577, allocations: 4 kB / 1.037 GB, free: 344 kB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.627e-05/0.8578, allocations: 7.938 kB / 1.037 GB, free: 336 kB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003939/0.8582, allocations: 71.89 kB / 1.037 GB, free: 264 kB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.091e-05/0.8582, allocations: 8 kB / 1.037 GB, free: 256 kB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003153/0.8585, allocations: 47.86 kB / 1.037 GB, free: 208 kB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.806e-05/0.8586, allocations: 15.98 kB / 1.038 GB, free: 192 kB / 0.7794 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (32): * Single equations (assignments): 31 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0003626/0.8589, allocations: 253 kB / 1.038 GB, free: 15.93 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.745e-05/0.859, allocations: 23.72 kB / 1.038 GB, free: 15.9 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.229e-05/0.8591, allocations: 30.12 kB / 1.038 GB, free: 15.88 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.33e-06/0.8591, allocations: 4 kB / 1.038 GB, free: 15.88 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.338e-06/0.8591, allocations: 0 / 1.038 GB, free: 15.88 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.106e-06/0.8592, allocations: 7.984 kB / 1.038 GB, free: 15.87 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001686/0.8609, allocations: 0.767 MB / 1.039 GB, free: 15.02 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.406e-06/0.8609, allocations: 0 / 1.039 GB, free: 15.02 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002773/0.8612, allocations: 47.97 kB / 1.039 GB, free: 14.98 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002391/0.8614, allocations: 32.83 kB / 1.039 GB, free: 14.94 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.054e-05/0.8615, allocations: 4 kB / 1.039 GB, free: 14.94 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001719/0.8632, allocations: 1.319 MB / 1.04 GB, free: 13.49 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.196e-06/0.8632, allocations: 0 / 1.04 GB, free: 13.49 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007349/0.864, allocations: 393.6 kB / 1.04 GB, free: 13.08 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001158/0.8641, allocations: 120.7 kB / 1.04 GB, free: 12.94 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.963e-05/0.8641, allocations: 11.94 kB / 1.04 GB, free: 12.93 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001725/0.8643, allocations: 15.98 kB / 1.04 GB, free: 12.91 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.911e-05/0.8644, allocations: 23.92 kB / 1.04 GB, free: 12.89 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.325e-05/0.8644, allocations: 4 kB / 1.04 GB, free: 12.89 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.0001791/0.8646, allocations: 190 kB / 1.041 GB, free: 12.7 MB / 0.795 GB Notification: Performance of sort global known variables: time 2.3e-07/0.8646, allocations: 0 / 1.041 GB, free: 12.7 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0006598/0.8652, allocations: 139.5 kB / 1.041 GB, free: 12.57 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 (18): * Single equations (assignments): 17 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001247/0.8654, allocations: 103.2 kB / 1.041 GB, free: 12.46 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.001127/0.8665, allocations: 0.5052 MB / 1.041 GB, free: 11.94 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.8665, allocations: 1 kB / 1.041 GB, free: 11.94 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.000347/0.8669, allocations: 234.6 kB / 1.042 GB, free: 11.7 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004974/0.8674, allocations: 65.78 kB / 1.042 GB, free: 11.64 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001039/0.8684, allocations: 0.7047 MB / 1.042 GB, free: 10.89 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004627/0.8689, allocations: 0.7996 MB / 1.043 GB, free: 10.07 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.862e-05/0.869, allocations: 23.42 kB / 1.043 GB, free: 10.04 MB / 0.795 GB Notification: Performance of SimCode: time 2.31e-07/0.869, allocations: 0 / 1.043 GB, free: 10.04 MB / 0.795 GB Notification: Performance of Templates: time 0.007004/0.876, allocations: 4.738 MB / 1.048 GB, free: 5.316 MB / 0.795 GB make -j1 -f Buildings_latest_Buildings.Electrical.DC.Loads.Examples.VariableLoad.makefile make -j1 -f Buildings_latest_Buildings.Electrical.DC.Loads.Examples.VariableLoad.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.VariableLoadCalcHelperMain.o OMCppBuildings_latest_Buildings.Electrical.DC.Loads.Examples.VariableLoadCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_latest_Buildings.Electrical.DC.Loads.Examples.VariableLoadCalcHelperMain.o] Error 1