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.001695/0.001695, allocations: 96.14 kB / 15.87 MB, free: 16 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.002615/0.002615, allocations: 195.1 kB / 16.79 MB, free: 6.812 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.748/1.748, allocations: 205.1 MB / 222.6 MB, free: 4.996 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 2.007/2.007, allocations: 292.3 MB / 0.5491 GB, free: 13.67 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.001512/0.001512, allocations: 65.66 kB / 0.6715 GB, free: 26.49 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3919/0.3934, allocations: 114.6 MB / 0.7833 GB, free: 14.04 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad): time 0.005946/0.3994, allocations: 3.116 MB / 0.7864 GB, free: 10.9 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.003646/0.4031, allocations: 1.969 MB / 0.7883 GB, free: 8.918 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001712/0.4033, allocations: 7.938 kB / 0.7883 GB, free: 8.91 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0009325/0.4042, allocations: 255.1 kB / 0.7885 GB, free: 8.66 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0005079/0.4048, allocations: 183.3 kB / 0.7887 GB, free: 8.48 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006419/0.4055, allocations: 203.5 kB / 0.7889 GB, free: 8.281 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0005036/0.406, allocations: 454.7 kB / 0.7893 GB, free: 7.836 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004461/0.4064, allocations: 173.2 kB / 0.7895 GB, free: 7.664 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001892/0.4066, allocations: 111.5 kB / 0.7896 GB, free: 7.555 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003246/0.407, allocations: 151.5 kB / 0.7898 GB, free: 7.406 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 3.952e-05/0.407, allocations: 16 kB / 0.7898 GB, free: 7.391 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007411/0.4078, allocations: 463.1 kB / 0.7902 GB, free: 6.938 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001212/0.4079, allocations: 79.78 kB / 0.7903 GB, free: 6.859 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001424/0.408, allocations: 119.4 kB / 0.7904 GB, free: 6.742 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0004892/0.4085, allocations: 363.2 kB / 0.7908 GB, free: 6.387 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 7.955e-06/0.4086, allocations: 4 kB / 0.7908 GB, free: 6.383 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.885e-06/0.4086, allocations: 0 / 0.7908 GB, free: 6.383 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.472e-06/0.4086, allocations: 7.938 kB / 0.7908 GB, free: 6.375 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.001124/0.4097, allocations: 0.5536 MB / 0.7913 GB, free: 5.77 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 5.718e-05/0.4098, allocations: 8.031 kB / 0.7913 GB, free: 5.762 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008711/0.4107, allocations: 116.5 kB / 0.7914 GB, free: 5.648 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004154/0.4111, allocations: 262.9 kB / 0.7917 GB, free: 5.355 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.233e-05/0.4111, allocations: 12.81 kB / 0.7917 GB, free: 5.344 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.442e-05/0.4112, allocations: 32.3 kB / 0.7917 GB, free: 5.312 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006325/0.4118, allocations: 349 kB / 0.7921 GB, free: 4.949 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.468e-05/0.4118, allocations: 4 kB / 0.7921 GB, free: 4.945 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.431e-05/0.4119, allocations: 11.98 kB / 0.7921 GB, free: 4.934 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.998e-05/0.4119, allocations: 24.42 kB / 0.7921 GB, free: 4.91 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004909/0.4124, allocations: 301.4 kB / 0.7924 GB, free: 4.613 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002481/0.4149, allocations: 1.741 MB / 0.7941 GB, free: 2.707 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006321/0.4156, allocations: 318.1 kB / 0.7944 GB, free: 2.359 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001914/0.4158, allocations: 109.6 kB / 0.7945 GB, free: 2.246 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001532/0.4159, allocations: 85.39 kB / 0.7946 GB, free: 2.145 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.075e-05/0.416, allocations: 42.55 kB / 0.7946 GB, free: 2.094 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=16): time 1.312e-06/0.416, allocations: 0 / 0.7946 GB, free: 2.094 MB / 0.6075 GB Notification: Performance of matching and sorting (n=23): time 0.002736/0.4188, allocations: 0.9717 MB / 0.7956 GB, free: 1.086 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.08e-05/0.4188, allocations: 81.05 kB / 0.7956 GB, free: 0.9883 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002555/0.4191, allocations: 207.8 kB / 0.7958 GB, free: 0.7773 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 3.478e-05/0.4191, allocations: 33.7 kB / 0.7959 GB, free: 0.7383 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001416/0.4193, allocations: 172.1 kB / 0.796 GB, free: 0.5625 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 6.866e-05/0.4194, allocations: 74.84 kB / 0.7961 GB, free: 500 kB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001128/0.4195, allocations: 69.59 kB / 0.7962 GB, free: 424 kB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001847/0.4197, allocations: 326.8 kB / 0.7965 GB, free: 88 kB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002266/0.4199, allocations: 135.9 kB / 0.7966 GB, free: 15.95 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002693/0.4202, allocations: 209.8 kB / 0.7968 GB, free: 15.71 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005128/0.4207, allocations: 373.2 kB / 0.7972 GB, free: 15.32 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.452e-06/0.4207, allocations: 0 / 0.7972 GB, free: 15.32 MB / 0.6231 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0009496/0.4217, allocations: 0.5005 MB / 0.7977 GB, free: 14.8 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.806e-05/0.4217, allocations: 12.03 kB / 0.7977 GB, free: 14.79 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.799e-06/0.4217, allocations: 0 / 0.7977 GB, free: 14.79 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005522/0.4223, allocations: 155.4 kB / 0.7978 GB, free: 14.62 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002633/0.4226, allocations: 59.91 kB / 0.7979 GB, free: 14.57 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00363/0.4262, allocations: 3.973 MB / 0.8017 GB, free: 10.28 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000204/0.4264, allocations: 20.02 kB / 0.8018 GB, free: 10.26 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.516e-05/0.4265, allocations: 12 kB / 0.8018 GB, free: 10.25 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.0002097/0.4267, allocations: 165.8 kB / 0.8019 GB, free: 10.07 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.414e-05/0.4268, allocations: 15.81 kB / 0.802 GB, free: 10.06 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009173/0.4277, allocations: 480.2 kB / 0.8024 GB, free: 9.578 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.695e-06/0.4277, allocations: 4.094 kB / 0.8024 GB, free: 9.574 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.946e-06/0.4277, allocations: 7.938 kB / 0.8024 GB, free: 9.566 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.709e-06/0.4277, allocations: 0 / 0.8024 GB, free: 9.566 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001669/0.4294, allocations: 1.007 MB / 0.8034 GB, free: 8.465 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.954e-06/0.4294, allocations: 4 kB / 0.8034 GB, free: 8.461 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001326/0.4296, allocations: 27.98 kB / 0.8034 GB, free: 8.434 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004437/0.43, allocations: 155.5 kB / 0.8036 GB, free: 8.27 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.425e-05/0.4301, allocations: 7.938 kB / 0.8036 GB, free: 8.262 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003443/0.4335, allocations: 3.95 MB / 0.8074 GB, free: 3.992 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.561e-06/0.4335, allocations: 4.031 kB / 0.8075 GB, free: 3.988 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001005/0.4345, allocations: 0.6338 MB / 0.8081 GB, free: 3.305 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001856/0.4347, allocations: 124.8 kB / 0.8082 GB, free: 3.164 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.492e-05/0.4348, allocations: 8 kB / 0.8082 GB, free: 3.156 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002295/0.435, allocations: 15.98 kB / 0.8082 GB, free: 3.141 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.956e-05/0.4351, allocations: 35.81 kB / 0.8082 GB, free: 3.105 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.909e-05/0.4351, allocations: 8 kB / 0.8083 GB, free: 3.098 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0001994/0.4353, allocations: 153.5 kB / 0.8084 GB, free: 2.949 MB / 0.6231 GB Notification: Performance of sort global known variables: time 2.9e-07/0.4353, allocations: 0 / 0.8084 GB, free: 2.949 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0006191/0.436, allocations: 95.92 kB / 0.8085 GB, free: 2.855 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.000351/0.4363, allocations: 145.8 kB / 0.8086 GB, free: 2.703 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.001163/0.4375, allocations: 0.5708 MB / 0.8092 GB, free: 2.109 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 4.668e-06/0.4375, allocations: 0.625 kB / 0.8092 GB, free: 2.109 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0006115/0.4381, allocations: 405.1 kB / 0.8096 GB, free: 1.688 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005564/0.4387, allocations: 39.98 kB / 0.8096 GB, free: 1.648 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001379/0.4401, allocations: 0.7578 MB / 0.8104 GB, free: 0.8359 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005488/0.4406, allocations: 0.7831 MB / 0.8111 GB, free: 24 kB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.555e-05/0.4407, allocations: 27.42 kB / 0.8111 GB, free: 15.99 MB / 0.6387 GB Notification: Performance of SimCode: time 4.21e-07/0.4408, allocations: 0 / 0.8111 GB, free: 15.99 MB / 0.6387 GB Notification: Performance of Templates: time 0.01229/0.4531, allocations: 7.607 MB / 0.8186 GB, free: 8.387 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