Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.DC.Lines.Examples.DCLine.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.DC.Lines.Examples.DCLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.DC.Lines.Examples.DCLine") translateModel(Buildings.Electrical.DC.Lines.Examples.DCLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.DC.Lines.Examples.DCLine") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001054/0.001054, allocations: 91.92 kB / 16.02 MB, free: 80 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.001369/0.001369, allocations: 180.2 kB / 16.92 MB, free: 6.652 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.964/1.964, allocations: 205.4 MB / 223.1 MB, free: 5.496 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.879/1.879, allocations: 292.7 MB / 0.5509 GB, free: 14.48 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.0007627/0.0007628, allocations: 13.09 kB / 0.675 GB, free: 25.84 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3387/0.3395, allocations: 116.3 MB / 0.7885 GB, free: 11.61 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.DCLine): time 0.007055/0.3466, allocations: 5.823 MB / 0.7942 GB, free: 5.758 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.006939/0.3536, allocations: 4.5 MB / 0.7986 GB, free: 1.242 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005458/0.3542, allocations: 19.88 kB / 0.7986 GB, free: 1.223 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0005368/0.3547, allocations: 150.9 kB / 0.7988 GB, free: 1.074 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.001869/0.3566, allocations: 0.7138 MB / 0.7995 GB, free: 372 kB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007675/0.3574, allocations: 287.6 kB / 0.7998 GB, free: 84 kB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.001671/0.359, allocations: 1.433 MB / 0.8011 GB, free: 14.64 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000731/0.3598, allocations: 0.5419 MB / 0.8017 GB, free: 14.08 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005342/0.3603, allocations: 398.3 kB / 0.8021 GB, free: 13.69 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006675/0.361, allocations: 478 kB / 0.8025 GB, free: 13.22 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 6.977e-05/0.3611, allocations: 32 kB / 0.8025 GB, free: 13.19 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005836/0.3617, allocations: 303.4 kB / 0.8028 GB, free: 12.89 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0002334/0.3619, allocations: 211.3 kB / 0.803 GB, free: 12.68 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0003816/0.3623, allocations: 383.7 kB / 0.8034 GB, free: 12.3 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.0008416/0.3632, allocations: 0.8297 MB / 0.8042 GB, free: 11.47 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.3632, allocations: 4 kB / 0.8042 GB, free: 11.46 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.613e-06/0.3632, allocations: 0 / 0.8042 GB, free: 11.46 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 9.969e-06/0.3632, allocations: 4 kB / 0.8042 GB, free: 11.46 MB / 0.6231 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 142 * Number of variables: 142 Notification: Performance of Generate backend data structure: time 0.00171/0.3649, allocations: 0.9584 MB / 0.8052 GB, free: 10.45 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.269e-05/0.365, allocations: 8.031 kB / 0.8052 GB, free: 10.45 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003302/0.3683, allocations: 0.6553 MB / 0.8058 GB, free: 9.789 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007931/0.3691, allocations: 0.5462 MB / 0.8063 GB, free: 9.199 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.979e-05/0.3692, allocations: 37.69 kB / 0.8064 GB, free: 9.16 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.655e-05/0.3693, allocations: 60.11 kB / 0.8064 GB, free: 9.102 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002204/0.3715, allocations: 1.018 MB / 0.8074 GB, free: 8.043 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.983e-05/0.3715, allocations: 0 / 0.8074 GB, free: 8.043 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001945/0.3717, allocations: 24 kB / 0.8074 GB, free: 8.02 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.115e-05/0.3718, allocations: 45.28 kB / 0.8075 GB, free: 7.977 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002515/0.3743, allocations: 1.02 MB / 0.8085 GB, free: 6.957 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00482/0.3791, allocations: 3.533 MB / 0.8119 GB, free: 3.113 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001555/0.3807, allocations: 0.5203 MB / 0.8124 GB, free: 2.586 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005908/0.3813, allocations: 244.7 kB / 0.8127 GB, free: 2.344 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 3.452e-05/0.3814, allocations: 4 kB / 0.8127 GB, free: 2.34 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.732e-05/0.3814, allocations: 38.48 kB / 0.8127 GB, free: 2.293 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=31): time 3.105e-06/0.3814, allocations: 4 kB / 0.8127 GB, free: 2.289 MB / 0.6231 GB Notification: Performance of matching and sorting (n=43): time 0.00718/0.3886, allocations: 2.229 MB / 0.8149 GB, free: 16 kB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.461e-05/0.3887, allocations: 55.41 kB / 0.815 GB, free: 15.95 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007262/0.3894, allocations: 0.5704 MB / 0.8155 GB, free: 15.37 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 4.387e-05/0.3895, allocations: 29.7 kB / 0.8155 GB, free: 15.34 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.000276/0.3898, allocations: 360.2 kB / 0.8159 GB, free: 14.98 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001262/0.3899, allocations: 149.8 kB / 0.816 GB, free: 14.83 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.123e-05/0.39, allocations: 41.69 kB / 0.8161 GB, free: 14.79 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001674/0.3901, allocations: 378.7 kB / 0.8164 GB, free: 14.41 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000705/0.3909, allocations: 272.9 kB / 0.8167 GB, free: 14.14 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007818/0.3917, allocations: 381.8 kB / 0.817 GB, free: 13.73 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001501/0.3932, allocations: 0.6732 MB / 0.8177 GB, free: 13.01 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.3932, allocations: 4 kB / 0.8177 GB, free: 13.01 MB / 0.6387 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.002513/0.3957, allocations: 0.9856 MB / 0.8187 GB, free: 12 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 0.000131/0.3958, allocations: 176.5 kB / 0.8188 GB, free: 11.78 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.959e-06/0.3959, allocations: 8 kB / 0.8188 GB, free: 11.77 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001135/0.397, allocations: 272.9 kB / 0.8191 GB, free: 11.48 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006094/0.3976, allocations: 131.7 kB / 0.8192 GB, free: 11.36 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007458/0.4051, allocations: 8.474 MB / 0.8275 GB, free: 2.09 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007401/0.4059, allocations: 55.89 kB / 0.8276 GB, free: 2.035 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.26e-05/0.4059, allocations: 19.98 kB / 0.8276 GB, free: 2.016 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.03e-05/0.4059, allocations: 4 kB / 0.8276 GB, free: 2.012 MB / 0.6387 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00253/0.4085, allocations: 1.093 MB / 0.8287 GB, free: 0.8438 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.009e-06/0.4085, allocations: 0 / 0.8287 GB, free: 0.8438 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007774/0.4093, allocations: 221.2 kB / 0.8289 GB, free: 0.6094 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006118/0.4099, allocations: 135.8 kB / 0.829 GB, free: 488 kB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006594/0.4165, allocations: 8.169 MB / 0.837 GB, free: 7.508 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007205/0.4173, allocations: 56.02 kB / 0.837 GB, free: 7.453 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.894e-05/0.4173, allocations: 23.98 kB / 0.837 GB, free: 7.43 MB / 0.6544 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 (47): * Single equations (assignments): 41 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,2,100.0%), (1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(1,2), (1,2), (1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.000488/0.4178, allocations: 316.9 kB / 0.8373 GB, free: 7.109 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001167/0.4179, allocations: 63.25 kB / 0.8374 GB, free: 7.047 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001748/0.4181, allocations: 82.38 kB / 0.8375 GB, free: 6.961 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.887e-06/0.4181, allocations: 4 kB / 0.8375 GB, free: 6.957 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.175e-05/0.4181, allocations: 4 kB / 0.8375 GB, free: 6.953 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.161e-06/0.4181, allocations: 3.984 kB / 0.8375 GB, free: 6.949 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008336/0.419, allocations: 0.6455 MB / 0.8381 GB, free: 6.254 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.915e-06/0.419, allocations: 4 kB / 0.8381 GB, free: 6.25 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004892/0.4195, allocations: 95.86 kB / 0.8382 GB, free: 6.156 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009768/0.4205, allocations: 265 kB / 0.8385 GB, free: 5.879 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.475e-05/0.4205, allocations: 12 kB / 0.8385 GB, free: 5.867 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00724/0.4278, allocations: 8.424 MB / 0.8467 GB, free: 12.64 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.804e-06/0.4278, allocations: 0 / 0.8467 GB, free: 12.64 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00254/0.4303, allocations: 0.9639 MB / 0.8477 GB, free: 11.64 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002725/0.4306, allocations: 188.2 kB / 0.8478 GB, free: 11.44 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.165e-05/0.4307, allocations: 11.94 kB / 0.8478 GB, free: 11.43 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004958/0.4312, allocations: 51.95 kB / 0.8479 GB, free: 11.38 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001292/0.4314, allocations: 43.88 kB / 0.8479 GB, free: 11.34 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.09e-05/0.4314, allocations: 8 kB / 0.8479 GB, free: 11.33 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0005137/0.4319, allocations: 403.1 kB / 0.8483 GB, free: 10.94 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.3e-07/0.4319, allocations: 0 / 0.8483 GB, free: 10.94 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.001144/0.4331, allocations: 300 kB / 0.8486 GB, free: 10.65 MB / 0.67 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 (31): * 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: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,2,100.0%), (1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(1,2), (1,2), (1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001784/0.4333, allocations: 119.2 kB / 0.8487 GB, free: 10.52 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.003952/0.4372, allocations: 2.41 MB / 0.8511 GB, free: 7.957 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 3.566e-06/0.4372, allocations: 0 / 0.8511 GB, free: 7.957 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.001449/0.4387, allocations: 1.027 MB / 0.8521 GB, free: 6.852 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001067/0.4398, allocations: 213.7 kB / 0.8523 GB, free: 6.641 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002701/0.4425, allocations: 1.668 MB / 0.8539 GB, free: 4.938 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006458/0.4431, allocations: 0.9821 MB / 0.8549 GB, free: 3.93 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001724/0.4433, allocations: 47.42 kB / 0.8549 GB, free: 3.887 MB / 0.67 GB Notification: Performance of SimCode: time 2.144e-06/0.4433, allocations: 0 / 0.8549 GB, free: 3.887 MB / 0.67 GB Notification: Performance of Templates: time 0.03226/0.4756, allocations: 26.91 MB / 0.8812 GB, free: 9.016 MB / 0.7012 GB make -j1 -f Buildings_8_Buildings.Electrical.DC.Lines.Examples.DCLine.makefile make -j1 -f Buildings_8_Buildings.Electrical.DC.Lines.Examples.DCLine.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.DC.Lines.Examples.DCLineCalcHelperMain.o OMCppBuildings_8_Buildings.Electrical.DC.Lines.Examples.DCLineCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_8_Buildings.Electrical.DC.Lines.Examples.DCLineCalcHelperMain.o] Error 1