Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Electrical.DC.Sources.Examples.VoltageSource.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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/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.DC.Sources.Examples.VoltageSource,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sen.V|sen.I",fileNamePrefix="Buildings_9_Buildings.Electrical.DC.Sources.Examples.VoltageSource") translateModel(Buildings.Electrical.DC.Sources.Examples.VoltageSource,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sen.V|sen.I",fileNamePrefix="Buildings_9_Buildings.Electrical.DC.Sources.Examples.VoltageSource") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008097/0.0008097, allocations: 102.6 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.0009004/0.0009005, allocations: 172.8 kB / 16.58 MB, free: 6.398 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.431/1.431, 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 9.1.2-maint.9.1.x/package.mo): time 2.501/2.501, allocations: 390.4 MB / 0.6662 GB, free: 2.84 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003369/0.0003369, allocations: 8 kB / 0.8154 GB, free: 14.14 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8565/0.8569, allocations: 142.3 MB / 0.9544 GB, free: 8.074 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Sources.Examples.VoltageSource): time 0.003713/0.8606, allocations: 2.788 MB / 0.9571 GB, free: 5.934 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.002012/0.8627, allocations: 1.27 MB / 0.9584 GB, free: 4.938 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001531/0.8628, allocations: 3.281 kB / 0.9584 GB, free: 4.938 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0002127/0.8631, allocations: 45.52 kB / 0.9584 GB, free: 4.898 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0003514/0.8634, allocations: 115.6 kB / 0.9585 GB, free: 4.809 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003221/0.8638, allocations: 110.9 kB / 0.9586 GB, free: 4.73 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0003961/0.8642, allocations: 377.3 kB / 0.959 GB, free: 4.512 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003492/0.8645, allocations: 218.3 kB / 0.9592 GB, free: 4.34 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001889/0.8647, allocations: 112.6 kB / 0.9593 GB, free: 4.281 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002946/0.865, allocations: 140.1 kB / 0.9594 GB, free: 4.203 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 3.503e-05/0.8651, allocations: 10.06 kB / 0.9595 GB, free: 4.203 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002091/0.8653, allocations: 86.78 kB / 0.9595 GB, free: 4.164 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 9.047e-05/0.8654, allocations: 77.48 kB / 0.9596 GB, free: 4.113 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 6.05e-05/0.8655, allocations: 71.89 kB / 0.9597 GB, free: 4.059 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0003024/0.8658, allocations: 255.2 kB / 0.9599 GB, free: 3.898 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 6.152e-06/0.8658, allocations: 0.6875 kB / 0.9599 GB, free: 3.898 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.044e-06/0.8658, allocations: 0 / 0.9599 GB, free: 3.898 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.232e-06/0.8658, allocations: 0.875 kB / 0.9599 GB, free: 3.898 MB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 53 * Number of variables: 53 Notification: Performance of Generate backend data structure: time 0.0007472/0.8666, allocations: 0.5061 MB / 0.9604 GB, free: 3.422 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.948e-05/0.8666, allocations: 12.25 kB / 0.9604 GB, free: 3.418 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005561/0.8672, allocations: 82.39 kB / 0.9605 GB, free: 3.383 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002615/0.8674, allocations: 242.2 kB / 0.9607 GB, free: 3.137 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.102e-05/0.8675, allocations: 16.67 kB / 0.9608 GB, free: 3.129 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.672e-05/0.8675, allocations: 24.36 kB / 0.9608 GB, free: 3.117 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005275/0.868, allocations: 306.6 kB / 0.9611 GB, free: 2.91 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.23e-05/0.8681, allocations: 3.938 kB / 0.9611 GB, free: 2.906 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.833e-05/0.8681, allocations: 10.7 kB / 0.9611 GB, free: 2.898 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.01e-05/0.8682, allocations: 22.17 kB / 0.9611 GB, free: 2.891 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003937/0.8686, allocations: 216.8 kB / 0.9613 GB, free: 2.789 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001393/0.87, allocations: 1.501 MB / 0.9628 GB, free: 1.316 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004045/0.8704, allocations: 200.2 kB / 0.963 GB, free: 1.156 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000107/0.8705, allocations: 55.27 kB / 0.963 GB, free: 1.121 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.243e-05/0.8705, allocations: 5.109 kB / 0.963 GB, free: 1.117 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.557e-05/0.8706, allocations: 44.45 kB / 0.9631 GB, free: 1.066 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=8): time 1.262e-06/0.8706, allocations: 0 / 0.9631 GB, free: 1.066 MB / 0.7169 GB Notification: Performance of matching and sorting (n=8): time 0.0005565/0.8711, allocations: 261.8 kB / 0.9633 GB, free: 0.8672 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.734e-05/0.8712, allocations: 56.59 kB / 0.9634 GB, free: 0.8008 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000193/0.8714, allocations: 203.7 kB / 0.9636 GB, free: 0.6406 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.465e-05/0.8714, allocations: 25.7 kB / 0.9636 GB, free: 0.6094 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 9.14e-05/0.8715, allocations: 185 kB / 0.9638 GB, free: 448 kB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.316e-05/0.8715, allocations: 28.45 kB / 0.9638 GB, free: 424 kB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.234e-06/0.8715, allocations: 0 / 0.9638 GB, free: 424 kB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.328e-05/0.8716, allocations: 331.1 kB / 0.9641 GB, free: 88 kB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001007/0.8717, allocations: 45.12 kB / 0.9642 GB, free: 68 kB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001727/0.8719, allocations: 108 kB / 0.9643 GB, free: 15.96 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001447/0.872, allocations: 69.34 kB / 0.9643 GB, free: 15.93 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.857e-06/0.872, allocations: 1 kB / 0.9643 GB, free: 15.93 MB / 0.7325 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0004522/0.8725, allocations: 222.3 kB / 0.9645 GB, free: 15.79 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.24e-05/0.8725, allocations: 6.406 kB / 0.9645 GB, free: 15.79 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.305e-06/0.8725, allocations: 2.375 kB / 0.9645 GB, free: 15.79 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001833/0.8727, allocations: 26.28 kB / 0.9646 GB, free: 15.78 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001543/0.8729, allocations: 38.23 kB / 0.9646 GB, free: 15.77 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001217/0.8741, allocations: 1.325 MB / 0.9659 GB, free: 14.41 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001414/0.8743, allocations: 19.61 kB / 0.9659 GB, free: 14.39 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.779e-05/0.8743, allocations: 9.938 kB / 0.9659 GB, free: 14.39 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (18): * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001618/0.8745, allocations: 141.1 kB / 0.9661 GB, free: 14.26 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.382e-05/0.8745, allocations: 15.34 kB / 0.9661 GB, free: 14.25 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.23e-05/0.8746, allocations: 22.52 kB / 0.9661 GB, free: 14.23 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.279e-06/0.8746, allocations: 5.188 kB / 0.9661 GB, free: 14.23 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.28e-06/0.8746, allocations: 8 kB / 0.9661 GB, free: 14.22 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.409e-06/0.8746, allocations: 1.562 kB / 0.9661 GB, free: 14.22 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007106/0.8753, allocations: 487.9 kB / 0.9666 GB, free: 13.79 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.997e-06/0.8753, allocations: 4.078 kB / 0.9666 GB, free: 13.79 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.892e-05/0.8754, allocations: 18 kB / 0.9666 GB, free: 13.78 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.348e-05/0.8755, allocations: 27.91 kB / 0.9666 GB, free: 13.76 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.463e-05/0.8755, allocations: 13.11 kB / 0.9666 GB, free: 13.75 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00104/0.8766, allocations: 1.322 MB / 0.9679 GB, free: 12.39 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/0.8766, allocations: 3.938 kB / 0.9679 GB, free: 12.38 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003183/0.8769, allocations: 238.3 kB / 0.9682 GB, free: 12.19 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 9.125e-05/0.877, allocations: 96.34 kB / 0.9683 GB, free: 12.09 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.433e-05/0.877, allocations: 11.98 kB / 0.9683 GB, free: 12.07 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001163/0.8772, allocations: 5.344 kB / 0.9683 GB, free: 12.07 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.64e-05/0.8772, allocations: 6.578 kB / 0.9683 GB, free: 12.07 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.602e-06/0.8772, allocations: 3.781 kB / 0.9683 GB, free: 12.07 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0001397/0.8774, allocations: 143.4 kB / 0.9684 GB, free: 11.96 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.4e-07/0.8774, allocations: 0 / 0.9684 GB, free: 11.96 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0003956/0.8778, allocations: 55.47 kB / 0.9685 GB, free: 11.95 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (7): * Single equations (assignments): 6 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001719/0.878, allocations: 108.4 kB / 0.9686 GB, free: 11.86 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0005365/0.8785, allocations: 235.4 kB / 0.9688 GB, free: 11.69 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/0.8785, allocations: 0.5625 kB / 0.9688 GB, free: 11.69 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.000264/0.8788, allocations: 163.1 kB / 0.969 GB, free: 11.55 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004269/0.8792, allocations: 37.45 kB / 0.969 GB, free: 11.53 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009423/0.8802, allocations: 0.509 MB / 0.9695 GB, free: 11.13 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004299/0.8806, allocations: 0.7513 MB / 0.9702 GB, free: 10.4 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.786e-05/0.8807, allocations: 23.97 kB / 0.9702 GB, free: 10.39 MB / 0.7325 GB Notification: Performance of SimCode: time 4.51e-07/0.8807, allocations: 0 / 0.9702 GB, free: 10.39 MB / 0.7325 GB Notification: Performance of Templates: time 0.006508/0.8872, allocations: 3.204 MB / 0.9734 GB, free: 8.738 MB / 0.7325 GB make -j1 -f Buildings_9_Buildings.Electrical.DC.Sources.Examples.VoltageSource.makefile make -j1 -f Buildings_9_Buildings.Electrical.DC.Sources.Examples.VoltageSource.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_9_Buildings.Electrical.DC.Sources.Examples.VoltageSourceCalcHelperMain.o OMCppBuildings_9_Buildings.Electrical.DC.Sources.Examples.VoltageSourceCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_9_Buildings.Electrical.DC.Sources.Examples.VoltageSourceCalcHelperMain.o] Error 1