Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.DC.Loads.Examples.Resistor.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.Resistor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sen.I|sen1.I",fileNamePrefix="Buildings_latest_Buildings.Electrical.DC.Loads.Examples.Resistor") translateModel(Buildings.Electrical.DC.Loads.Examples.Resistor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sen.I|sen1.I",fileNamePrefix="Buildings_latest_Buildings.Electrical.DC.Loads.Examples.Resistor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000863/0.0008627, allocations: 100.5 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.001231/0.001231, allocations: 175.4 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.5/1.5, allocations: 223.3 MB / 240.6 MB, free: 5.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.871/2.871, allocations: 436.7 MB / 0.7113 GB, free: 7.902 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003656/0.0003656, allocations: 12 kB / 0.8717 GB, free: 4.785 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8957/0.8961, allocations: 153.7 MB / 1.022 GB, free: 1.129 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Loads.Examples.Resistor): time 0.004747/0.9009, allocations: 3.351 MB / 1.025 GB, free: 13.77 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.002563/0.9035, allocations: 1.633 MB / 1.027 GB, free: 12.12 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001758/0.9037, allocations: 7.938 kB / 1.027 GB, free: 12.12 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.000214/0.9039, allocations: 55.56 kB / 1.027 GB, free: 12.06 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0004586/0.9044, allocations: 175.1 kB / 1.027 GB, free: 11.89 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004636/0.9049, allocations: 158.5 kB / 1.027 GB, free: 11.74 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0005671/0.9055, allocations: 0.5257 MB / 1.027 GB, free: 11.21 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00041/0.9059, allocations: 293.1 kB / 1.028 GB, free: 10.9 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002045/0.9061, allocations: 159.4 kB / 1.028 GB, free: 10.75 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003722/0.9065, allocations: 199.3 kB / 1.028 GB, free: 10.55 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 3.741e-05/0.9065, allocations: 16 kB / 1.028 GB, free: 10.54 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002634/0.9068, allocations: 115.8 kB / 1.028 GB, free: 10.42 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0001102/0.9069, allocations: 107.7 kB / 1.028 GB, free: 10.32 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 7.917e-05/0.907, allocations: 81.58 kB / 1.028 GB, free: 10.23 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0004225/0.9074, allocations: 381 kB / 1.029 GB, free: 9.859 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 5.09e-06/0.9074, allocations: 0 / 1.029 GB, free: 9.859 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.723e-06/0.9075, allocations: 0 / 1.029 GB, free: 9.859 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 8.335e-06/0.9075, allocations: 0 / 1.029 GB, free: 9.859 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: 78 * Number of variables: 78 Notification: Performance of Generate backend data structure: time 0.0009147/0.9084, allocations: 0.5827 MB / 1.029 GB, free: 9.23 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.409e-05/0.9084, allocations: 11.98 kB / 1.029 GB, free: 9.219 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008662/0.9093, allocations: 139.4 kB / 1.029 GB, free: 9.082 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003685/0.9097, allocations: 278.5 kB / 1.03 GB, free: 8.77 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.426e-05/0.9097, allocations: 24.61 kB / 1.03 GB, free: 8.746 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.067e-05/0.9098, allocations: 31.98 kB / 1.03 GB, free: 8.715 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006868/0.9105, allocations: 455.6 kB / 1.03 GB, free: 8.234 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.433e-05/0.9105, allocations: 7.922 kB / 1.03 GB, free: 8.227 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.841e-05/0.9105, allocations: 15.98 kB / 1.03 GB, free: 8.211 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.188e-05/0.9106, allocations: 32.55 kB / 1.03 GB, free: 8.176 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004963/0.9111, allocations: 313.9 kB / 1.031 GB, free: 7.871 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002191/0.9133, allocations: 2.185 MB / 1.033 GB, free: 5.473 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003964/0.9137, allocations: 255.7 kB / 1.033 GB, free: 5.195 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002527/0.914, allocations: 108.8 kB / 1.033 GB, free: 5.086 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.39e-05/0.914, allocations: 8 kB / 1.033 GB, free: 5.078 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.397e-05/0.914, allocations: 38.55 kB / 1.033 GB, free: 5.031 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=14): time 1.633e-06/0.914, allocations: 3.938 kB / 1.033 GB, free: 5.027 MB / 0.7794 GB Notification: Performance of matching and sorting (n=14): time 0.0005929/0.9146, allocations: 299.5 kB / 1.033 GB, free: 4.707 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.335e-05/0.9147, allocations: 51.41 kB / 1.033 GB, free: 4.645 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002908/0.915, allocations: 274.5 kB / 1.034 GB, free: 4.371 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.167e-05/0.915, allocations: 29.7 kB / 1.034 GB, free: 4.336 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001362/0.9152, allocations: 203.8 kB / 1.034 GB, free: 4.129 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 3.715e-05/0.9152, allocations: 43.36 kB / 1.034 GB, free: 4.086 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.083e-05/0.9152, allocations: 4 kB / 1.034 GB, free: 4.082 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001326/0.9154, allocations: 338.8 kB / 1.034 GB, free: 3.742 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001153/0.9155, allocations: 52.44 kB / 1.034 GB, free: 3.688 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001609/0.9156, allocations: 152 kB / 1.034 GB, free: 3.5 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001367/0.9158, allocations: 83.92 kB / 1.035 GB, free: 3.418 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.9158, allocations: 0 / 1.035 GB, free: 3.418 MB / 0.7794 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0004274/0.9162, allocations: 266 kB / 1.035 GB, free: 3.148 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 2.084e-05/0.9163, allocations: 8 kB / 1.035 GB, free: 3.141 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.943e-06/0.9163, allocations: 0 / 1.035 GB, free: 3.141 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001482/0.9164, allocations: 28.84 kB / 1.035 GB, free: 3.109 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001793/0.9166, allocations: 43.92 kB / 1.035 GB, free: 3.066 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00108/0.9177, allocations: 1.327 MB / 1.036 GB, free: 1.609 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001537/0.9179, allocations: 23.69 kB / 1.036 GB, free: 1.586 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.67e-05/0.9179, allocations: 12 kB / 1.036 GB, free: 1.574 MB / 0.7794 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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): 26 * 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: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001755/0.9181, allocations: 173.8 kB / 1.036 GB, free: 1.395 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.969e-05/0.9181, allocations: 23.72 kB / 1.036 GB, free: 1.371 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.393e-05/0.9182, allocations: 33.83 kB / 1.036 GB, free: 1.336 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.613e-06/0.9182, allocations: 0 / 1.036 GB, free: 1.336 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.501e-05/0.9182, allocations: 4 kB / 1.036 GB, free: 1.332 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.527e-06/0.9182, allocations: 0 / 1.036 GB, free: 1.332 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009036/0.9191, allocations: 0.7063 MB / 1.037 GB, free: 0.5352 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.876e-06/0.9191, allocations: 0 / 1.037 GB, free: 0.5352 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.649e-05/0.9192, allocations: 23.95 kB / 1.037 GB, free: 0.5117 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.158e-05/0.9193, allocations: 29.03 kB / 1.037 GB, free: 492 kB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.958e-06/0.9193, allocations: 3.938 kB / 1.037 GB, free: 488 kB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009726/0.9203, allocations: 1.304 MB / 1.038 GB, free: 15.04 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.448e-06/0.9203, allocations: 7.969 kB / 1.038 GB, free: 15.03 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003497/0.9207, allocations: 327.7 kB / 1.039 GB, free: 14.68 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001057/0.9208, allocations: 120.7 kB / 1.039 GB, free: 14.54 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.963e-05/0.9209, allocations: 8 kB / 1.039 GB, free: 14.53 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001556/0.921, allocations: 12 kB / 1.039 GB, free: 14.52 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.555e-05/0.9211, allocations: 11.98 kB / 1.039 GB, free: 14.51 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.362e-05/0.9211, allocations: 7.984 kB / 1.039 GB, free: 14.5 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.0001746/0.9213, allocations: 190 kB / 1.039 GB, free: 14.32 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.2e-07/0.9213, allocations: 0 / 1.039 GB, free: 14.32 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0004112/0.9217, allocations: 79.75 kB / 1.039 GB, free: 14.24 MB / 0.795 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (14): * Single equations (assignments): 13 * 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: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000115/0.9218, allocations: 115.1 kB / 1.039 GB, free: 14.12 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0004311/0.9222, allocations: 266.5 kB / 1.04 GB, free: 13.84 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/0.9223, allocations: 4 kB / 1.04 GB, free: 13.84 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0002034/0.9225, allocations: 174.6 kB / 1.04 GB, free: 13.66 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00047/0.9229, allocations: 57.58 kB / 1.04 GB, free: 13.6 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009622/0.9239, allocations: 0.671 MB / 1.04 GB, free: 12.88 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003738/0.9243, allocations: 0.803 MB / 1.041 GB, free: 12.05 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.8e-05/0.9244, allocations: 19.44 kB / 1.041 GB, free: 12.03 MB / 0.795 GB Notification: Performance of SimCode: time 2.41e-07/0.9244, allocations: 0 / 1.041 GB, free: 12.03 MB / 0.795 GB Notification: Performance of Templates: time 0.00665/0.931, allocations: 4.367 MB / 1.046 GB, free: 7.668 MB / 0.795 GB make -j1 -f Buildings_latest_Buildings.Electrical.DC.Loads.Examples.Resistor.makefile make -j1 -f Buildings_latest_Buildings.Electrical.DC.Loads.Examples.Resistor.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.ResistorCalcHelperMain.o OMCppBuildings_latest_Buildings.Electrical.DC.Loads.Examples.ResistorCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_latest_Buildings.Electrical.DC.Loads.Examples.ResistorCalcHelperMain.o] Error 1