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.000933/0.000933, allocations: 102.5 kB / 15.71 MB, free: 440 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.00103/0.001031, allocations: 173.4 kB / 16.58 MB, free: 6.074 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.781/1.781, allocations: 205.4 MB / 222.8 MB, free: 5.641 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.818/1.818, allocations: 292.7 MB / 0.5505 GB, free: 14.52 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.0005385/0.0005386, allocations: 17.84 kB / 0.6744 GB, free: 26.43 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3388/0.3394, allocations: 116.3 MB / 0.7879 GB, free: 11.93 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad): time 0.004295/0.3437, allocations: 2.665 MB / 0.7905 GB, free: 9.246 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0032/0.347, allocations: 1.803 MB / 0.7923 GB, free: 7.434 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00015/0.3472, allocations: 8 kB / 0.7923 GB, free: 7.426 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0001983/0.3474, allocations: 31.72 kB / 0.7923 GB, free: 7.395 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0005186/0.3479, allocations: 143.3 kB / 0.7925 GB, free: 7.254 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005507/0.3485, allocations: 167.5 kB / 0.7926 GB, free: 7.09 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0004426/0.3489, allocations: 374.8 kB / 0.793 GB, free: 6.723 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006258/0.3496, allocations: 302.2 kB / 0.7933 GB, free: 6.41 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001629/0.3497, allocations: 103.6 kB / 0.7934 GB, free: 6.309 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003695/0.3501, allocations: 139.5 kB / 0.7935 GB, free: 6.172 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 3.066e-05/0.3501, allocations: 12 kB / 0.7935 GB, free: 6.16 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004161/0.3506, allocations: 255.6 kB / 0.7938 GB, free: 5.91 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 8.766e-05/0.3507, allocations: 75.78 kB / 0.7938 GB, free: 5.836 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 9.309e-05/0.3508, allocations: 65.58 kB / 0.7939 GB, free: 5.766 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0004508/0.3512, allocations: 359.1 kB / 0.7942 GB, free: 5.414 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 6.142e-06/0.3512, allocations: 3.938 kB / 0.7942 GB, free: 5.41 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.533e-06/0.3512, allocations: 0 / 0.7942 GB, free: 5.41 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.031e-06/0.3513, allocations: 0 / 0.7942 GB, free: 5.41 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.0009755/0.3522, allocations: 0.5145 MB / 0.7947 GB, free: 4.844 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.455e-05/0.3523, allocations: 19.95 kB / 0.7948 GB, free: 4.824 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007848/0.3531, allocations: 123.5 kB / 0.7949 GB, free: 4.703 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003492/0.3534, allocations: 250.6 kB / 0.7951 GB, free: 4.418 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.62e-05/0.3535, allocations: 12.44 kB / 0.7951 GB, free: 4.406 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.653e-05/0.3535, allocations: 16 kB / 0.7951 GB, free: 4.391 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005703/0.3541, allocations: 352.9 kB / 0.7955 GB, free: 4.023 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.305e-05/0.3541, allocations: 4 kB / 0.7955 GB, free: 4.02 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.132e-05/0.3541, allocations: 12 kB / 0.7955 GB, free: 4.008 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.215e-05/0.3542, allocations: 28.39 kB / 0.7955 GB, free: 3.98 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004882/0.3547, allocations: 293.5 kB / 0.7958 GB, free: 3.691 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002488/0.3572, allocations: 1.749 MB / 0.7975 GB, free: 1.777 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004801/0.3577, allocations: 317 kB / 0.7978 GB, free: 1.434 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00016/0.3579, allocations: 105.7 kB / 0.7979 GB, free: 1.324 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001145/0.358, allocations: 89.11 kB / 0.798 GB, free: 1.219 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.181e-05/0.358, allocations: 34.55 kB / 0.798 GB, free: 1.176 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=16): time 1.322e-06/0.358, allocations: 0 / 0.798 GB, free: 1.176 MB / 0.6075 GB Notification: Performance of matching and sorting (n=23): time 0.002558/0.3606, allocations: 0.9673 MB / 0.799 GB, free: 176 kB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.94e-05/0.3607, allocations: 85.3 kB / 0.7991 GB, free: 72 kB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002403/0.361, allocations: 211.8 kB / 0.7993 GB, free: 15.85 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 2.945e-05/0.361, allocations: 29.7 kB / 0.7993 GB, free: 15.82 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001186/0.3611, allocations: 172 kB / 0.7994 GB, free: 15.64 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 7.262e-05/0.3612, allocations: 82.84 kB / 0.7995 GB, free: 15.56 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.607e-05/0.3612, allocations: 4 kB / 0.7995 GB, free: 15.55 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001651/0.3614, allocations: 330.8 kB / 0.7998 GB, free: 15.22 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002023/0.3616, allocations: 131.9 kB / 0.8 GB, free: 15.09 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002695/0.3619, allocations: 221.7 kB / 0.8002 GB, free: 14.84 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002411/0.3621, allocations: 163.9 kB / 0.8003 GB, free: 14.69 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.433e-06/0.3621, allocations: 0 / 0.8003 GB, free: 14.69 MB / 0.6231 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001028/0.3632, allocations: 0.5045 MB / 0.8008 GB, free: 14.16 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.127e-05/0.3632, allocations: 11.98 kB / 0.8008 GB, free: 14.15 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.197e-06/0.3632, allocations: 4 kB / 0.8008 GB, free: 14.15 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005132/0.3637, allocations: 143.3 kB / 0.801 GB, free: 14 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003831/0.3641, allocations: 64 kB / 0.801 GB, free: 13.93 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003637/0.3678, allocations: 3.961 MB / 0.8049 GB, free: 9.656 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001804/0.368, allocations: 19.98 kB / 0.8049 GB, free: 9.637 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.675e-05/0.368, allocations: 16.08 kB / 0.8049 GB, free: 9.621 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 (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 2 {1 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0002119/0.3682, allocations: 165.8 kB / 0.8051 GB, free: 9.449 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.611e-05/0.3683, allocations: 19.81 kB / 0.8051 GB, free: 9.43 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001033/0.3693, allocations: 484.1 kB / 0.8056 GB, free: 8.945 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.23e-06/0.3694, allocations: 4 kB / 0.8056 GB, free: 8.941 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.916e-06/0.3694, allocations: 0 / 0.8056 GB, free: 8.941 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.138e-06/0.3694, allocations: 0 / 0.8056 GB, free: 8.941 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001631/0.371, allocations: 1.008 MB / 0.8066 GB, free: 7.84 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.356e-06/0.371, allocations: 4 kB / 0.8066 GB, free: 7.836 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002076/0.3712, allocations: 27.98 kB / 0.8066 GB, free: 7.809 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004014/0.3717, allocations: 147.5 kB / 0.8067 GB, free: 7.652 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.319e-05/0.3717, allocations: 8 kB / 0.8068 GB, free: 7.645 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003105/0.3748, allocations: 3.949 MB / 0.8106 GB, free: 3.375 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.258e-06/0.3748, allocations: 4.031 kB / 0.8106 GB, free: 3.371 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008635/0.3757, allocations: 0.6299 MB / 0.8112 GB, free: 2.688 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001493/0.3759, allocations: 124.9 kB / 0.8113 GB, free: 2.547 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.735e-05/0.3759, allocations: 11.95 kB / 0.8114 GB, free: 2.535 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002181/0.3761, allocations: 15.98 kB / 0.8114 GB, free: 2.52 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.485e-05/0.3762, allocations: 27.91 kB / 0.8114 GB, free: 2.492 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.145e-05/0.3762, allocations: 12 kB / 0.8114 GB, free: 2.48 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.000202/0.3764, allocations: 156.2 kB / 0.8116 GB, free: 2.328 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3764, allocations: 0 / 0.8116 GB, free: 2.328 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0005835/0.377, allocations: 84 kB / 0.8116 GB, free: 2.246 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 (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 2 {1 1,1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002568/0.3773, allocations: 135.2 kB / 0.8118 GB, free: 2.102 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0009103/0.3782, allocations: 0.5688 MB / 0.8123 GB, free: 1.508 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 4.008e-06/0.3782, allocations: 0.625 kB / 0.8123 GB, free: 1.508 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0005031/0.3787, allocations: 401.2 kB / 0.8127 GB, free: 1.09 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000515/0.3793, allocations: 46.98 kB / 0.8128 GB, free: 1.047 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001239/0.3805, allocations: 0.7803 MB / 0.8135 GB, free: 220 kB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004324/0.381, allocations: 0.7833 MB / 0.8143 GB, free: 15.4 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.255e-05/0.381, allocations: 23.38 kB / 0.8143 GB, free: 15.38 MB / 0.6387 GB Notification: Performance of SimCode: time 2.51e-07/0.381, allocations: 3.938 kB / 0.8143 GB, free: 15.38 MB / 0.6387 GB Notification: Performance of Templates: time 0.01104/0.3921, allocations: 7.587 MB / 0.8217 GB, free: 7.785 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++ 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_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