Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.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.Sources.Examples.FixedVoltageSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource") translateModel(Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001266/0.001266, 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.001363/0.001364, allocations: 194.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 2.026/2.026, allocations: 205.1 MB / 222.6 MB, free: 4.785 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.827/1.827, allocations: 292.3 MB / 0.5491 GB, free: 13.64 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.00157/0.00157, allocations: 61.88 kB / 0.6715 GB, free: 26.52 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.36/0.3616, allocations: 114.5 MB / 0.7833 GB, free: 13.98 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource): time 0.004993/0.3666, allocations: 2.489 MB / 0.7858 GB, free: 11.48 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.002908/0.3696, allocations: 1.477 MB / 0.7872 GB, free: 9.988 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001314/0.3697, allocations: 4 kB / 0.7872 GB, free: 9.984 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0008328/0.3706, allocations: 154.8 kB / 0.7874 GB, free: 9.836 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.000373/0.3709, allocations: 123.5 kB / 0.7875 GB, free: 9.715 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004822/0.3714, allocations: 167.6 kB / 0.7876 GB, free: 9.551 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0004108/0.3719, allocations: 319.1 kB / 0.7879 GB, free: 9.238 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003776/0.3722, allocations: 117.3 kB / 0.7881 GB, free: 9.125 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001776/0.3724, allocations: 75.7 kB / 0.7881 GB, free: 9.051 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000282/0.3727, allocations: 107.6 kB / 0.7882 GB, free: 8.945 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 3e-05/0.3728, allocations: 8 kB / 0.7882 GB, free: 8.938 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003878/0.3732, allocations: 219.6 kB / 0.7884 GB, free: 8.723 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 9.634e-05/0.3733, allocations: 63.88 kB / 0.7885 GB, free: 8.66 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001146/0.3734, allocations: 79.47 kB / 0.7886 GB, free: 8.582 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0003293/0.3737, allocations: 219.5 kB / 0.7888 GB, free: 8.367 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.952e-06/0.3737, allocations: 4 kB / 0.7888 GB, free: 8.363 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.713e-06/0.3737, allocations: 0 / 0.7888 GB, free: 8.363 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 7.514e-06/0.3738, allocations: 0 / 0.7888 GB, free: 8.363 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: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.0009062/0.3747, allocations: 471.2 kB / 0.7892 GB, free: 7.855 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 5.227e-05/0.3747, allocations: 12.03 kB / 0.7893 GB, free: 7.844 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005715/0.3753, allocations: 64.67 kB / 0.7893 GB, free: 7.781 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003225/0.3756, allocations: 226.8 kB / 0.7895 GB, free: 7.523 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.042e-05/0.3757, allocations: 16.58 kB / 0.7895 GB, free: 7.508 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.088e-05/0.3757, allocations: 12.38 kB / 0.7896 GB, free: 7.496 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004938/0.3762, allocations: 283.6 kB / 0.7898 GB, free: 7.188 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.635e-05/0.3763, allocations: 0 / 0.7898 GB, free: 7.188 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.281e-05/0.3763, allocations: 11.98 kB / 0.7898 GB, free: 7.176 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.398e-05/0.3763, allocations: 24.16 kB / 0.7899 GB, free: 7.148 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003523/0.3767, allocations: 209.6 kB / 0.7901 GB, free: 6.945 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002032/0.3787, allocations: 1.572 MB / 0.7916 GB, free: 5.238 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004669/0.3792, allocations: 319.3 kB / 0.7919 GB, free: 4.871 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001089/0.3793, allocations: 61.67 kB / 0.792 GB, free: 4.805 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.134e-05/0.3794, allocations: 4.141 kB / 0.792 GB, free: 4.801 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.445e-05/0.3794, allocations: 46.48 kB / 0.792 GB, free: 4.746 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=9): time 1.453e-06/0.3794, allocations: 0 / 0.792 GB, free: 4.746 MB / 0.6075 GB Notification: Performance of matching and sorting (n=10): time 0.0006826/0.3801, allocations: 240.6 kB / 0.7922 GB, free: 4.504 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.661e-05/0.3802, allocations: 77.11 kB / 0.7923 GB, free: 4.41 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002151/0.3804, allocations: 204.5 kB / 0.7925 GB, free: 4.203 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 3.401e-05/0.3805, allocations: 29.7 kB / 0.7925 GB, free: 4.168 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001084/0.3806, allocations: 147.7 kB / 0.7927 GB, free: 4.02 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 4.069e-05/0.3806, allocations: 47.38 kB / 0.7927 GB, free: 3.973 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001015/0.3807, allocations: 49.89 kB / 0.7928 GB, free: 3.918 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001641/0.3809, allocations: 322.8 kB / 0.7931 GB, free: 3.594 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001192/0.381, allocations: 72.81 kB / 0.7931 GB, free: 3.52 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001645/0.3812, allocations: 165.8 kB / 0.7933 GB, free: 3.32 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002978/0.3815, allocations: 234.9 kB / 0.7935 GB, free: 3.051 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.473e-06/0.3815, allocations: 0 / 0.7935 GB, free: 3.051 MB / 0.6075 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0004814/0.382, allocations: 265.1 kB / 0.7938 GB, free: 2.785 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.274e-05/0.382, allocations: 8 kB / 0.7938 GB, free: 2.777 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.644e-06/0.3821, allocations: 0 / 0.7938 GB, free: 2.777 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.245e-05/0.3821, allocations: 7.938 kB / 0.7938 GB, free: 2.77 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002266/0.3823, allocations: 51.91 kB / 0.7938 GB, free: 2.719 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.126e-05/0.3823, allocations: 4.375 kB / 0.7939 GB, free: 2.715 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001486/0.3825, allocations: 19.98 kB / 0.7939 GB, free: 2.695 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.894e-05/0.3825, allocations: 8 kB / 0.7939 GB, free: 2.688 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001828/0.3827, allocations: 164.1 kB / 0.794 GB, free: 2.523 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001614/0.3829, allocations: 147.9 kB / 0.7942 GB, free: 2.336 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000263/0.3832, allocations: 215.7 kB / 0.7944 GB, free: 2.082 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.432e-06/0.3832, allocations: 0 / 0.7944 GB, free: 2.082 MB / 0.6075 GB Notification: Performance of matching and sorting (n=25) (initialization_lambda0): time 0.0003822/0.3836, allocations: 237.2 kB / 0.7946 GB, free: 1.844 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.249e-05/0.3836, allocations: 10.81 kB / 0.7946 GB, free: 1.836 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.294e-06/0.3836, allocations: 0 / 0.7946 GB, free: 1.836 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.681e-05/0.3836, allocations: 11.98 kB / 0.7946 GB, free: 1.824 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001627/0.3838, allocations: 51.98 kB / 0.7947 GB, free: 1.773 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.291e-05/0.3838, allocations: 16.27 kB / 0.7947 GB, free: 1.758 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001178/0.3839, allocations: 12 kB / 0.7947 GB, free: 1.746 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.651e-05/0.3839, allocations: 12 kB / 0.7947 GB, free: 1.734 MB / 0.6075 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 (25): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001531/0.3841, allocations: 196.1 kB / 0.7949 GB, free: 1.535 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.829e-05/0.3842, allocations: 15.8 kB / 0.7949 GB, free: 1.52 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003647/0.3845, allocations: 139 kB / 0.7951 GB, free: 1.371 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.162e-05/0.3846, allocations: 7.938 kB / 0.7951 GB, free: 1.363 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.424e-06/0.3846, allocations: 3.938 kB / 0.7951 GB, free: 1.359 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.378e-06/0.3846, allocations: 0 / 0.7951 GB, free: 1.359 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001223/0.3858, allocations: 0.7276 MB / 0.7958 GB, free: 0.5469 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.391e-06/0.3858, allocations: 8.031 kB / 0.7958 GB, free: 0.5391 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001019/0.3859, allocations: 19.98 kB / 0.7958 GB, free: 0.5195 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.039e-06/0.386, allocations: 4 kB / 0.7958 GB, free: 0.5156 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.436e-05/0.386, allocations: 4 kB / 0.7958 GB, free: 0.5117 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.841e-06/0.386, allocations: 7.938 kB / 0.7958 GB, free: 0.5039 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.488e-06/0.386, allocations: 4 kB / 0.7958 GB, free: 0.5 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003942/0.3864, allocations: 374.5 kB / 0.7962 GB, free: 92 kB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001216/0.3865, allocations: 108.9 kB / 0.7963 GB, free: 15.96 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.408e-05/0.3866, allocations: 4 kB / 0.7963 GB, free: 15.96 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001718/0.3867, allocations: 7.984 kB / 0.7963 GB, free: 15.95 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.416e-05/0.3868, allocations: 15.94 kB / 0.7963 GB, free: 15.94 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.091e-05/0.3868, allocations: 7.984 kB / 0.7963 GB, free: 15.93 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0001556/0.387, allocations: 152.8 kB / 0.7965 GB, free: 15.78 MB / 0.6231 GB Notification: Performance of sort global known variables: time 3.296e-06/0.387, allocations: 3.938 kB / 0.7965 GB, free: 15.78 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0005226/0.3875, allocations: 75.94 kB / 0.7965 GB, free: 15.7 MB / 0.6231 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (11): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000226/0.3877, allocations: 103.2 kB / 0.7966 GB, free: 15.59 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0006186/0.3884, allocations: 269.1 kB / 0.7969 GB, free: 15.33 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 7.855e-06/0.3884, allocations: 8.062 kB / 0.7969 GB, free: 15.32 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 8.326e-05/0.3885, allocations: 55.84 kB / 0.797 GB, free: 15.27 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005172/0.389, allocations: 27.98 kB / 0.797 GB, free: 15.24 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000876/0.3899, allocations: 0.5049 MB / 0.7975 GB, free: 14.68 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004403/0.3903, allocations: 0.7401 MB / 0.7982 GB, free: 13.91 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.927e-05/0.3904, allocations: 23.42 kB / 0.7982 GB, free: 13.89 MB / 0.6231 GB Notification: Performance of SimCode: time 2.1e-07/0.3904, allocations: 7.938 kB / 0.7982 GB, free: 13.88 MB / 0.6231 GB Notification: Performance of Templates: time 0.00535/0.3958, allocations: 2.208 MB / 0.8004 GB, free: 11.68 MB / 0.6231 GB make -j1 -f Buildings_8_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.makefile make -j1 -f Buildings_8_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.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.Sources.Examples.FixedVoltageSourceCalcHelperMain.o OMCppBuildings_8_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSourceCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_8_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSourceCalcHelperMain.o] Error 1