Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.AC.OnePhase.Examples.GridDCLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad") translateModel(Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009867/0.0009871, allocations: 92.16 kB / 16.02 MB, free: 80 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.001457/0.001457, allocations: 182.8 kB / 16.92 MB, free: 6.922 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.821/1.821, allocations: 205.4 MB / 223.1 MB, free: 5.516 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.968/1.968, allocations: 292.7 MB / 0.5509 GB, free: 14.45 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005763/0.0005764, allocations: 15.78 kB / 0.675 GB, free: 25.71 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3063/0.3069, allocations: 116.3 MB / 0.7885 GB, free: 11.58 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad): time 0.003778/0.3107, allocations: 2.757 MB / 0.7912 GB, free: 8.809 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.003003/0.3138, allocations: 1.93 MB / 0.7931 GB, free: 6.867 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001197/0.3139, allocations: 3.938 kB / 0.7931 GB, free: 6.863 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0001756/0.3141, allocations: 31.78 kB / 0.7931 GB, free: 6.832 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0005045/0.3146, allocations: 183.2 kB / 0.7933 GB, free: 6.652 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005063/0.3151, allocations: 210.8 kB / 0.7935 GB, free: 6.449 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0004663/0.3156, allocations: 454.7 kB / 0.794 GB, free: 6.004 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006299/0.3162, allocations: 326.2 kB / 0.7943 GB, free: 5.664 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001647/0.3164, allocations: 111.5 kB / 0.7944 GB, free: 5.555 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002834/0.3167, allocations: 147.4 kB / 0.7945 GB, free: 5.41 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.698e-05/0.3167, allocations: 8 kB / 0.7945 GB, free: 5.402 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006522/0.3174, allocations: 471.1 kB / 0.795 GB, free: 4.941 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 8.941e-05/0.3175, allocations: 75.78 kB / 0.795 GB, free: 4.867 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001201/0.3176, allocations: 129.1 kB / 0.7952 GB, free: 4.734 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.000427/0.3181, allocations: 363.2 kB / 0.7955 GB, free: 4.379 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 7.524e-06/0.3181, allocations: 4 kB / 0.7955 GB, free: 4.375 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.502e-06/0.3181, allocations: 3.938 kB / 0.7955 GB, free: 4.371 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.421e-06/0.3181, allocations: 0 / 0.7955 GB, free: 4.371 MB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 55 * Number of variables: 55 Notification: Performance of Generate backend data structure: time 0.0008309/0.3189, allocations: 0.5224 MB / 0.796 GB, free: 3.797 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.78e-05/0.319, allocations: 8.031 kB / 0.796 GB, free: 3.789 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008391/0.3198, allocations: 108.5 kB / 0.7961 GB, free: 3.684 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003385/0.3202, allocations: 263.8 kB / 0.7964 GB, free: 3.387 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.299e-05/0.3202, allocations: 16.8 kB / 0.7964 GB, free: 3.371 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.072e-05/0.3203, allocations: 16.38 kB / 0.7964 GB, free: 3.355 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006003/0.3209, allocations: 361 kB / 0.7968 GB, free: 2.98 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.105e-05/0.3209, allocations: 0 / 0.7968 GB, free: 2.98 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.959e-05/0.3209, allocations: 8 kB / 0.7968 GB, free: 2.973 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.373e-05/0.321, allocations: 28.42 kB / 0.7968 GB, free: 2.945 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004816/0.3215, allocations: 297.4 kB / 0.7971 GB, free: 2.652 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002306/0.3238, allocations: 1.733 MB / 0.7988 GB, free: 0.7539 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000496/0.3243, allocations: 330 kB / 0.7991 GB, free: 404 kB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001882/0.3245, allocations: 109.6 kB / 0.7992 GB, free: 288 kB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001189/0.3246, allocations: 89.36 kB / 0.7993 GB, free: 180 kB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.656e-05/0.3247, allocations: 38.56 kB / 0.7993 GB, free: 132 kB / 0.6075 GB Notification: Performance of pre-optimization done (n=16): time 2.094e-06/0.3247, allocations: 0 / 0.7993 GB, free: 132 kB / 0.6075 GB Notification: Performance of matching and sorting (n=23): time 0.002575/0.3272, allocations: 0.9678 MB / 0.8003 GB, free: 15.12 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.148e-05/0.3273, allocations: 89.03 kB / 0.8004 GB, free: 15.02 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002444/0.3276, allocations: 211.8 kB / 0.8006 GB, free: 14.8 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 2.89e-05/0.3276, allocations: 29.73 kB / 0.8006 GB, free: 14.76 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001294/0.3277, allocations: 168.1 kB / 0.8007 GB, free: 14.59 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 7.482e-05/0.3278, allocations: 86.75 kB / 0.8008 GB, free: 14.51 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.328e-05/0.3279, allocations: 29.7 kB / 0.8009 GB, free: 14.47 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001361/0.328, allocations: 330.8 kB / 0.8012 GB, free: 14.14 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002021/0.3282, allocations: 127.9 kB / 0.8013 GB, free: 14.02 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002617/0.3285, allocations: 221.7 kB / 0.8015 GB, free: 13.77 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004724/0.329, allocations: 365.2 kB / 0.8019 GB, free: 13.38 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.329, allocations: 0 / 0.8019 GB, free: 13.38 MB / 0.6231 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0008654/0.3299, allocations: 0.512 MB / 0.8024 GB, free: 12.85 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.746e-05/0.3299, allocations: 4 kB / 0.8024 GB, free: 12.84 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.047e-06/0.3299, allocations: 4 kB / 0.8024 GB, free: 12.84 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005265/0.3305, allocations: 147.6 kB / 0.8025 GB, free: 12.68 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002674/0.3307, allocations: 59.91 kB / 0.8026 GB, free: 12.62 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00326/0.334, allocations: 3.969 MB / 0.8064 GB, free: 8.34 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001962/0.3342, allocations: 24.08 kB / 0.8065 GB, free: 8.316 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.673e-05/0.3343, allocations: 15.98 kB / 0.8065 GB, free: 8.301 MB / 0.6231 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 (32): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0001862/0.3344, allocations: 153.8 kB / 0.8066 GB, free: 8.141 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.166e-05/0.3345, allocations: 23.81 kB / 0.8066 GB, free: 8.117 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009232/0.3355, allocations: 492.1 kB / 0.8071 GB, free: 7.625 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.347e-06/0.3355, allocations: 0 / 0.8071 GB, free: 7.625 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.665e-06/0.3355, allocations: 4 kB / 0.8071 GB, free: 7.621 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.31e-06/0.3355, allocations: 0 / 0.8071 GB, free: 7.621 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001615/0.3371, allocations: 1.014 MB / 0.8081 GB, free: 6.516 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.144e-06/0.3371, allocations: 4 kB / 0.8081 GB, free: 6.512 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001328/0.3373, allocations: 28.08 kB / 0.8081 GB, free: 6.484 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004249/0.3377, allocations: 151.2 kB / 0.8083 GB, free: 6.324 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.661e-05/0.3378, allocations: 16.12 kB / 0.8083 GB, free: 6.309 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003318/0.3411, allocations: 3.946 MB / 0.8121 GB, free: 2.043 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.811e-06/0.3411, allocations: 0 / 0.8121 GB, free: 2.043 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000971/0.3421, allocations: 0.6384 MB / 0.8128 GB, free: 1.352 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001457/0.3422, allocations: 128.7 kB / 0.8129 GB, free: 1.207 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.244e-05/0.3423, allocations: 12 kB / 0.8129 GB, free: 1.195 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002225/0.3425, allocations: 15.98 kB / 0.8129 GB, free: 1.18 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.911e-05/0.3426, allocations: 27.91 kB / 0.8129 GB, free: 1.152 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.894e-05/0.3426, allocations: 8 kB / 0.813 GB, free: 1.145 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0001963/0.3428, allocations: 161.5 kB / 0.8131 GB, free: 0.9883 MB / 0.6231 GB Notification: Performance of sort global known variables: time 9e-08/0.3428, allocations: 0 / 0.8131 GB, free: 0.9883 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0005919/0.3434, allocations: 91.94 kB / 0.8132 GB, free: 0.8984 MB / 0.6231 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * 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 (21): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,1), (1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003029/0.3437, allocations: 135.1 kB / 0.8133 GB, free: 0.7539 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.001045/0.3448, allocations: 0.5708 MB / 0.8139 GB, free: 164 kB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 4.969e-06/0.3448, allocations: 0 / 0.8139 GB, free: 164 kB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0005821/0.3454, allocations: 406.1 kB / 0.8143 GB, free: 15.74 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005953/0.346, allocations: 43.98 kB / 0.8143 GB, free: 15.7 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001301/0.3473, allocations: 0.7774 MB / 0.8151 GB, free: 14.86 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004693/0.3478, allocations: 0.783 MB / 0.8158 GB, free: 14.05 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.936e-05/0.3479, allocations: 27.42 kB / 0.8159 GB, free: 14.02 MB / 0.6387 GB Notification: Performance of SimCode: time 4.11e-07/0.3479, allocations: 0 / 0.8159 GB, free: 14.02 MB / 0.6387 GB Notification: Performance of Templates: time 0.0111/0.359, allocations: 7.568 MB / 0.8233 GB, free: 6.449 MB / 0.6387 GB make -j1 -f Buildings_8_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.makefile make -j1 -f Buildings_8_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.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 OMCppBuildings_8_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoadCalcHelperMain.o OMCppBuildings_8_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoadCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_8_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoadCalcHelperMain.o] Error 1