Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Electrical.DC.Lines.Examples.RCModel.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.RCModel,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sen_ss.I|sen_dyn.I|RC_ss.Vc|RC_dyn.Vc",fileNamePrefix="Buildings_9_Buildings.Electrical.DC.Lines.Examples.RCModel") translateModel(Buildings.Electrical.DC.Lines.Examples.RCModel,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sen_ss.I|sen_dyn.I|RC_ss.Vc|RC_dyn.Vc",fileNamePrefix="Buildings_9_Buildings.Electrical.DC.Lines.Examples.RCModel") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008589/0.0008589, allocations: 102 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.0009405/0.0009405, allocations: 175.1 kB / 16.58 MB, free: 6.09 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.476/1.476, allocations: 223.2 MB / 240.6 MB, free: 5.426 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.547/2.547, allocations: 390.4 MB / 0.6662 GB, free: 2.852 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.00053/0.0005303, allocations: 12 kB / 0.8154 GB, free: 14.16 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9153/0.9158, allocations: 142.3 MB / 0.9544 GB, free: 8.094 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.RCModel): time 0.004531/0.9204, allocations: 3.829 MB / 0.9581 GB, free: 5.16 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.002728/0.9232, allocations: 1.741 MB / 0.9598 GB, free: 3.781 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002369/0.9235, allocations: 14.62 kB / 0.9599 GB, free: 3.773 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0002468/0.9237, allocations: 69.42 kB / 0.9599 GB, free: 3.715 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0005114/0.9242, allocations: 202.4 kB / 0.9601 GB, free: 3.559 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005377/0.9248, allocations: 189.2 kB / 0.9603 GB, free: 3.418 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0006457/0.9254, allocations: 0.6816 MB / 0.961 GB, free: 3.016 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000469/0.9259, allocations: 384.7 kB / 0.9613 GB, free: 2.719 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00025/0.9262, allocations: 202.7 kB / 0.9615 GB, free: 2.617 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004681/0.9267, allocations: 252.9 kB / 0.9618 GB, free: 2.477 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 5.698e-05/0.9267, allocations: 20.06 kB / 0.9618 GB, free: 2.477 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003435/0.9271, allocations: 118.6 kB / 0.9619 GB, free: 2.43 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0001426/0.9272, allocations: 133.2 kB / 0.962 GB, free: 2.344 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001053/0.9273, allocations: 97.8 kB / 0.9621 GB, free: 2.281 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0005361/0.9279, allocations: 456.2 kB / 0.9626 GB, free: 1.988 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 1.212e-05/0.9279, allocations: 0.9062 kB / 0.9626 GB, free: 1.988 MB / 0.7169 GB Notification: Performance of FrontEnd: time 3.457e-06/0.9279, allocations: 0 / 0.9626 GB, free: 1.988 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 8.336e-06/0.9279, allocations: 0 / 0.9626 GB, free: 1.988 MB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 91 * Number of variables: 91 Notification: Performance of Generate backend data structure: time 0.001234/0.9292, allocations: 0.6714 MB / 0.9632 GB, free: 1.41 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.507e-05/0.9292, allocations: 12.41 kB / 0.9632 GB, free: 1.406 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009628/0.9302, allocations: 146 kB / 0.9634 GB, free: 1.348 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004568/0.9307, allocations: 320.2 kB / 0.9637 GB, free: 1.055 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.11e-05/0.9307, allocations: 26.88 kB / 0.9637 GB, free: 1.039 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.6e-05/0.9308, allocations: 37.58 kB / 0.9637 GB, free: 1.023 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008933/0.9317, allocations: 0.5251 MB / 0.9642 GB, free: 0.668 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.68e-05/0.9317, allocations: 3.938 kB / 0.9642 GB, free: 0.6641 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.742e-05/0.9318, allocations: 24.59 kB / 0.9643 GB, free: 0.6445 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.214e-05/0.9318, allocations: 32.33 kB / 0.9643 GB, free: 0.6367 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006395/0.9325, allocations: 383.8 kB / 0.9647 GB, free: 464 kB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003649/0.9361, allocations: 2.417 MB / 0.967 GB, free: 14.18 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000653/0.9368, allocations: 259 kB / 0.9673 GB, free: 14.04 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001873/0.937, allocations: 110.3 kB / 0.9674 GB, free: 13.98 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 1.737e-05/0.937, allocations: 1.969 kB / 0.9674 GB, free: 13.98 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.624e-05/0.9371, allocations: 40.86 kB / 0.9674 GB, free: 13.93 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=20): time 5.44e-06/0.9371, allocations: 0 / 0.9674 GB, free: 13.93 MB / 0.7325 GB Notification: Performance of matching and sorting (n=23): time 0.002531/0.9396, allocations: 1.128 MB / 0.9685 GB, free: 13.08 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.592e-05/0.9397, allocations: 54.59 kB / 0.9686 GB, free: 13.02 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003932/0.9401, allocations: 297.9 kB / 0.9689 GB, free: 12.81 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.994e-05/0.9401, allocations: 30.73 kB / 0.9689 GB, free: 12.77 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001613/0.9403, allocations: 225.6 kB / 0.9691 GB, free: 12.57 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 7.661e-05/0.9404, allocations: 85.61 kB / 0.9692 GB, free: 12.5 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.501e-05/0.9404, allocations: 4.844 kB / 0.9692 GB, free: 12.49 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0002396/0.9407, allocations: 350 kB / 0.9695 GB, free: 12.15 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001926/0.9409, allocations: 99.7 kB / 0.9696 GB, free: 12.1 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003669/0.9412, allocations: 187.2 kB / 0.9698 GB, free: 11.94 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002481/0.9415, allocations: 135.5 kB / 0.9699 GB, free: 11.87 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.765e-06/0.9415, allocations: 1 kB / 0.9699 GB, free: 11.87 MB / 0.7325 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0009096/0.9424, allocations: 441.1 kB / 0.9703 GB, free: 11.62 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.315e-05/0.9424, allocations: 8.062 kB / 0.9704 GB, free: 11.62 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.626e-06/0.9425, allocations: 2.438 kB / 0.9704 GB, free: 11.62 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003732/0.9428, allocations: 99.89 kB / 0.9705 GB, free: 11.56 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002896/0.9431, allocations: 64.62 kB / 0.9705 GB, free: 11.54 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003529/0.9467, allocations: 4.064 MB / 0.9745 GB, free: 7.391 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003247/0.947, allocations: 16.66 kB / 0.9745 GB, free: 7.379 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.365e-05/0.947, allocations: 9.844 kB / 0.9745 GB, free: 7.379 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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 (34): * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 1,(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002916/0.9473, allocations: 186 kB / 0.9747 GB, free: 7.215 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.201e-05/0.9474, allocations: 35.48 kB / 0.9747 GB, free: 7.195 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.392e-05/0.9475, allocations: 41.88 kB / 0.9748 GB, free: 7.164 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.845e-06/0.9475, allocations: 2.625 kB / 0.9748 GB, free: 7.164 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.148e-05/0.9475, allocations: 2.531 kB / 0.9748 GB, free: 7.164 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.246e-06/0.9476, allocations: 0 / 0.9748 GB, free: 7.164 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005756/0.9481, allocations: 400.6 kB / 0.9751 GB, free: 6.824 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.198e-06/0.9482, allocations: 5.375 kB / 0.9751 GB, free: 6.82 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000194/0.9484, allocations: 33.42 kB / 0.9752 GB, free: 6.812 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003038/0.9487, allocations: 94.95 kB / 0.9753 GB, free: 6.75 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.946e-05/0.9487, allocations: 5.719 kB / 0.9753 GB, free: 6.746 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00341/0.9521, allocations: 4.069 MB / 0.9793 GB, free: 2.59 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/0.9521, allocations: 0 / 0.9793 GB, free: 2.59 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00098/0.9531, allocations: 0.5643 MB / 0.9798 GB, free: 2.207 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001876/0.9533, allocations: 116.9 kB / 0.9799 GB, free: 2.09 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.333e-05/0.9534, allocations: 9.047 kB / 0.9799 GB, free: 2.082 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002116/0.9536, allocations: 11.19 kB / 0.9799 GB, free: 2.078 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.807e-05/0.9537, allocations: 15.94 kB / 0.9799 GB, free: 2.07 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.976e-05/0.9537, allocations: 9.219 kB / 0.98 GB, free: 2.066 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0002957/0.954, allocations: 203.8 kB / 0.9802 GB, free: 1.93 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.3e-07/0.954, allocations: 4 kB / 0.9802 GB, free: 1.926 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0006594/0.9547, allocations: 99.84 kB / 0.9803 GB, free: 1.914 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (RC_dyn.Vc) * 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): 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 1,(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001794/0.9548, allocations: 111.6 kB / 0.9804 GB, free: 1.816 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0009812/0.9558, allocations: 0.6001 MB / 0.9809 GB, free: 1.344 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.146e-06/0.9559, allocations: 1.031 kB / 0.9809 GB, free: 1.344 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0005485/0.9564, allocations: 475.4 kB / 0.9814 GB, free: 0.9297 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005222/0.9569, allocations: 68.48 kB / 0.9815 GB, free: 0.8945 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001518/0.9585, allocations: 0.9191 MB / 0.9824 GB, free: 208 kB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005204/0.959, allocations: 0.8306 MB / 0.9832 GB, free: 15.44 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.382e-05/0.9591, allocations: 25.31 kB / 0.9832 GB, free: 15.43 MB / 0.7481 GB Notification: Performance of SimCode: time 5.42e-07/0.9591, allocations: 0 / 0.9832 GB, free: 15.43 MB / 0.7481 GB Notification: Performance of Templates: time 0.01282/0.9719, allocations: 8.638 MB / 0.9916 GB, free: 8.32 MB / 0.7481 GB make -j1 -f Buildings_9_Buildings.Electrical.DC.Lines.Examples.RCModel.makefile make -j1 -f Buildings_9_Buildings.Electrical.DC.Lines.Examples.RCModel.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.RCModelCalcHelperMain.o OMCppBuildings_9_Buildings.Electrical.DC.Lines.Examples.RCModelCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_9_Buildings.Electrical.DC.Lines.Examples.RCModelCalcHelperMain.o] Error 1