Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter.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.AC.OnePhase.Conversion.Examples.ACDCConverter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|load.S.1.|res.S.1.|sou.S.1.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter") translateModel(Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|load.S.1.|res.S.1.|sou.S.1.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008892/0.0008893, allocations: 102.7 kB / 15.71 MB, free: 460 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.001116/0.001117, allocations: 173.8 kB / 16.58 MB, free: 6.402 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.561/1.561, allocations: 223.3 MB / 240.6 MB, free: 5.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.861/2.861, allocations: 436.7 MB / 0.7113 GB, free: 7.812 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003817/0.0003819, allocations: 8 kB / 0.8717 GB, free: 4.773 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8151/0.8155, allocations: 153.6 MB / 1.022 GB, free: 1.145 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter): time 0.00338/0.819, allocations: 2.926 MB / 1.025 GB, free: 14.21 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.002688/0.8217, allocations: 2.012 MB / 1.027 GB, free: 12.18 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001216/0.8218, allocations: 0 / 1.027 GB, free: 12.18 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0001651/0.822, allocations: 43.64 kB / 1.027 GB, free: 12.14 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0004215/0.8224, allocations: 171.2 kB / 1.027 GB, free: 11.97 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005503/0.823, allocations: 215.5 kB / 1.027 GB, free: 11.76 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0004124/0.8234, allocations: 442.6 kB / 1.027 GB, free: 11.33 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004675/0.8239, allocations: 331.3 kB / 1.028 GB, free: 10.98 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001742/0.8241, allocations: 123.5 kB / 1.028 GB, free: 10.86 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002685/0.8244, allocations: 163.5 kB / 1.028 GB, free: 10.7 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 2.869e-05/0.8244, allocations: 12 kB / 1.028 GB, free: 10.68 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004131/0.8248, allocations: 271.5 kB / 1.028 GB, free: 10.42 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 9.122e-05/0.8249, allocations: 91.7 kB / 1.028 GB, free: 10.33 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 5.977e-05/0.825, allocations: 73.58 kB / 1.028 GB, free: 10.25 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0003793/0.8254, allocations: 379.1 kB / 1.029 GB, free: 9.879 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 5.621e-06/0.8254, allocations: 0 / 1.029 GB, free: 9.879 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.282e-06/0.8254, allocations: 3.938 kB / 1.029 GB, free: 9.875 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 5.03e-06/0.8254, allocations: 0 / 1.029 GB, free: 9.875 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: 63 * Number of variables: 63 Notification: Performance of Generate backend data structure: time 0.0007848/0.8262, allocations: 0.569 MB / 1.029 GB, free: 9.258 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.22e-05/0.8262, allocations: 11.98 kB / 1.029 GB, free: 9.246 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007919/0.827, allocations: 119.5 kB / 1.029 GB, free: 9.129 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003069/0.8273, allocations: 266.5 kB / 1.03 GB, free: 8.828 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.032e-05/0.8274, allocations: 20.39 kB / 1.03 GB, free: 8.809 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.728e-05/0.8274, allocations: 19.98 kB / 1.03 GB, free: 8.789 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006262/0.8281, allocations: 423.5 kB / 1.03 GB, free: 8.344 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.252e-05/0.8281, allocations: 7.922 kB / 1.03 GB, free: 8.336 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.782e-05/0.8281, allocations: 8 kB / 1.03 GB, free: 8.328 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.864e-05/0.8282, allocations: 32.55 kB / 1.03 GB, free: 8.297 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005814/0.8288, allocations: 354 kB / 1.031 GB, free: 7.953 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00218/0.8309, allocations: 2.058 MB / 1.033 GB, free: 5.703 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007331/0.8317, allocations: 360.4 kB / 1.033 GB, free: 5.336 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003693/0.8321, allocations: 198 kB / 1.033 GB, free: 5.137 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 9.729e-05/0.8322, allocations: 89.28 kB / 1.033 GB, free: 5.031 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.498e-05/0.8322, allocations: 38.75 kB / 1.033 GB, free: 4.984 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=22): time 1.863e-06/0.8322, allocations: 0 / 1.033 GB, free: 4.984 MB / 0.7794 GB Notification: Performance of matching and sorting (n=34): time 0.004669/0.8369, allocations: 1.753 MB / 1.035 GB, free: 3.199 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.707e-05/0.837, allocations: 85.11 kB / 1.035 GB, free: 3.098 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002208/0.8372, allocations: 233 kB / 1.035 GB, free: 2.859 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.793e-05/0.8372, allocations: 33.64 kB / 1.035 GB, free: 2.82 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001055/0.8373, allocations: 192 kB / 1.035 GB, free: 2.629 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 8.212e-05/0.8374, allocations: 114.3 kB / 1.036 GB, free: 2.516 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.531e-05/0.8375, allocations: 12 kB / 1.036 GB, free: 2.504 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001324/0.8376, allocations: 330.8 kB / 1.036 GB, free: 2.172 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000365/0.838, allocations: 200.8 kB / 1.036 GB, free: 1.977 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004224/0.8384, allocations: 317.1 kB / 1.036 GB, free: 1.617 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004104/0.8388, allocations: 239.9 kB / 1.037 GB, free: 1.383 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.477e-06/0.8388, allocations: 3.953 kB / 1.037 GB, free: 1.379 MB / 0.7794 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.001178/0.84, allocations: 0.677 MB / 1.037 GB, free: 0.6836 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001088/0.8401, allocations: 192.1 kB / 1.037 GB, free: 460 kB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.115e-06/0.8401, allocations: 0 / 1.037 GB, free: 460 kB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004867/0.8406, allocations: 147.3 kB / 1.038 GB, free: 300 kB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003923/0.841, allocations: 99.81 kB / 1.038 GB, free: 200 kB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002629/0.8437, allocations: 3.946 MB / 1.042 GB, free: 11.93 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002989/0.844, allocations: 39.95 kB / 1.042 GB, free: 11.89 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.07e-05/0.844, allocations: 19.94 kB / 1.042 GB, free: 11.88 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 6.933e-06/0.844, allocations: 4 kB / 1.042 GB, free: 11.87 MB / 0.795 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001139/0.8452, allocations: 0.6199 MB / 1.042 GB, free: 11.24 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.877e-06/0.8452, allocations: 0 / 1.042 GB, free: 11.24 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003631/0.8456, allocations: 151.4 kB / 1.042 GB, free: 11.08 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003707/0.846, allocations: 99.88 kB / 1.042 GB, free: 10.98 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005577/0.8465, allocations: 1.109 MB / 1.044 GB, free: 9.82 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002688/0.8468, allocations: 35.97 kB / 1.044 GB, free: 9.785 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.749e-05/0.8468, allocations: 20 kB / 1.044 GB, free: 9.766 MB / 0.795 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (45): * Single equations (assignments): 41 * 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.0002266/0.8471, allocations: 252.9 kB / 1.044 GB, free: 9.508 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.404e-05/0.8472, allocations: 31.81 kB / 1.044 GB, free: 9.477 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001173/0.8483, allocations: 0.6248 MB / 1.044 GB, free: 8.836 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.272e-06/0.8484, allocations: 8 kB / 1.044 GB, free: 8.828 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.925e-06/0.8484, allocations: 0 / 1.044 GB, free: 8.828 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.977e-06/0.8484, allocations: 4 kB / 1.044 GB, free: 8.824 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002032/0.8504, allocations: 1.349 MB / 1.046 GB, free: 7.363 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.382e-06/0.8504, allocations: 7.984 kB / 1.046 GB, free: 7.355 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002472/0.8507, allocations: 63.89 kB / 1.046 GB, free: 7.293 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004482/0.8511, allocations: 155.6 kB / 1.046 GB, free: 7.129 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.998e-05/0.8512, allocations: 8 kB / 1.046 GB, free: 7.121 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002599/0.8538, allocations: 3.961 MB / 1.05 GB, free: 2.84 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.435e-06/0.8538, allocations: 4.062 kB / 1.05 GB, free: 2.836 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001162/0.855, allocations: 0.7849 MB / 1.051 GB, free: 1.996 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000147/0.8551, allocations: 144.7 kB / 1.051 GB, free: 1.836 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.108e-05/0.8552, allocations: 8 kB / 1.051 GB, free: 1.828 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000289/0.8555, allocations: 43.92 kB / 1.051 GB, free: 1.785 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.452e-05/0.8556, allocations: 35.89 kB / 1.051 GB, free: 1.75 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.49e-05/0.8556, allocations: 12 kB / 1.051 GB, free: 1.738 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.0001493/0.8558, allocations: 172.4 kB / 1.051 GB, free: 1.57 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.41e-07/0.8558, allocations: 0 / 1.051 GB, free: 1.57 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0007443/0.8565, allocations: 160 kB / 1.051 GB, free: 1.414 MB / 0.795 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 (31): * Single equations (assignments): 27 * 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 2,1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002108/0.8567, allocations: 143.2 kB / 1.051 GB, free: 1.266 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.001839/0.8586, allocations: 1.193 MB / 1.052 GB, free: 4 kB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 3.075e-06/0.8586, allocations: 0 / 1.052 GB, free: 4 kB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0007232/0.8593, allocations: 494.1 kB / 1.053 GB, free: 15.49 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005593/0.8599, allocations: 66.67 kB / 1.053 GB, free: 15.43 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00122/0.8611, allocations: 0.9056 MB / 1.054 GB, free: 14.46 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000344/0.8615, allocations: 0.8045 MB / 1.055 GB, free: 13.63 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.347e-05/0.8616, allocations: 31.44 kB / 1.055 GB, free: 13.6 MB / 0.8106 GB Notification: Performance of SimCode: time 2.31e-07/0.8616, allocations: 0 / 1.055 GB, free: 13.6 MB / 0.8106 GB Notification: Performance of Templates: time 0.01078/0.8724, allocations: 8.966 MB / 1.063 GB, free: 4.637 MB / 0.8106 GB make -j1 -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter.makefile make -j1 -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter.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.AC.OnePhase.Conversion.Examples.ACDCConverterCalcHelperMain.o OMCppBuildings_latest_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverterCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_latest_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverterCalcHelperMain.o] Error 1